Development

There are several ways you can connect to or extend pilight. The eventing modules (operators, functions, and actions) are created in Lua based on a pilight <> Lua interface, just as the pilight hardware modules. Developing new modules only requires Lua programming skills and the knowledge of the pilight Lua interface.

Note

Work in progress

The Lua interface is under heavy development. Therefor, not all pilight functionality is already available in Lua. If you need some specific function just do a request and we’ll prioritize it.

Interacting with pilight with other software can be done using the mqtt, socket, or REST API.