Page 1 of 1

Blockly does not work with door contact and dummy

Posted: Tuesday 11 August 2020 16:19
by jellex87
Hello,

why does this one doesn't work?

i"m trying to trigger a dummy that shows the window is open or closed. Trying that with a Kerui D026 which has a 'normal' and 'alarm' status.
The Raamsensor 1 does its work. The dummy does not change status.

Re: Blockly does not work with door contact and dummy

Posted: Friday 21 August 2020 21:31
by jellex87
Anyone?

Re: Blockly does not work with door contact and dummy

Posted: Saturday 22 August 2020 7:43
by Dave21w
You probably need to change the alarm and normal values to text values, use the light green box option and type the status between the quotes like this:-
pic.jpg
pic.jpg (5.1 KiB) Viewed 932 times

Re: Blockly does not work with door contact and dummy

Posted: Saturday 22 August 2020 13:24
by jellex87
Thanks for your advice. It works for 50%. See my script. The Dummy light goes on when the sensor says "Normal", but does not turn off when status is "Alarm". Is "Alarm" maybe the wrong key word?

Re: Blockly does not work with door contact and dummy

Posted: Sunday 23 August 2020 13:48
by jellex87
Found the problem. The "alarm' status is wrong. instead it listens to 'Open' and 'Normal'.
Works like a charm.

Re: Blockly does not work with door contact and dummy

Posted: Sunday 23 August 2020 14:00
by Dave21w
Glad to hear it :)