

Worth mentioning is command – fibaro:sleep which terminates main loop code execution. Main loop – as description says, any code written here will be executed continuously in a loop.Main – particular button will be visible in the Your house tab.Empty – allows to hide particular button.ID – defines unique ID for using in LUA scenes or Block Scenes.That text will be visible in the interface of VD. Label – defines description of the specific button (e.g., ON, OFF).Slider – can be used for dynamic changing of parameters.Button – Each button can be used as a trigger of the scene or as a trigger of sending the string command.Can be used as dynamic feedback with devices states or any other network based text content. Button Label – dynamic text-based message.Moreover, each button can be configured with following settings: Each button can be configured separately. We can change icon for each button, which will be visible in the interface of VD.Īfter setting proper composition of the buttons please add proper setting for specific buttons.Name of each button can be change at any time.Each click on button will trigger compilation of code which is assigned to it.We can move up and down each set of buttons and at any time add next one.After we marked boxes of buttons, click on “Save” icon on the right side. In advanced options, we can choose a set of buttons which will be visible as our Virtual Device. Next click on “Advanced” tab to see window below.TCP Port: Transmission Control Protocol of host device.IP Address: Internet Protocol address of host device.Room: room to which Virtual Device will be assigned.New device window will appear as it is shown below.Click on “Add” button in Virtual Device section. We will see a menu from which we can add the Virtual Device or upload it the file.Click on the “Devices” tab in top panel and then on “Add or remove device” button in left sidebar.If we have all required to create our first Virtual Device, start with logging in to our Fibaro gateway as a Super User.Home Center Lite or Home Center 2 gateway,.In this way, we can find all commands send by web browser to other devices for Audio-Video Systems, Cameras and so on. In this short description we are focusuing on creating universal Virtual Device build on HTTP communication method with use of Firebug add-on to Mozilla Firefox. It is worth mentioning that LUA language is available only on Fibaro Home Center 2, so Virtual Devices build in LUA will not work on Home Center Lite.

Virtual devices can use LUA coding or HTTP (string) method for interacting with smart devices in your local network. HTTP (string) method of creating Virtual Devices Tips for using LUA language in Virtual Devices.HTTP (string) method of creating Virtual Devices.
