A first examle to communicate between RobotMonitor Interfaces and a Device over HTTP.
This code is the simplest way to switch ON/OFF a LED or a Relay on the Arduino.
View more description:
here:http://www.robotmonitor.com/example/single-led/
Use this URL when outside home network:
(use RobotMonitor's Proxy)
http://yourWAN:51840/a to turn the LED ON
http://yourWAN:51840/s to turn the LED OFF
Use this URL in the home network.
(don't use RobotMonitor's Proxy)
http://192.168.1.184:51840/a to turn the LED ON
http://192.168.1.184:51840/s to turn the LED OFF
You MUST setup Port forwarding on your router according to the Arduino's port and the IP 192.168.1.184.