ParadoxAlarmInterface / pai

Paradox Magellan, Spectra and EVO, with MQTT, Signal, Pushbullet, Pushover and others
https://gitter.im/paradox-alarm-interface
Eclipse Public License 2.0
347 stars 92 forks source link

binary_sensors in HA not triggering #266

Closed thetastate1 closed 2 years ago

thetastate1 commented 2 years ago

Hi all. Interface seems to be working but not updating the binary_sensors in HA.

Edit: PIR sensors not working because they had all run out of batteries. Doh! Leaving this incase others are as silly as me.

Integration works as designed.

Alarm system

MG5050 IP150+ fw5.3

Environment

Linux running Home Assistant, node-red, mqtt Python 3.8

Git branch

Assume this one?

Question

Hi all. Thanks to the community for this terrific integration.

Looking for advice. I suspect I'm not understanding how to use pai and / or my alarm properly.

I have an MG5050 with IP150+ running fw5.3.

No web interface on the IP150+

I can't use Insight Gold as when I tried to create an account it was denied by the distributor here in Australia...

Pai seems to load fine and authenticate with the IP150+ and panel.

MQTT automatically creates the sensors, switches, and 2x Alarm Panels in Home Assistant.

The binary_sensors in HA never detect motion. Assuming I don't need to arm the alarm to get the binary_sensors working in HA...

The main use case I set this integration up for is to use the PIR sensors in each room to trigger automations in HA.

Advice appreciated.

Console log: _Attempting to load configuration from /etc/pai/pai.conf 2021-10-21 16:39:55,219 - INFO - PAI - Starting Paradox Alarm Interface 2.7.1 2021-10-21 16:39:55,219 - INFO - PAI - Config loaded from /etc/pai/pai.conf 2021-10-21 16:39:55,219 - INFO - PAI - Console Log level set to 20 2021-10-21 16:39:55,276 - INFO - PAI.paradox.interfaces - Starting BasicMQTTInterface Interface 2021-10-21 16:39:55,278 - INFO - PAI.paradox.interfaces.mqtt.core - MQTT loop started 2021-10-21 16:39:55,280 - INFO - PAI.paradox.interfaces - Starting HomeAssistantMQTTInterface Interface 2021-10-21 16:39:55,281 - INFO - PAI - Starting... 2021-10-21 16:39:55,281 - INFO - PAI.paradox.paradox - Connecting to interface 2021-10-21 16:39:55,281 - INFO - PAI.paradox.paradox - Using IP Connection 2021-10-21 16:39:55,410 - INFO - PAI.paradox.connections.ip.connection - Connecting. Try 1/3 2021-10-21 16:39:55,415 - INFO - PAI.paradox.connections.connection - Connection established 2021-10-21 16:39:55,416 - INFO - PAI.paradox.connections.ip.commands - Authenticating with IP Module 2021-10-21 16:39:55,424 - INFO - PAI.paradox.connections.ip.commands - Authentication Success. IP(114) Module version 20, firmware: 5.3, serial: xxxxxx 2021-10-21 16:39:55,448 - INFO - PAI.paradox.connections.ip.commands - Session successfully established with IP Module 2021-10-21 16:39:55,448 - INFO - PAI.paradox.paradox - Connecting to Panel 2021-10-21 16:39:55,556 - INFO - PAI.paradox.paradox - Panel Identified MG5050 version 4.81 build -1 2021-10-21 16:39:55,556 - INFO - PAI.paradox.paradox - Initiating panel connection 2021-10-21 16:39:55,683 - INFO - PAI.paradox.hardware.spectra_magellan.panel - Installer login 2021-10-21 16:39:55,793 - INFO - PAI.paradox.hardware.spectra_magellan.panel - Authentication Success 2021-10-21 16:39:55,793 - INFO - PAI.paradox.paradox - Connection OK 2021-10-21 16:39:55,793 - INFO - PAI.paradox.paradox - Loading data from panel memory 2021-10-21 17:36:32,104 - INFO - PAI.paradox.hardware.panel - Loading definitions 2021-10-21 17:36:32,105 - INFO - PAI.paradox.hardware.panel - Updating Definitions from Panel 2021-10-21 17:36:32,506 - INFO - PAI.paradox.interfaces.mqtt.core - MQTT Broker Connected 2021-10-21 17:36:32,539 - INFO - PAI.paradox.hardware.panel - Zone definitions loaded (0.43s) 2021-10-21 17:36:32,998 - INFO - PAI.paradox.hardware.panel - Pgm definitions loaded (0.46s) 2021-10-21 17:36:33,004 - INFO - PAI.paradox.hardware.panel - Loading labels 2021-10-21 17:36:33,004 - INFO - PAI.paradox.hardware.panel - Updating Labels from Panel_ ...

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.