Network devices are hardware devices as ESP8266, ESP32 and similar. There are libraries for arduino IDE which helps communicate with RemoteMe.
Before you start working with Arduino IDE these libraries have to be imported (Sketch -> Include Libraries -> manage libraries and add):
RemoteMe by RemoteMe.org– this is core functionality where functions are implemented to connect to RemoteMe system, send receive messages
RemoteMeUtils by RemoteMe.org– it has implement different connection methods, and its needed to established direct connection between WebPage <-> hardware device in local network
WebSockets by Markus Sattler
To add Network device choose
New device at
device tab then
new network device fill form and submit
New arduino device appears at devices list. Its not required to add device before upload the sketch if you have already sketch for your device its enough to turn device on. It will automatically generate network device for you.
Easiest way to start with is to generate sketch using wizard – wizard will generate initial sketch your arduino – then ofcourse you can modify it before upload to ESP using arduino IDE:
Wizard only returns sketch which should be uploaded to arduino. It does not change anything at the system itself, and do not upload sketch to arduino automatically
remoteMe.getVariables()->observeBoolean(...and function from second argument. Then you will not get notifications about variables change. It will eliminate unnecessary network communication
inline void setLed(boolean b)does not generate any network communication until they are called
#define WIFI_NAME ""
#define WIFI_PASSWORD ""
Its generating Serial printings, when some events happened
You can download or display arduino sketch for your device.
After downloaded your arduino sketch, upload it into your arduino. After few seconds (1-3s) after uploaded device at device tab should change connection from into .
After disconnecting devices, the device state will not change imminently to disconnected, its because socket/websocket connection was broke unexpectedly and didn’t inform RemoteMe.org. State of your device will be update after ~2min.
Network device will reconnect after internet connection is established.