Welcome to Smart Home Forum by FIBARO
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!
Smart Home Forum by FIBARO Team
I'm trying to find a way to notice that my blinds (ID79) are moving.
They go down or up, and after that I want have them positioned horizontally. I can do this by reversing the direction and go the other way for 750 millisec, for the blinds will turn in 1500 millisec, so after 750 millisec they are horizontal. I can add such an action to scenes that activate the blinds, but when the blinds are activated through buttons on my iphone - which is just an 'open' or a 'close' command - I want a scene started that will turn the blinds horizontally at the end of the action.
However, I wrote a code to notice any action of the blinds that should be triggered automatically, but it doesn't seem to work: nothing happens.
Can anyone tell me what I'm doing wrong?
fibaro:debug ('power = '..fibaro:getValue(79, "power"))
fibaro:debug ('height = '..fibaro:getValue(79, "value"))
By the way, where can I read about the exact meaning of %% properties, %% autostart, %% events and %% globals?
Link to comment
Share on other sites
0 answers to this question
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.