nlrb / com.visonic.powermax

Visonic PowerMax application for Homey
https://apps.athom.com/app/com.visonic.powermax
13 stars 8 forks source link

[Feature request] Bypassing Zones #27

Closed jeroenvano closed 6 years ago

jeroenvano commented 6 years ago

Hi Ramon,

Would it be possible to add flows to by pass zones before arming the alarm?

Regards, Jeroen

nlrb commented 6 years ago

Hi Jeroen,

I only notice your request now. Yes, I can add it to the flow as an action. Up to you then when to execute the bypass :-).

Grtz, -R.

jeroenvano commented 6 years ago

Hi Ramon,

Just installed the latest github version but I am unable to find how to add the bypass in a flow. enabling/disabling the sensor has been selected in the panel, but the sensor cards do not have action in flows to be bypassed or disabled. I removed and added one window sensor to be sure I used the latest driver.

Any tips ?

Regards, Jeroen

nlrb commented 6 years ago

What type of sensor did you drag to the 'then' part?

nlrb commented 6 years ago

BTW: if you look at lines 1250-1272 in app.json you see the bypass related actions defined.

jeroenvano commented 6 years ago

I tried to disable a window/door sensor. Can you give a flow example?

nlrb commented 6 years ago

image

Make sure you do a CTRL-R (refresh) in your browser or Homey app, otherwise you won't see the new cards!

jeroenvano commented 6 years ago

Had to re-install the latest github version, now I also have the new action cards to build a flow. In the tags "enabled" or "aangezet" does not change (stays on yes) for the device after running the flow to disable? This should indicate if the sensor is currently enabled or disabled right?

nlrb commented 6 years ago

Yes, indeed. I see the tag change when enabling/disabling a sensor. If it does not change, your panel settings probably disallow it. But then it also does not work with the mobile cards.

jeroenvano commented 6 years ago

Ok, it does not change so I need to figure out how to allow it in the panel settings. Thanks!

nlrb commented 6 years ago

See section 4.4.8 of the manual.

jeroenvano commented 6 years ago

Thanks for the hint in the manual, I have it working now :) Sweet!