Swati Shah
Swati Shah

Reputation: 13

Watson IoT - Unable to send device commands to ESP8266 using NodeRed

I am working on IoT using IBM Watson. I am able to successfully send the built-in action for Reboot/Reset, from the console to esp8266. However, when I try to send the reboot command from NodeRed application to esp8266, it does not work. Where am I going wrong?

Here is my NodeRed application snapshot Node Red Application

Also below is the configuration of each node

IBM Watson IoT configuration Node

IBM Watson Inject Node

My device code is exactly the same as esp8266 as managed device except the few config parameters like Device Id and Device Type and Wifi credentials.

Upvotes: 0

Views: 89

Answers (1)

chughts
chughts

Reputation: 4735

Your red triangle on your IOT node suggests a configuration error, which means that the node is not able to connect to the IOT server. Check the node configuration - the pencil for the api key and scroll down for rest of the panel you show - to remove the red triangle.

Once you have got rid of the red triangle and you are still not seeing any commands sent, and you have followed the set-up instructions then it may be that you are missing the security settings step. On the Watson IOT platform select security > policies > connection security Then set the appropriate option.

Upvotes: 1

Related Questions