Why not working? Topic is solved

Post Reply
Eddiever
Posts: 61
Joined: Thursday 27 April 2017 20:32
Target OS: Raspberry Pi
Domoticz version: V3.8153
Location: The Netherlands (Hoogeveen)
Contact:

Why not working?

Post by Eddiever » Sunday 10 September 2017 17:03

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.
Knipsel.PNG
Knipsel.PNG (8.32 KiB) Viewed 470 times
Knipsel1.PNG
Knipsel1.PNG (21.08 KiB) Viewed 470 times
RPi 2B with Domoticz and cam module RPi 3 with cam module
1 rftxtrx433E module 1 solar-edge SE-3500
1 Sonoff Touch 3 Sonoff wifi swithes 6 kaku modules

User avatar
mrf68
Posts: 224
Joined: Monday 23 February 2015 13:45
Target OS: Windows
Domoticz version: 3.4834
Location: Netherlands
Contact:

Re: Why not working?

Post by mrf68 » Sunday 10 September 2017 17:10

"Schuurdeur" is a sensor with status "open" or "closed", but you want something to happen when it has status " alarm"?? Try "schuurdeur" = "open".
----------
3x RPi
1x W2k12 (vm)
3x RFXcom433e
1x Razberry board
KAKU: 9x APA3-1500R, 2x ACDB-7000C, 3x AMST-606, 1x APIR-2150, 1x AWS-3500, 1x ATMT-502
Z-wave: 8x Everspring AN145
Misc: 2x wireless doorbells

Eddiever
Posts: 61
Joined: Thursday 27 April 2017 20:32
Target OS: Raspberry Pi
Domoticz version: V3.8153
Location: The Netherlands (Hoogeveen)
Contact:

Re: Why not working?

Post by Eddiever » Sunday 10 September 2017 17:16

Great, I did use "on" and "alarm" but didn't think of "open". This did it! Thank you.
RPi 2B with Domoticz and cam module RPi 3 with cam module
1 rftxtrx433E module 1 solar-edge SE-3500
1 Sonoff Touch 3 Sonoff wifi swithes 6 kaku modules

SweetPants
Posts: 1624
Joined: Friday 12 July 2013 21:24
Target OS: Linux
Domoticz version: V3.8791
Location: The Netherlands
Contact:

Re: Why not working?

Post by SweetPants » Sunday 10 September 2017 17:37

Eddiever wrote:
Sunday 10 September 2017 17:16
Great, I did use "on" and "alarm" but didn't think of "open". This did it! Thank you.
When editing, you can always show "current states" of devices
Ubuntu 16.04.3 LTS on Intel NUC, MySensors, Pro Mini 3.3 with RFM69, ESP8266 (SDK2.1.0), Sonoff, RFLink, RFXcom.

DomoUHT
Posts: 18
Joined: Friday 13 March 2015 23:08
Target OS: OS X
Domoticz version: 2.2293
Location: Alkmaar, The Netherlands
Contact:

Re: Why not working?

Post by DomoUHT » Sunday 10 September 2017 22:04

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).

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest