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

HA add-ons: Dev Version & 2nd Instance crash each other #274

Closed beerygaz closed 2 years ago

beerygaz commented 2 years ago

i'm trying to run both the dev version and 2nd instance add-ons for HA simultaneously to manage 2 panels. As soon as I launch the 2nd instance it fails and so does the dev instance. (I have the config pointed at different IP addresses). Dev version of add-on at an IP150 and 2nd instance at an IP100 both on EVO192 panels.

Log from 2nd instance startup:

2022-01-03 16:32:38,449 - INFO     - PAI.paradox.hardware.panel - Zone definitions loaded (1.15s)
2022-01-03 16:32:38,576 - INFO     - PAI.paradox.hardware.panel - Partition definitions loaded (0.13s)
2022-01-03 16:32:46,517 - ERROR    - PAI.paradox.paradox - Timeout while connecting to panel. Is an other connection active?
2022-01-03 16:32:46,518 - ERROR    - PAI - Unable to connect to alarm
2022-01-03 16:32:47,519 - INFO     - PAI - Starting...
2022-01-03 16:32:47,520 - INFO     - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2022-01-03 16:32:47,520 - INFO     - PAI.paradox.paradox - Clean Session
2022-01-03 16:32:47,520 - INFO     - PAI.paradox.paradox - Cleaning previous session. Closing connection
2022-01-03 16:32:47,521 - ERROR    - PAI.paradox.connections.protocols - Connection was closed: None
2022-01-03 16:32:47,521 - ERROR    - PAI.paradox.connections.connection - Connection was lost
2022-01-03 16:32:47,522 - INFO     - PAI.paradox.paradox - Disconnected from the Alarm Panel
2022-01-03 16:32:47,522 - INFO     - PAI.paradox.paradox - Connecting to interface
2022-01-03 16:32:47,523 - INFO     - PAI.paradox.connections.ip.connection - Connecting. Try 1/3
2022-01-03 16:32:49,665 - INFO     - PAI.paradox.connections.connection - Connection established
2022-01-03 16:32:49,665 - INFO     - PAI.paradox.connections.ip.commands - Authenticating with IP Module
2022-01-03 16:32:49,796 - INFO     - PAI.paradox.connections.ip.commands - Authentication Success. IP(IP100) Module version 101, firmware: 5.20, serial: 7000e201
2022-01-03 16:32:50,175 - INFO     - PAI.paradox.connections.ip.commands - Session successfully established with IP Module
2022-01-03 16:32:50,175 - INFO     - PAI.paradox.paradox - Connecting to Panel
2022-01-03 16:32:55,186 - ERROR    - PAI.paradox.paradox - Timeout while connecting to panel. Is an other connection active?
2022-01-03 16:32:55,186 - ERROR    - PAI - Unable to connect to alarm
2022-01-03 16:33:01,193 - INFO     - PAI - Starting...
2022-01-03 16:33:01,193 - INFO     - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2022-01-03 16:33:01,193 - INFO     - PAI.paradox.paradox - Clean Session
2022-01-03 16:33:01,193 - INFO     - PAI.paradox.paradox - Cleaning previous session. Closing connection
2022-01-03 16:33:01,195 - ERROR    - PAI.paradox.connections.protocols - Connection was closed: None
2022-01-03 16:33:01,195 - ERROR    - PAI.paradox.connections.connection - Connection was lost
2022-01-03 16:33:01,196 - INFO     - PAI.paradox.paradox - Disconnected from the Alarm Panel
2022-01-03 16:33:01,196 - INFO     - PAI.paradox.paradox - Connecting to interface
2022-01-03 16:33:01,196 - INFO     - PAI.paradox.connections.ip.connection - Connecting. Try 1/3
2022-01-03 16:33:01,385 - INFO     - PAI.paradox.connections.connection - Connection established
2022-01-03 16:33:01,385 - INFO     - PAI.paradox.connections.ip.commands - Authenticating with IP Module
2022-01-03 16:33:01,516 - INFO     - PAI.paradox.connections.ip.commands - Authentication Success. IP(IP100) Module version 101, firmware: 5.20, serial: 7000e201
2022-01-03 16:33:01,896 - INFO     - PAI.paradox.connections.ip.commands - Session successfully established with IP Module
2022-01-03 16:33:01,896 - INFO     - PAI.paradox.paradox - Connecting to Panel
2022-01-03 16:33:02,077 - INFO     - PAI.paradox.paradox - Panel Identified EVO192 version 7.1 build 4
2022-01-03 16:33:02,077 - INFO     - PAI.paradox.paradox - Initiating panel connection
2022-01-03 16:33:02,258 - INFO     - PAI.paradox.hardware.evo.panel - Installer login
2022-01-03 16:33:02,416 - INFO     - PAI.paradox.hardware.evo.panel - Authentication Success
2022-01-03 16:33:02,416 - INFO     - PAI.paradox.paradox - Connection OK
2022-01-03 16:33:02,417 - INFO     - PAI.paradox.paradox - Loading data from panel memory
2022-01-03 16:33:02,417 - INFO     - PAI.paradox.hardware.panel - Loading definitions
2022-01-03 16:33:02,417 - INFO     - PAI.paradox.hardware.panel - Updating Definitions from Panel
2022-01-03 16:33:08,228 - ERROR    - PAI.paradox.paradox - Timeout while connecting to panel. Is an other connection active?
2022-01-03 16:33:08,229 - ERROR    - PAI - Unable to connect to alarm
2022-01-03 16:33:15,234 - INFO     - PAI - Starting...
2022-01-03 16:33:15,235 - INFO     - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2022-01-03 16:33:15,235 - INFO     - PAI.paradox.paradox - Clean Session
2022-01-03 16:33:15,235 - INFO     - PAI.paradox.paradox - Cleaning previous session. Closing connection
2022-01-03 16:33:15,236 - ERROR    - PAI.paradox.connections.protocols - Connection was closed: None
2022-01-03 16:33:15,236 - ERROR    - PAI.paradox.connections.connection - Connection was lost
2022-01-03 16:33:15,237 - INFO     - PAI.paradox.paradox - Disconnected from the Alarm Panel
2022-01-03 16:33:15,237 - INFO     - PAI.paradox.paradox - Connecting to interface
2022-01-03 16:33:15,237 - INFO     - PAI.paradox.connections.ip.connection - Connecting. Try 1/3
2022-01-03 16:33:30,615 - INFO     - PAI.paradox.connections.connection - Connection established
2022-01-03 16:33:30,616 - INFO     - PAI.paradox.connections.ip.commands - Authenticating with IP Module
2022-01-03 16:33:30,746 - INFO     - PAI.paradox.connections.ip.commands - Authentication Success. IP(IP100) Module version 101, firmware: 5.20, serial: 7000e201
2022-01-03 16:33:31,126 - INFO     - PAI.paradox.connections.ip.commands - Session successfully established with IP Module
2022-01-03 16:33:31,126 - INFO     - PAI.paradox.paradox - Connecting to Panel
2022-01-03 16:33:36,136 - ERROR    - PAI.paradox.paradox - Timeout while connecting to panel. Is an other connection active?
2022-01-03 16:33:36,137 - ERROR    - PAI - Unable to connect to alarm
2022-01-03 16:33:37,747 - ERROR    - PAI.paradox.lib.handlers - No handler for message 7
Detail: Container: 
    fields = Container: 
        data = b'r\xff\x04\x02\x00\x00\xa1Z\x01\x07\x01\x04\x05\x04\xad='... (truncated, total 36)
        value = Container: 
            po = Container: 
                command = 7
                message_center = 2
            new_protocol = 255
            protocol_id = 4
            protocol = Container: 
                version = 2
                revision = 0
                build = 0
            family_id = 161
            product_id = (enum) (unknown) 90
            talker = (enum) CONTROLLER_APPLICATION 1
            application = Container: 
                version = 7
                revision = 1
                build = 4
            serial_number = b'\x05\x04\xad=' (total 4)
            hardware = Container: 
                version = 9
                revision = 145
            bootloader = Container: 
                version = 1
                revision = 0
                build = 15
                day = 39
                month = 16
                year = 32
            processor_id = 16
            encryption_id = 49
            reserved0 = b'\xffW' (total 2)
            label = b'EVO192\x00\x00' (total 8)
        offset1 = 0
        offset2 = 36
        length = 36
    checksum = b'\x90' (total 1)
yozik04 commented 2 years ago

Resolved in 3.0.0