Security Panel only performs Off Action

Moderator: leecollings

Post Reply
u01pei

Security Panel only performs Off Action

Post 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.
Last edited by u01pei on Monday 25 January 2016 20:22, edited 1 time in total.
User avatar
leecollings
Posts: 167
Joined: Tuesday 30 June 2015 18:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: United Kingdom
Contact:

Re: Security Panel only performs On Action

Post 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
u01pei

Re: Security Panel only performs On Action

Post 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.
User avatar
nayr
Posts: 354
Joined: Tuesday 11 November 2014 18:42
Target OS: Linux
Domoticz version: github
Location: Denver, CO - USA
Contact:

Re: Security Panel only performs Off Action

Post 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.
Debian Jessie: CuBox-i4 (Primary) w/Static Routed IP and x509 / BeagleBone with OpenSprinkler / BeagleBone Planted Aquarium / 3x Raspbery Pi2b GPIO Slaves
Elemental Theme - node-domoticz-mqtt - Home Theatre Controller - AndroidTV Simple OSD Remote - x509 TLS Auth
u01pei

Re: Security Panel only performs Off Action

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest