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 PRO version to control device outputs, with energy consumption monitoring and Output status feedback.
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.
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.
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).
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).
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 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).
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.
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.
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 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.
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.
NETIO devices allow reading of outputs states and values of electrical measurements via SNMPv3 (SNMP get) and controlof PDU outputs (SNMP set). AN11 describes how to implement reading and writing using SNMP v1, v2c in MS Windows and Linux.
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.
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).