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
knuth 29
A simple, rather basic question: I would like to control several devices through one control. The control could be on/off or "set to chosen common value"/off. "Set to common value" could be a dim level for dimmers, or a temperature for thermostats, where the value is not preset but determined as the control is used. I see several ways to do this, each with its own advantages and disadvantages:
1. Make two separate scenes, one to turn the device set on and one to turn them off.
Advantage: Very simple to implement for on/off control. Activated only when needed.
Disadvantage: Clutters the system with too many scenes. Tricky to achieve value control (but can be done by setting a global variable)
2. Make one scene which performs both desired actions. To dictate whether to turn on or off, either check the current status of the unit or have a global variable which toggles between On and Off each time the scene is run.
Advantage: Fewer scenes than option 1. Activated only when needed.
Disadvantage: Still messy to perform value control
3. Make a virtual device, with push buttons for on/off or a slider for value control.
Advantage: Very intuitive and simple interface
Disadvantage: The VD is run every 3 seconds, which is unnecessary as there is no data harvesting involved.
I lean towards doing this as a VD, and could include a long fibaro:sleep command in the LUA code to avoid the code (which would essentially be empty) being run every three seconds. Question: Will a sleeping VD respond immediately to buttons or sliders being used, or only after the sleep period ends?
Or more generally: How do you prefer to manually control a set of devices, through scenes or VDs?
Link to comment
Share on other sites
2 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.