
The key benefit by conforming to the required syntax is that the watson platform automatically recognizes the formats and can be quickly used within the services. You can see that the payload is now much cleaner and closer to the required format. "|TAGNAME|_t": |TIMESTAMP| |#unless the Client Format, swap to Wide: Under Message, select the Advanced template To do so, double click the Agent created: The message format required from IBM are: Use the DataHub View Data monitor to browse what tags are available. Use the DataHub Connection Viewer to confirm your MQTT clients are connected including tag counts and the number of value updates as they are received. Once connected, you can validate that the data is sent to the broker and can be used for dashboarding or other services. Configure the MQTT broker in Cogent DataHub to interpret MQTT message from your MQTT clients and create tags in the DataHub. In this example, we are going to select the _time_second tag and add it to the agent: For example: Ĭlick Finish to complete the Agent Configuration Add a Tag from Kepware by clicking Add IoT Item Eclipse Mosquitto is an open source message broker that implements the MQTT protocol versions.

#MQTT BROKER KEPSERVEREX PASSWORD#
Password: The password is the authentication token specified in the device information. Reconnect Minimum (s): Specify the minimum. Username: The fixed string “use-token-auth” is used as username to indicate that a token is being used. 0 MQTT server (broker) with the MQTT Server Version set to Auto since the initial connection attempts to use 3.1.1. The MQTT client ID is in the format d:orgId:deviceType:deviceId. Click Next to reach the next configuration page The value can be any string that is valid in MQTT.Īs such, the format we will use is iot-2/evt/ event/fmt/ jsonģ. Common content type values include but are not limited to “json”, “xml”, “txt”, and “csv”.
#MQTT BROKER KEPSERVEREX HOW TO#

Select MQTT Client from the drop down Configuration for the MQTT Agent are as follow:Īppend the organization id to “.” for the hostname. The complete documentation can be found here: The protocol used to connect to Watson is via MQTT. Step 2: Configuration of the KEPServer EX IoT Gateway Under Security, you may leave the Auth Token blank to auto generateīy now, you will have the required connection parameters for the connection:

Launch the IBM Watson IoT Platform by clicking Launch Select the appropriate plans and click Createģ.Create the IoT Platform by searching for it in the search box.Step 1 : Configuration of IBM Watson’s IOT Platform This guide assumes:įamiliarity with KEPServerEX’s OPC UA Server Configuration as well as the concepts in operating KEPServerEX. In this post, I will documenting on the process for sending data to IBM Watson Cloud Platform.
