Application Notes (ANxx) | NETIO products: Smart power sockets controlled over LAN and WiFi

Application notes provide a better understanding of products NETIO use in your applications.


cancel filters
NETIO Power Analyzer: Explore power consumption

NETIO AN42 shows how to use the NETIO Power Analyzer utility (for Node-RED) to explore the power consumption behavior of electrical appliances. In a single screen, the Current [A], Load [W] and TruePF [-] waveforms are shown. The charts give a clear idea whether or not the energy consumption waveform can be used to monitor the appliance (e.g. see how many chewing gums were sold by a vending machine or if a fridge functions correctly).


Getting started with PowerCable MQTT-flex via HiveMQ MQTT broker to mobile App.

MQTT-flex, supported by PowerCable MQTT, is a protocol for cloud applications. Flex is a method of configuring the standard MQTT with a user-defined topic and payload structure.  The customer does not need to adapt to one particular MQTT structure. AN40 demonstrates how to configure MQTT-flex in PowerCable MQTT and connect the Wi-Fi smart socket device to the public HiveMQ broker. A mobile app is used to display the data and control the power output over the MQTT protocol.


Mobile applications IOS controlling NETIO smart power sockets

The AN39 Application Note gives an overview of iOS (iPhone) apps that can be used for home automation to control electrical outlets and other devices over http get (URL API) or Modbus/TCP.


Node-RED example of Modbus/TCP communication with NETIO 4x / PowerCable

NETIO AN32 demonstrates how to control outputs and read measurements (kWh, A, V) from the 110/230V smart sockets from a Node-RED application using the Modbus/TCP protocol.
Node-RED is a programming tool for wiring together hardware devices, APIs and online services. Modbus/TCP is an industry-standard protocol. The Application Note applies to NETIO 4x devices as well as PowerCable Modbus 101x power sockets with WiFi.


Node-RED example of REST XML communication with NETIO 4x

Node-RED is a programming tool for wiring together hardware devices, APIs and online services. The AN31 Application Note shows how to control NETIO 110/230V smart sockets from Node-RED using HTTP - REST XML.



Node-RED example of REST JSON communication with NETIO 4x

The AN30 Application Note demonstrates how to read consumption data from NETIO 4x and PowerCable REST smart socket devices and how to control their outputs using REST API – JSON. The netio.json file is transferred over http. Node-RED is a programming tool for wiring together hardware devices, APIs and online services. It can run, for example, in a cloud, on a local PC, or in a Raspberry Pi.


Node-RED example of URL API communication with NETIO 4x

Node-RED is a programming tool for wiring together hardware devices, APIs and online services. The AN29 Application Note shows how to control 110/230V smart sockets from Node-RED using URL API. Invoking an URL is a simple but only a one-way solution (it is possible to control NETIO 4x outputs from Node-RED but it is not possible to measure consumption).

AN27 ModbusTCP with NETIO 4x – Control and measure LAN power sockets

The AN27 Application Note demonstrates how to control NETIO 4x smart sockets and PowerCable Modbus devices using the Modbus/TCP protocol. Modbus/TCP is the de-facto industry standard for connecting sensors and devices to PLCs, SCADA systems and smart home systems. NETIO products can be controlled over Modbus/TCP as 1-bit outputs (“coils”). In addition, values can be measured and advanced control is possible using registers.


AN26 MS Azure and NETIO 4x – Power metering and output control from a cloud service

AN26 shows how to connect NETIO smart sockets with the IoT Hub (part of MS Azure). Standard M2M MQTT for NETIO 4x products is used. MQTT flex is not supported.

 IP WatchDog 2 from 10 – list of monitored devices, failure indication by power output (Lua script)

Do you need an indication that any out of 10 LAN devices is not working or unavailable? Regardless of whether a cable got loose, WiFi was disconnected or the UPS failed, when one or more of the ten devices fail to respond to PING, the Lua script described in this Application Note lights up a red warning light.


AN24 IP WatchDog 1 to 1 – Device LAN connectivity detection and indication (Lua script)

AN24 is a Lua script that detects the presence of an IP address in the network and signals the result by switching a selected output on or off. In this way, it is possible for example to switch off certain equipment when a central printer is switched off, or to signal that someone is present in an office (reachable IP address of a notebook or a phone).


 JSONHTTP(S) protocol to control NETIO 110/230V power sockets (3x REST API)

The AN21 Application Note shows how to access measurements and control electrical sockets on a NETIO 4x device from third-party applications using the JSON protocol. AN21 demonstrates several different ways to control NETIO power sockets by transferring a netio.json file over http. The first method uses the “Device HTTP(s) File Upload” tool in the device’s web interface. The second method transfers the JSON file using a Chrome browser extension. The third method uses CURL (command-line tool) to transfer files over http.



AN20: XML HTTP(s) protocol to control NETIO smart power sockets 110/230V

The AN20 Application Note demonstrates how to control NETIO 4x smart sockets using the XML protocol. The XML protocol transfers a text file with a xml structure over http(s). NETIO devices contain built-in tools to easily test the protocol by the user.  The XML protocol is supported by all NETIO 4x devices (NETIO 4 / 4All / 4C).

M2M API (http GET) protocol to control NETIO power sockets/outlets

The AN19 Application Note demonstrates the use of the “URL API” or “http get” M2M API protocol. By invoking a certain URL, one of  electrical outputs 110/230V can be switched On / Off / Toggle / Short pulse. This protocol is supported by all NETIO 4x devices (NETIO 4 / 4All / 4C).


AN18 Lua access to RS-232 serial port

The AN18 Application Note contains a Lua script that controls the RS-232 serial port and the sockets. The result is the ability to switch individual electrical outputs on or off over RS-232 using a text-based protocol that is the same as the Telnet M2M protocol.   

AN18 demonstrates the control of the RS-232 serial port (with a request-response protocol) using a Lua script. The commands to control the power outputs can be modified (in the Lua script) to change the serial port protocol.



Ask for a price or technical parameters

For device testing use name/password demo/demo