Page 1 of 1

Security Panel only performs Off Action

Posted: Friday 22 January 2016 18:50
by u01pei
No matter what alarm panel state is activated, domoticz always triggers the OFF action, The On action is never triggered.
The way I figured it supposed to work is:
Disarm: Perform Off action
Arm away or Arm Home: perform On action.
even better would be separate script action for Away and Home

Is there a specific reason why only the Off action is performed?
If nobody knows I think I'll post this in the bugs section.

Re: Security Panel only performs On Action

Posted: Sunday 24 January 2016 21:14
by leecollings
Can you make up your mind as to what action is being performed? You first said the ON action is never triggered, but then you ask if there's a reason why only ON is performed... Can you be clear with what you're actually asking?


Sent from my iPhone using Tapatalk

Re: Security Panel only performs On Action

Posted: Monday 25 January 2016 20:27
by u01pei
Excuse me for the mix-up, I've changed it.
leecollings wrote:Can you make up your mind as to what action is being performed?
Next time you point out a mistake, maybe you can reconsider your choice of words? the part about making up my mind is received as offending.
Thank you in advance.

Re: Security Panel only performs Off Action

Posted: Monday 25 January 2016 21:58
by nayr
Why dont you perform your actions via Script? ie,
devicechanged['Security Panel'] == 'Armed' or 'Disarmed' or 'Armed Away'
also: devicechanged['Security Panel'] ~=' Disarmed' for NOT disarmed to catch both armed states

The Security Panel needs some scripts behind it one way or another to be useful, the On/Off actions through the UI are more of an artifact than useable for anything.. I could see them being better than changing the behavior.

Re: Security Panel only performs Off Action

Posted: Friday 26 February 2016 10:11
by u01pei
Thanks for the reply,

I ended up doing something like you suggest in bash. This works fine for me, so there is no longer a need for the panel On/Off action.