Page 1 of 1

Event using remote for security // need help

Posted: Friday 22 April 2016 13:09
by pecora
I was wondering why this blocky won't work. Has anyone a suggestion? The image has been attached...

Re: Event using remote for security // need help

Posted: Friday 22 April 2016 20:33
by georgesattali
why it doesn't work I'm not sure, maybe that's because blockly wants on or off in Set.
The block of the example sets RemoteHJ to a boolean value ( SecurityStatus=Armed Home ) which can be true or false, but blockly waits for On or Off.

you may have to transform it in 2 blocs to produce same effect (yeah bit ugly ;-)

if RemoteHJ=On and SecurityStatus=Armed Home then
DomoticSecurityPanel = On

if RemoteHJ=On and SecurityStatus # Armed Home then
DomoticSecurityPanel = Off

Re: Event using remote for security // need help

Posted: Monday 25 April 2016 9:50
by pecora
Thanks for the suggestion Georgesattali but this is not the solution. It will not work ;)

This is the effect needed:

If remote = on
then domoticz sec panel = armed