Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team
Question
freespirits 0
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:
Please login or register to see this image.
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
Please login or register to see this attachment.
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.