Application Notes (ANxx) | Page 3 | 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
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).


AN23 ELAN Smart Home Automation for AV applications - NETIO Power sockets driver

NETIO AN23 demonstrates how to connect NETIO devices (LAN / WiFi power sockets) to the ELAN AV system and control power sockets. It's using the  Netio Driver for ELAN by Intrinsic. NETIO ELAN driver is available as free (Basic) version to control device outputs or paid (Pro) version with  energy consumption monitoring and Output status feedback.

ABACOM ProfiLab-Expert software controls NETIO power sockets and reads measurements

AN22 presents an example of connecting ProfiLab-Expert 4.0 with NETIO power sockets using Modbus/TCP. The example shows how to control the outputs and measure all accessible parameters.

 JSON-HTTP(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.



AN17 (Text) scheduler for many actions based on text file - Lua script NETIO

AN17 shows a Lua script that can, at the given day and time, set the outputs of the NETIO device to the desired states or perform other actions with them (short on / short off).



Lua SNMP – Reading UPS battery charge state and switching electrical sockets off when the battery is low (Lua Active client)

AN16 presents a script that runs in the NETIO smart sockets device, actively reads a value from an external device over SNMP and reacts to it. The smart sockets read the state of another device (at a different IP address) over the LAN using SNMP. In particular, AN16 shows how to detect the low battery state of a UPS in order to help a datacenter run longer on back-up power. When the battery is less than 50% charged, the smart socket device switches off a part of the cooling system. By querying different SNMP OIDs, it is possible to react to other UPS parameters (e.g. detect the absence of input voltage). The NETIO smart socket device and the UPS communicate directly, without an intermediate server or application.


AN15 One switch to turn off 20 power outputs (monitors) over LAN

The AN06 example shows how to quickly turn on or off dozens of electrical power outputs (sockets) over LAN by flipping a single central switch. The central switch is connected to the serial port (PowerPDU 4C). The URL API protocol is used for control.


AN14 Reading the digital inputs of a STE2 device

The NETIO AN14 Application Note shows how to connect NETIO 4x smart sockets and the STE2 online wifi thermometer by HW group. This Lua script turns individual sockets at the NETIO device on or off according to the states of STE2 digital inputs. The devices communicate over a LAN; values are transferred in a .xml file. The script can be modified for other devices and xml data. 

STE2 thermometer (HW group) switches NETIO sockets based on temperature

STE2 by HW group is a LAN/WiFi thermometer/humidity meter. The NETIO AN13 Application Note presents a Lua script that connects NETIO 4x smart sockets with the STE2 thermometer. 230V electrical sockets are switched on or off according to the temperature (or humidity) measured by STE2. The devices communicate over a LAN, values are transferred in a .xml file. The script can be modified for other devices and xml data

AN12 MQTT control of NETIO smart sockets using the HiveMQ broker

NETIO 4x power sockets (4x 230V, LAN and WiFi) can be controlled over the Web and with various M2M protocols. Supported protocols include MQTT. Application Note AN12 describes the use of the MQTT protocol in the “Generic” mode with the HiveMQ public MQTT broker. This public broker is intended for testing; for live use, we recommend to use your own installation of this or another MQTT broker.


Ask for a price or technical parameters

For device testing use name/password demo/demo