Network devices are hardware devices as ESP8266,ESP32 and similar. There are libraries for arduino IDE which helps communicate with remoteMe.
Before start working with ArduinIDE these libraries has to be imported (Sketch -> Include Libraries -> manage libraries and add):
RemoteMe by Remoteme.org– this is core functionality where are implenented functions to connenct remoteMe, send receive messages
RemoteMeUtils by remoteMe.org– it has implement diffrent conneciton methods, and its needed to established direct connection 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 automaticly generate network device for You.
Easiest way to start with is t generate sketch using wizard – wizard will generate for You initial sketch for your arduino – then ofcourse You can modify it before upload to ESP using arduinoIDE:
Wizard only returns sketch which should be uplaoed to arduino. it does not change anything at the system itsel, and do not upload sketch to arduino automaticly
remoteMe.getVariables()->observeBoolean(...and function from second argument. Then You will not got notificaitons about variables change. It will eliminate unnecesarry 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 unconnect devices, the device state will not change immidetly to unconnect, its becasue socket/websocket connection was broke unexpectedly and didnt inform RemoteMe.org. State of your device will be update after ~2min.
Network device will recconnect after internet is lost.