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
Neo Andersson 195
Hello guys,
THe goal is: I have a gate (switch_1) and a sensor (sensor_1). The gate is controlled by pressing switch_1, and the sensor_1 changes its value on gate states. So we have to update switch_1 property by sensor_1 states. This is not a big deal..
Actually i am raising this question, becuase maybe there is much efficient way of achieve this, like we did.
We did it like this:
1. We have created a QA in wihich we do the turn ON and turn OFF process of the switch_1, with simple fibaro.call(switch_1, "turnOn") call.
2. Then in QA we are listening to sensor_1 state change, and upon this change we set the QA's property to true or false / so user can see on the QA device state (/not on switch_1 state ) if the gate is open or not.
I am just wondering, is this the only way to do this, or is there any type of device, whos value can be updated on some otehr devices state without creating third QA ?
7 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.