Automation — Programs

Navigate to Automation > Programs. This tab shows all automation scripts running on the Abilis. Programs are written in Lua, a lightweight programming language. They can be written manually or generated automatically from Control Loops.

The Program List

Programs — the list of automation programs with name, status, and action columns.
Programs — the list of automation programs with name, status, and action columns.

Each program in the list shows:

ColumnWhat It Means
NameThe program's name — descriptive names help identify what each program does (e.g. "Hallway_lights_schedule", "Heating_control_loop_1").
AutostartCheckbox — if ticked, this program starts automatically when the Abilis boots up or restarts. Essential for programs that should always be running (heating schedules, security routines).
Last StartedDate and time when the program was last started. Useful for checking if a program is still running after a reboot.
Last StoppedDate and time when the program was last stopped (either manually or due to an error).
▶ / ⏸ buttonClick ▶ to start the program, ⏸ to stop it. The icon shows the current state: ▶ means the program is stopped (click to start), ⏸ means it's running (click to stop).

Creating a Program

Click New to create a blank program — you'll get a code editor where you write Lua. Click Import to upload a .lua file from your computer.

When editing, you can view the program output console — this shows log messages, progress information, and error messages from the running script.

Programs from Control Loops

Programs created by the Control Loops tab appear here automatically. They have auto-generated names and can be started/stopped just like manually written programs. You can even open and edit the generated Lua code if you need to customise the behaviour beyond what Control Loops can express visually.

Writing Lua programs requires knowledge of the Abilis Lua API for automation devices (RIO, RVS, WIO, Sonoff). This is a programming task suited to users with scripting experience. For most automation needs, Control Loops provide a visual alternative that doesn't require code.
Anteklab Technical Support Email: tem@antek.it
Tel: +39 0376 16262,27