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.

Filtering

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

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.

 

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

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
18.12.2017

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
13.8.2018

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.

 

 

AN14 Reading the digital inputs of a STE2 device
8.12.2017

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
23.10.2017

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
6.8.2018

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.

 

SNMP management of 110/230V power outlets from the command line in Windows and Linux
19.2.2018

NETIO 4x electrical sockets (PDU) can be monitored and controlled over LAN/WiFi using SNMP. In this way, it is possible to measure the immediate consumption (NETIO 4All only) or to switch individual 110/230V sockets on or off. This AN11 Application Note shows how to perform SNMP v3 read and write operations in MS Windows or Linux. 

AN10 Telnet control of electrical power sockets (M2M API – KSHELL)
16.10.2017

NETIO 4x electrical sockets (NETIO 4 / 4All / 4C) can be controlled over a LAN using the Telnet M2M API protocol and KSHELL commands. The NETIO AN10 Application Note demonstrates how to use Telnet to control individual sockets, gives a brief description of the KSHELL protocol and shows examples how to test the communication in Windows using several utilities. 

Lua script that detects a connection to the Internet and automatically restarts, for example, a microwave connection
23.10.2018

AN09 demonstrates a Lua script that detects a dropped Internet connection and automatically restarts e.g. a microwave link. The script periodically sends PING (icmp) requests to the 1 or 2 configured IP addresses. When none of these two addresses respond for e.g. 60 seconds, one of the 230V sockets is turned off for 20 seconds (short off – restart).

Cyclic traffic lights in Lua according to a defined table
20.11.2017

AN08 demonstrates the use of a Lua script to switch 230V sockets on/off according to a table. The example table contains 8 states. Each state has a defined duration (1s minimum). This example can be used as cyclic “traffic lights”

Remote power socket control by URL (http GET handled in Lua script)
3.4.2018

The NETIO 4 smart sockets device is connected to a LAN or a WiFi network. Individual sockets can be easily switched on and off by accessing a URL in a browser or from the command line. This control method is very easy to use. This NETIO AN04 describes a Lua script that reacts to parameters contained in the http get request (URL). Unlike the standard M2M API based on http GET, the custom Lua script can make the sockets react to parameters with custom names. 

NETIO AN03 Switching OFF a 230V power socket when current exceeds limit, email alerts
3.10.2017

This Application Note demonstrates how to create a Lua script to monitor the current flowing through individual sockets of a NETIO 4All smart power strip. When the current at a particular socket exceeds the limit for longer than the specified time period, the script turns the socket off and sends an email

NETIO AN02 Intro to Lua scripts, trigger conditions, log file
14.8.2017

NETIO AN02 Application Note guides through the creation of a Lua script that turns a socket on and off once every second but only during a specified period (e.g. only during daytime). AN02 is an example that describes various ways of triggering Lua scripts and how to use the Log file in NETIO 4x smart sockets to debug the script.

 AN01 Getting started with Lua programming language - flasher
2.8.2017

This NETIO AN01 Application Note describes the first steps to simple programming of NETIO 4x (4 / 4All / 4C) smart socket devices with Lua scripts. In this tutorial, two sockets are switched on/off alternately. 

Ask for a price or technical parameters

For device testing use name/password demo/demo