This tutorial demonstrates the basics of using the c-treeEDGE ThingWorx Extension. This extension uses MQTT to connect to the ThingWorx platform.
c-treeEDGE also provides a ThingWorx connector using the AlwaysOn protocol, as described in Installing and Configuring the c-treeEDGE AlwaysOn ThingWorx Connector. The AlwaysOn connector provides enhanced integration with ThingWorx.
This section explains how to install c-treeEDGE on the ThingWorx platform. ThingWorx allows enterprise-scale applications to be modeled by dragging and dropping "things." For more about this powerful platform, see ThingWorx later in this document.
c-treeEDGE requires creation and configuration of a c-treeEDGE "thing" in ThingWorx. Please refer to the ThingWorx website and the c-treeEDGE Thing download in the ThingWorx Marketplace for more information.
You will need to install and start the c-treeEDGE MicroServer, as described in Download and Installation.
To install the c-treeEDGE MQTT extension to ThingWorx, follow these steps:
Note: If an "Import Successful" message does not display, contact your ThingWorx System Administrator.
Create a new "thing" and select CtreeEdgeMQTTThingTemplate as a Thing Template.
Once the c-treeEDGE Database "thing" is created, it must be configured to connect to a c-treeEDGE Database instance.
Click the Add button to set the first property to be persisted on the Edge and enter the following information:
Configure the MQTT System Topic. It must match the one subscribed to by the c-treeEDGE. Enter the following information:
Save the "thing."