ThingWorx is the first software platform designed to build and run the applications of the connected world. ThingWorx reduces the time, cost, and risk required to build innovative Machine-to-Machine (M2M) and Internet of Things applications by providing a complete application design, runtime, and intelligence environment. The ThingWorx platform includes flexible device connectivity options, rapid application development tools, scalable storage, and supports various deployment models.
More information: http://www.thingworx.com.
ThingWorx includes the following features:
{warning.fa-dot} if you need more information about these components, go to http://www.thingworx.com/platform/
Inside the "ThingWorx" plugin you can setup which Waspmotes in the system will be published in ThingWorx server.
The parameters to setup are:
Click on the "Save" button to write this setup to the ThingWorx service.
The steps to setup Waspmotes to send to ThingWorx are:
After restarting the EMS and LUA Script services, the setup will be applied and you will see your devices in your ThingWorx server.
If you click again on the "Get Waspmotes from DB" button, the plugin will read again the DB and display all the Waspmotes. If you do not write this changes to ThingWorx setup, this will not propagate to the EMS service.
You can recover the current ThingWorx EMS service setup by clicking on the "Load WM from ThingWorx".
ThingWorx has the ability to connect very quickly and easily to the physical world and structured data systems. ThingWorx supports a variety of communication protocols and system interfaces. Many are implemented directly on the ThingWorx Platform. However, for edge devices or data stores that need to connect to the platform using the Internet or through firewalls on an Intranet, ThingWorx provides an Edge MicroServer (EMS) solution that can be deployed where the data is, and allows secure, efficient communication back to the ThingWorx Platform. This section will concentrate on the EMS and the corresponding Edge Thing software components.
In order to send data to the ThingWorx environment, another component is needed: the LUA Script Resource service. This service needs to be running at the same time with Edge Micro Server to allow data acquisition.
To launch the Edge MicroServer (EMS) press Start button, and to stop it, press Stop button.
To launch the LUA Script resource press the Start button, and to stop it, press the Stop button.
An Application Key is the authentication item used to send or receive data from your Thing. It is associated with a ‘tag' that is common to all of the components of your Thing.
In the home page of your ThingWorx Composer, go to Browse > Security > Application Keys. The click the "New" button.
In the Application Key page:
{warning.fa-dot} Visit ThingWorx support portal if you need more information about Users
Optional:
{warning.fa-dot} Visit ThingWorx support portal if you need more information about Application Keys
Log-in your Meshlium Manager System.
In your browser:
Activate the HTTP Service to enable the local communications of the EMS and LUA services using the loopback interface.
In the Manager System page, go to System > Security and activate the "HTTP Service" button.
Configure the ThingWorx cloud connector.
In the Manager System page, go to Cloud Connector > Premium Cloud Partner and click the ThingWorx icon.
Next, configure the Meshlium unit with the ThingWorx Application Key.
In the Configuration section:
We will check now that the Meshlium gateway is connected to the ThingWorx platform.
In the home page of your ThingWorx Composer, go to Monitoring > Remote Things. The name configured in the parameter Meshlium bind name should be displayed.
Configure the Waspmotes or Plug & Sense! units that will send information to the ThingWorx platform.
In the Waspmotes in ThingWorx section:
We will check that the Unbound Remote Things are the configured Waspmote or Plug & Sense! units.
In the home page of your Thinworx Composer, go to Monitoring > Remote Things, and click on the button "Unbound". Check that the Waspmote or Plug & Sense! devices configured previously to send data are shown.
We will create a new thing in the ThingWorx Foundation backend. If we create new things this manner, they will be automatically associated to the Waspmote things published by Meshlium gateway using EMS. Furthermore, the “RemoteThing” template must be set to this new thing.
In the home page of your ThingWorx Composer, go to Browse > Things, and click on the button "+New".
{warning.fa-dot} Visit ThingWorx support portal if you need more information about Things
After the Waspmote or Plug & Sense! Remote Thing has been successfully created, it's time to bind the Sensor values to this Waspmote or Plug & Sense!. We will edit the Waspmote Remote Thing properties.
In the new Thing created:
To get the sensor values updated we need to configure the new properties.
In the new Thing Properties created:
Problem | Solution(s) |
---|---|
Some sensor values are not updated | Repeat all steps described in the “Set up the Meshlium gateway” section and “Publish Sensor Values” section. |
New Waspmote/Plug & Sense! node has been added to the Meshlium | Repeat all steps described in “Set up the Meshlium gateway” section. |
New sensor has been added to a previously published Waspmote/Plug & Sense! Remote Thing | If you had configured your Waspmote/PS previously and your Waspmote/PS sensor list has changed, stop LUA and EMS processes and repeat all steps described in “Set up the Meshlium gateway” section in order to update your templates on the ThingWorx platform. Finally, repeat “Publish Sensor Values” section. |