Project Management

Project Management

Nationwide Installations

Nationwide Installations

Maintenance Contracts

Maintenance Contracts

Next Day Deliveries

Next Day Deliveries

Price Check Guarantee

Price Check Guarantee

Credit Accounts

Credit Accounts

Free Site Survey
Contact Us

What is a Lua Script Used For In A Power PDU?

Lua is a basic programming language designed for use in embedded applications. It is a cross-platform language as the interpreter is compiled bytecode written in ANSI C and has a relatively simple C API. Lua is used for user scripts and supports a limited set of variables including Boolean values (true/false), numbers, strings and tables. In a compatible smart power device, a Lua script can be used to control power outlets and IP/LAN connectivity. A Lua script can run continuously or when trigged by an event to power sockets ON/OFF, send emails, receive and send ‘ping’ messages, download and parse XML/JSON files over http.



< Return to FAQ category: Smart Power Devices