davesmeghead / visonic

Visonic Custom Component for integration with Home Assistant
Apache License 2.0
92 stars 20 forks source link

0.9.6.21 - After updating impossible to pass Arn/Disarm with my powermax Pro #143

Closed g4seb closed 3 months ago

g4seb commented 3 months ago

Hi @davesmeghead , i have a problem after new update... At this time, impossible for me to pass the powermac Arm or Disarm with Home Assistant.

This is my log file:

https://www.dropbox.com/scl/fi/n75qa371d4acw6d4a30fg/home-assistant-3.log?rlkey=cyc2owci6jmma1kp4d8jd7o14&st=b2bedhq0&dl=0

Could you help me pease ? I read a similar problem, on your GitHub but not with the same panel...

Thanks

g4seb commented 3 months ago

I reload, reboot, wait a long time, and now it"s ok...Strange

davesmeghead commented 3 months ago

From your log file I can explain it Lines 265 and 266

2024-08-19 14:12:20.464 DEBUG (SyncWorker_0) [custom_components.visonic.client] P0  Send command to Visonic Alarm Panel: ARM_AWAY
2024-08-19 14:12:20.466 DEBUG (SyncWorker_0) [custom_components.visonic.client] P0  Client: Sending HA Event visonic_alarm_command_to_panel  {'panel': 0, 'panel_id': 'alarm_control_panel.visonic_alarm', 'action': 'armdisarm', 'ready': False, 'open': ['binary_sensor.visonic_z04'], 'bypass': [], 'tamper': [], 'zonetamper': [], 'command': 'Arm_Away', 'reason': 0, 'reason_str': 'Success', 'message': 'Request Arm/Disarm Success, sent Command to Panel'}

Please note this information 'ready': False, 'open': ['binary_sensor.visonic_z04']

The panel is "Not Ready" as Zone 4 is open. The panel will only Arm Away if the Zone is closed or bypassed.

I assume that after you rebooted and waited a long time, Zone 4 was closed

You can alter your config to create Home Assistant Notifications or you can create an automation to respond to the HA Event that is generated i.e. line 266 details the Event Data.

Regards Dave