Welcome to ThingWorx Edge MicroServer (EMS) and Lua Script Resource (LSR) Help Center
Release Notes for ThingWorx EMS and LSR
ThingWorx EMS and LSR 5.5.0
What’s New in ThingWorx EMS and LSR 5.5.0 (C SDK 3.1.0)
Fixed Issues in ThingWorx EMS and LSR 5.5.0 (C SDK 3.1.0)
ThingWorx EMS and LSR 5.4.12
Fixed Issues in ThingWorx EMS and LSR 5.4.12 (C SDK 3.0.0)
ThingWorx EMS and LSR 5.4.11
What’s New in ThingWorx EMS and LSR 5.4.11 (C SDK 3.0.0)
Fixed Issues in ThingWorx EMS and LSR 5.4.11 (C SDK 3.0.0)
Release Notes for Previous Releases: ThingWorx Edge MicroServer (EMS) and Lua Script Resource (LSR)
System Requirements
ThingWorx Concepts
Remote Things
Getting to Know Infotables
Primitives and Infotables
File Transfers
ThingWorx Base Types
Tutorial for the Edge MicroServer
Connecting Your Devices to ThingWorx Platform
What is the ThingWorx AlwaysOn Protocol?
The Connection Process
Invoking Services
Property Subscriptions
Creating and Pushing Property Changes
How to
Create an Application Key for EMS
Configure Properties for Remote Things
Configure Services for Remote Things
How to Transfer Files Using the Copy Service
Use ThingWorx Asset Advisor with EMS and LSR
Features of ThingWorx Asset Advisor to Use with EMS and LSR
Prerequisites to Setting Up an EMS Thing for Asset Advisor
Administrator Tasks for Using Remote Access, File Transfers, and SCM in Asset Advisor
Setting Up an EMS or LSR Thing for the Remote Access and Control Application
Setting Up to Use ThingWorx Software Content Management (SCM) with EMS Devices
ThingWorx Edge MicroServer (EMS)
Features of the ThingWorx EMS
EMS and ThingWorx Platform
Components to Install
Downloading and Installing the ThingWorx EMS and LSR
ThingWorx EMS and LSR Distribution Contents
Libraries for EMS on Linux
Configuring the EMS
Configuring Secure Connections (SSL/TLS)
Using a Custom Certificate and Private Key
Setting Up Security for the EMS
Certificate Fingerprint Validation for EMS and LSR
Migrating from the EMS/LSR Built-in Certificates
Authenticating and Binding
Protecting Data with Encryption
Running the ThingWorx EMS
Verifying Your Connection
Additional Configuration of EMS
Viewing All Configuration Options
Configuring the Logger Group
Configuring the HTTP Server Group
Configuring the WebSocket Connection
Configuring Duty Cycle Modulation
Configuring a Proxy Server
Storing Messages Received While EMS Is Offline
Configuring Automatic Binding for EMS
Auto-bound Gateways
Configuring File Transfers
Best Practices for Transferring Large Files
Configuring Edge Settings for Tunneling
Configuring Tunneling on the ThingWorx Platform Side
Configuring the EMS to Listen on IP Other Than localhost
Example Configurations
Gateway Mode with Self-Identifying Remote Things Example
Gateway Mode with Explicitly-Defined Remote Things Example
Non-Gateway Mode with Self-Identifying Remote Things Example
REST Web Services for EMS
Updating, Deleting, and Executing with REST Web Services
Reading and Writing Properties Using the REST Web Services
Transferring Files through the REST Web Services
REST Web Services Supported by EMS
AddEdgeThing
GetConfiguration
GetEdgeThings
GetLogData
GetMicroserverVersion
HasEdgeThing
RemoveEdgeThing
ReplaceConfiguration
Restart
StartFileLogging
StopFileLogging
TestPort
UpdateConfiguration
Running REST API Calls with Postman on EMS and LSR
ThingWorx Lua Script Resource
Getting Started with the Lua Script Resource
Configuring a Lua Script Resource
Configuring the Connnection from the LSR to the EMS
Configuring the HTTP Server for the LSR (SSL/TLS Certificate)
Configuring the Logger for the LSR
Configuring Edge Things
Configuring the scanRateResolution
Configuring a Template for the Lua Script Resource
Including a Data Shape
Configuring the Module Statement
Configuring Data Shapes
Defining Properties
Defining Services
Implementing Services Using the Lua Script Engine
Configuring Tasks
Running the Lua Script Resource
Examples of Configuring Secure Communications between the EMS and an LSR
No Security — for Testing ONLY
Medium Security
High Security
Troubleshooting the EMS
Troubleshooting File Transfers When Using Automatic Binding
Running on a Windows-based Operating System
Troubleshooting the Lua Script Resource
Welcome to ThingWorx Edge MicroServer (EMS) and Lua Script Resource (LSR) Help Center
Troubleshooting the Lua Script Resource
RESTservices