Event using remote for security // need help
Moderator: leecollings
-
- Posts: 12
- Joined: Monday 13 July 2015 12:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Event using remote for security // need help
I was wondering why this blocky won't work. Has anyone a suggestion? The image has been attached...
- Attachments
-
- Schermafbeelding 2016-04-22 om 13.04.15.png (26.13 KiB) Viewed 875 times
-
- Posts: 84
- Joined: Saturday 05 March 2016 16:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: France
- Contact:
Re: Event using remote for security // need help
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
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
-
- Posts: 12
- Joined: Monday 13 July 2015 12:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Event using remote for security // need help
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

This is the effect needed:
If remote = on
then domoticz sec panel = armed
Who is online
Users browsing this forum: No registered users and 1 guest