- « first
- ‹ previous
- 1
- 2
- 3
- 4
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”.
The AN07 Application Note shows a Lua script that turns individual 110/230VAC sockets on and off at specific times according to a predefined schedule. The state table can contain dozens of rows with actions to be performed at specified hours or days of week.
AN06 is a pair of Lua scripts that send, once per day, an e-mail report showing how many times was each output switched, and how much energy the respective appliance consumed in terms of kWh and price (€ / $ / CZK ...). Receive a report every day about the electricity consumed in a day and in a week at each output (electrical socket).
AN05 is a simple Lua script that sends an e-mail every time the NETIO device is restarted. This Application Note AN05 shows how to send e-mail using Lua.
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.
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 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.
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.
- « first
- ‹ previous
- 1
- 2
- 3
- 4