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
Milos797 1
Hi guys,
I am using HCL so please help me with blocks, not LUA.
I have Global Cache which is controlling my Aiwa Hifi.
Everything work good, I can control it manually or with scenes. BUT
If I want to make a scene - when I enter the room, the motion sensor detect the motion, turn on the light and the Aiwa hifi.
It works as expected, but after motion sensor detect another motion, it sends another commant, and because this hifi has the same button for off and on, Hifi turn off.
I wanted to do it by creating variables called AIWA with values On and Off. And it works good in scene, where I say - If the motion sensor see the motion AND the variable AIWA is off, then turn Aiwa ON and change the wariable to ON.
But my problem is that I cant change the variable to OFF. What I mean is, I can not find the option to create scene, where after i press button on virtual device, it turn the device off and change the variable to OFF.
I tried to make scene : if the variable AIWA is off than turn the virtual device on and change the variable to on, but it seems, that it is totally wrong. After I run it, Hifi goes on and off non stop.
Any ideas how can i do it? As well I would need this to make a scene for TV, when I press the payse button it run the scene, where the lights goes on a bit... But HCL is not giving me the option to run scenes based of pressing virtual devices button.
Thnaks for ANY suggestions.
[ Added: 2015-01-15, 17:50 ]
I am still trying,
why is this turning hifi on after every click? The variable change vhen i run the scene to ON. But when i press it again, it just run the scene again (and turn off hifi). Why is it ignoring the variables? It should not turn on if the variable aiwa is set to on, right?
Please login or register to see this attachment.
0 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.