This tutorial demonstrates the basics of using the FairCom EDGE ThingWorx Extension. This extension uses MQTT to connect to the ThingWorx platform.
Note: The FairCom EDGE ThingWorx Extension has been deprecated in favor of the ThingWorx AlwaysOn Plug-in.
The FairCom EDGE database also provides a ThingWorx plug-in using the AlwaysOn protocol, as described inThingWorx AlwaysOn Plug-in. The AlwaysOn connector provides enhanced integration with ThingWorx.
This section explains how to install FairCom EDGE on the ThingWorx platform. ThingWorx allows enterprise-scale applications to be modeled by dragging and dropping "things."
FairCom EDGE requires creation and configuration of a FairCom EDGE "thing" in ThingWorx. Please refer to the ThingWorx website and the FairCom EDGE Thing download in the ThingWorx Marketplace for more information.
You will need to install and start the FairCom EDGE database, as described in Download and Installation.
To install the FairCom EDGE database 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 FairCom EDGE Database "thing" is created, it must be configured to connect to a FairCom EDGE 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 FairCom EDGE. Enter the following information:
Save the "thing."