Network Devices

Before start read general assumptions first

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):

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.

Code Wizard

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


  1. Variables – choose variables for which should be generated functions to setvalue and read values. More about variables here
    • If You dont need to read values and only write, then after generating sketch remove lines :  remoteMe.getVariables()->observeBoolean(... and function from second argument. Then You will not got notificaitons about variables change. It will eliminate unnecesarry network communication
    • If You are not planning to set variables from ESP you don’t have to do nothing functions like inline void setLed(boolean b) does not generate any network communication until they are called
  2. Generates function which will be called after direct User message into device will be send. More about messaging here
  3. Generates function which will be called after direct sync User message into device will be send. More about messaging here


  1. Wifi name and password. Your wifi creditentials where ESP should connect. This creditentials are not saved in the system anywhere. You dont have to provide this inforation but alter remember to add proper values into : #define WIFI_NAME ""
    #define WIFI_PASSWORD ""
  2. Token which will be used to authentificate device into your account. After token removed device will not be able to connect your account


  1. Communicate method.
    1. Socket connection are prefarable. Its requires less resources, and Doesn’t required remoteMeUtils library – it used port 18
    2. WebSocket if socket donnection deosnt work for You. it uses port 80
  2. Direct conneciton are used of both webPage and Device are run at the same local network. Its preferred if You need blazing fast communication – for example remoteControl toys
  3. based on options choosed in 1,2 it shows You what libraries has to be included in your arduino sketch


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 State of your device will be update after ~2min.

Network device will recconnect after internet is lost.