Fibaro Lua API

The Fibaro Home Center(HC) z-wave controllers provide a management interface for associated(known) devices in the z-wave network. A controller maintains the state of devices (extended to non z-wave devices through virtual device support). Applications may read device state and cause the controller to issue z-wave commands to devices through the Application Programming Interface(API).

The Fibaro Lua API is available to Lua coded Scenes and Virtual Devices (Note the Lua coding language is not available on the Home Center Light). The API is defined in terms of a series of functions and for Scenes a special Lua comments syntax to define the triggers that will cause scenes to run.

LUA Function
XREF

Just need a hint about function parameters or want an alphabetic list of links to function descriptions then jump right in.

Otherwise the API functions are grouped according to purpose, as follows:

Scenes

Introduces scenes and how they are triggerd, lists general API functions and functions specific to scene management.

Devices

Describes how changes in device state can be used to trigger scenes and lists the API functions for interrogating devices or taking an action.

Global Variables

Lists the API functions for Fibaro defined (Home Center -> Panels -> Variables) global variables. Explains how to trigger a scene when a particular global variable is updated.

HTTPClient Class

Explains how to use the HTTPClient class to send an http query to a remote server.

Questions or comments, please e-mail us at info@snys.nl