0

I'm sending events to the Watson IoT platform using the wiotp out node on a RPi, the event name is eventfromasset.

The wiotp in node on the IBM Cloud is connected to the same organization, but doesn't get any event.

I tried all commands and specific command = eventfromasset.

I do receive events using the IBM IoT node and API key/token instead.

jpsstack
  • 1,221
  • 4
  • 18
  • 29
  • have you specified the device type/id in the wiotp node? – idan Dec 21 '18 at 18:13
  • yes, both are different than in the out node – jpsstack Dec 21 '18 at 18:39
  • WIoT log of the receiving device says "The connection has completed normally" after sending an event. It might have to do with the format of the event type? – jpsstack Dec 21 '18 at 22:51
  • if you subscribe to the command topic you need to use the same deviceid and the same devicetype for which you send the command. One note here, the command and events do not use the same topic path: Devices can subscribe to command topics in the following format: iot-2/cmd/command_id/fmt/format_string and Devices publish to the event topics in the following format: iot-2/evt/event_id/fmt/format_string – idan Dec 22 '18 at 08:20
  • thx, but I don't understand that as a had a problem using the same deviceid, pls. see https://stackoverflow.com/questions/53886475/watson-iot-out-and-in-nodes-alternating-status – jpsstack Dec 22 '18 at 16:20
  • not the same scenario if you use the IoT nodes. They use different clientid that what the mqtt nodes are using. maybe we can have a talk and clarify things a little bit. – idan Dec 28 '18 at 15:05

0 Answers0