I am starting with Blocky. I made a very simple script but it does not work. What am I overlooking? "Schuurdeur" is a Kerui doorsensor (open/closed). Kaku1_buitenlamp is a klikaanklikuit switch device. If used manual this light (kaku1_buitenlamp) works.
Why not working? Topic is solved
Moderator: leecollings
Re: Why not working?
"Schuurdeur" is a sensor with status "open" or "closed", but you want something to happen when it has status " alarm"?? Try "schuurdeur" = "open".
- Eddiever
- Posts: 105
- Joined: Thursday 27 April 2017 20:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: The Netherlands (Hoogeveen)
- Contact:
Re: Why not working?
Great, I did use "on" and "alarm" but didn't think of "open". This did it! Thank you.
-
- Posts: 15
- Joined: Friday 13 March 2015 22:08
- Target OS: OS X
- Domoticz version: 2.2293
- Location: Alkmaar, The Netherlands
- Contact:
Re: Why not working?
Hi,
note that when using a (eg. dummy) door contact in blocky, to set it to open you have to use ''set doorcontact = On'' (and to off for having it closed).
note that when using a (eg. dummy) door contact in blocky, to set it to open you have to use ''set doorcontact = On'' (and to off for having it closed).
Who is online
Users browsing this forum: Google [Bot] and 0 guests