

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: Once connected, you can validate that the data is sent to the broker and can be used for dashboarding or other services. 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
#Kepserverex opc server password#
Password: The password is the authentication token specified in the device information. Username: The fixed string “use-token-auth” is used as username to indicate that a token is being used. 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”.
#Kepserverex opc server how to#
format_string is a string that defines the content type of the message payload so that the receiver of the message can determine how to parse the content.When receiving these event messages, the subscribing application can either use a wildcard to receive events with any ID or subscribe with an event_id that matches the event_id that the publisher used. The event ID can be any string that is valid in MQTT. event_id is the ID of the event, for example status.The required topic format is: iot-2/evt/ event_id/fmt/ format_string Therefore our final URL will be: ssl://.com:8883 The connection to IBM is using the SSL version at port 8883. 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: Enter Device Type and Device ID as required for your data modeling and click Next and follow the wizard to reach the summary page.Select Add Device at the right corner of the UI.Once Logged in, your organization ID are displayed at the top right:.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.
