This tutorial demonstrates the basics of using the FairCom Edge ThingWorx Extension. This extension uses MQTT (Message Queuing Telemetry Transport) to connect to the ThingWorx platform.
Note: The FairCom Edge ThingWorx Extension has been deprecated in favor of the ThingWorx AlwaysOn Plug-in.
FairCom Edge 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 HUB, as described in Download and Installation.
To install the FairCom Edge 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."