Project Concept

This project will introduce you to the Edge MicroServer (EMS) and how to connect your ThingWorx server to a Raspberry Pi device.

Following the steps in this guide, you will be able to connect to the ThingWorx platform with your Raspberry Pi. The coding will be simple and steps will be very straight forward.

We will teach you how to utilize the EMS for your Edge device needs. The EMS comes with the Lua Script Resource, which serves as an optional process manager, enabling you to create Properties, Services, Events, and Subscriptions for a remote device on the ThingWorx platform.

Project Info

Type Quickstart
Level Beginner
Est. Time 30 Minutes
Published June 14, 2018
Author Al Smith

You'll learn how to

    • Set up Raspberry Pi
    • Install, configure and launch the EMS
    • Connect a remote device to ThingWorx
Register to Start Project

Things used in this project


This guide requires a connection to the ThingWorx Foundation.

It assumes that you are utilizing the 30-day hosted Foundation server or the 120-day downloaded trial.

In order to complete this exercise, you need the following:

Software components:
Previous knowledge:


  • Step 1: Setup Raspberry Pi
  • Step 2: Install the EMS
  • Step 3: Create Application Key
  • Step 4: Configure the EMS
  • Step 5: Launch the EMS
  • Step 6: Configure Lua Script Resource (LSR)
  • Step 7: Configure Template File (Properties)
  • Step 8: Configure Template File (Service)
  • Step 9: Run LSR
  • Step 10: Bind Remote Thing Properties
  • Step 11: View Data from Devices
  • Step 12: Connect to Temperature Sensor
  • Step 13: Next Steps