I'm currently using Watson IoT Platform to collect datas from my Raspberry Pi. On the Pi, I've installed Node-RED that exposes an HTTP POST endpoint (/command).
I created a rule on Watson IoT Platform based on a threshold and three actions if the rule is activated:
- the first one is a Node-RED action invoking the Node-RED node on my Raspberry Pi
- the second one is a Webhook action invoking the Node-RED node on my Raspberry pi
- the third one is an IFTTT action invoking the Webhook channel that invokes the Node-RED node on my Raspberry pi
The first two actions are not working while the third one correctly forwards the HTTP POST request.
What is wrong with the first two actions? Is there a way to debug the HTTP request? Is it just a matter of reachability of my Raspberry Pi from Watson?
Thanks,
Diego