Hi everyone,
I'm fairly new in the Fibaro/LUA programming scene and I'm looking for some help to create a virtual device.
So far I was able to create a Virtual Device that will allow me to turn on a specific thermostatic valve based on a set Temperature and Room Temperature.
I created this panel using LUA scripts:
It's made of:
- A Label that contains both the desired and actual room temperature
- Various buttons that allow you to quickly change the desired room temperature
It's a tiny panel that has all the functions I need and that I could personalize easily furthermore.
In Fibaro Home screen the virtual device is shown this way:
Which is... sort of good... however it's not really capable of various functions.
If I understood correctly the elements that will be shown on the widget are those that have the "Main" radio button selected in the Advanced configuration:
For example I set "main" the Label and the "+" button:
So... my questions are:
1- Is there a way to show more than a single button in the widget shown in Home page (just like Fibaro and other devices widgets do: ex. :
2- Is there a way to personalize the text/label of those buttons? Now the only available button has a "power on" symbol and can't be changed.
3- What's the meaning of the "favourite" flag? I tried selecting it but nothing seems to change.
I hope you guys can help me, I'll attach the virtual device file just in case some of you can help me (still in beta and eavily personalized for my system).
Thank you so much!
Nicola
Termostato.vfib