Hi all,
I’m trying to integrate my EvoHD control panel with an IP150+ module
This is the error it gives me. some advice?
Thanks!!
2024-04-09 12:13:26,851 - INFO - PAI - Starting...
2024-04-09 12:13:26,851 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-04-09 12:13:26,851 - INFO - PAI.paradox.paradox - Clean Session
2024-04-09 12:13:26,851 - INFO - PAI.paradox.paradox - Cleaning previous session. Closing connection
2024-04-09 12:13:26,852 - ERROR - PAI.paradox.connections.protocols - Connection was closed: None
2024-04-09 12:13:26,852 - ERROR - PAI.paradox.connections.connection - Connection was lost
2024-04-09 12:13:26,852 - INFO - PAI.paradox.paradox - Disconnected from the Alarm Panel
2024-04-09 12:13:26,852 - INFO - PAI.paradox.paradox - Connecting to interface
2024-04-09 12:13:26,852 - INFO - PAI.paradox.connections.ip.connection - Connecting. Try 1/3
2024-04-09 12:13:26,858 - INFO - PAI.paradox.connections.connection - Connection established
2024-04-09 12:13:26,858 - INFO - PAI.paradox.connections.ip.commands - Authenticating with IP Module
2024-04-09 12:13:26,865 - INFO - PAI.paradox.connections.ip.commands - Authentication Success. IP(114) Module version 20, firmware: 5.6, serial: 72054ef7
2024-04-09 12:13:26,876 - INFO - PAI.paradox.connections.ip.commands - Session successfully established with IP Module
2024-04-09 12:13:26,877 - INFO - PAI.paradox.paradox - Connecting to Panel
2024-04-09 12:13:26,902 - INFO - PAI.paradox.paradox - Panel Identified EVOHD version 7.31 build 1
2024-04-09 12:13:26,902 - INFO - PAI.paradox.paradox - Initiating panel connection
2024-04-09 12:13:26,926 - ERROR - PAI - Restarting
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/paradox/main.py", line 81, in run_loop
if await alarm.full_connect():
File "/usr/local/lib/python3.9/site-packages/paradox/paradox.py", line 212, in full_connect
if not await self.connect():
File "/usr/local/lib/python3.9/site-packages/paradox/paradox.py", line 192, in connect
result = await self.panel.initialize_communication(cfg.PASSWORD)
File "/usr/local/lib/python3.9/site-packages/paradox/hardware/evo/panel.py", line 172, in initialize_communication
payload = parsers.InitializeCommunication.build(
File "/usr/local/lib/python3.9/site-packages/construct/core.py", line 356, in build
self.build_stream(obj, stream, **contextkw)
File "/usr/local/lib/python3.9/site-packages/construct/core.py", line 368, in build_stream
self._build(obj, stream, context, "(building)")
File "/usr/local/lib/python3.9/site-packages/construct/core.py", line 2024, in _build
buildret = sc._build(subobj, stream, context, path)
File "/usr/local/lib/python3.9/site-packages/construct/core.py", line 2493, in _build
return self.subcon._build(obj, stream, context, path)
File "/usr/local/lib/python3.9/site-packages/construct/core.py", line 4386, in _build
buildret = self.subcon._build(value, stream, context, path)
File "/usr/local/lib/python3.9/site-packages/construct/core.py", line 2024, in _build
buildret = sc._build(subobj, stream, context, path)
File "/usr/local/lib/python3.9/site-packages/construct/core.py", line 2493, in _build
return self.subcon._build(obj, stream, context, path)
File "/usr/local/lib/python3.9/site-packages/construct/core.py", line 2761, in _build
return self.subcon._build(obj, stream, context, path)
File "/usr/local/lib/python3.9/site-packages/construct/core.py", line 865, in _build
stream_write(stream, data, length, path)
File "/usr/local/lib/python3.9/site-packages/construct/core.py", line 109, in stream_write
raise StreamError("bytes object of wrong length, expected %d, found %d" % (length, len(data)), path=path)
construct.core.StreamError: Error in path (building) -> fields -> pc_password
bytes object of wrong length, expected 2, found 3
Here the PAI conf on Hassio:
LOGGING_LEVEL_CONSOLE: 20
LOGGING_LEVEL_FILE: 40
CONNECTION_TYPE: IP
SERIAL_PORT: /dev/ttyUSB0
SERIAL_BAUD: 9600
IP_CONNECTION_HOST: 192.168.0.106
IP_CONNECTION_PORT: 10000
IP_CONNECTION_PASSWORD: paradox
KEEP_ALIVE_INTERVAL: 10
LIMITS:
zone: auto
user: 1-10
door: ""
pgm: 1-5
partition: auto
module: ""
repeater: ""
keypad: ""
key-switch: ""
SYNC_TIME: true
SYNC_TIME_MIN_DRIFT: 120
PASSWORD: "000000" (installer password)
MQTT_ENABLE: true
MQTT_HOST: core-mosquitto
MQTT_PORT: 1883
MQTT_KEEPALIVE: 60
MQTT_USERNAME: pai
MQTT_PASSWORD: pai
MQTT_HOMEASSISTANT_AUTODISCOVERY_ENABLE: true
COMMAND_ALIAS:
arm: partition all arm
disarm: partition all disarm
MQTT_COMMAND_ALIAS:
armed_home: arm_stay
armed_night: arm_sleep
armed_away: arm
disarmed: disarm
HOMEASSISTANT_NOTIFICATIONS_EVENT_FILTERS:
- live,alarm,-restore
- trouble,-clock
- live,tamper
HOMEASSISTANT_PUBLISH_PARTITION_PROPERTIES:
- target_state
- current_state
HOMEASSISTANT_PUBLISH_ZONE_PROPERTIES:
- open
- tamper
PUSHBULLET_CONTACTS: []
PUSHBULLET_EVENT_FILTERS:
- live,alarm,-restore
- trouble,-clock
- live,tamper
PUSHOVER_EVENT_FILTERS:
- live,alarm,-restore
- trouble,-clock
- live,tamper
PUSHOVER_BROADCAST_KEYS: []
SIGNAL_CONTACTS: []
SIGNAL_EVENT_FILTERS:
- live,alarm,-restore
- trouble,-clock
- live,tamper
GSM_CONTACTS: []
GSM_EVENT_FILTERS:
- live,alarm,-restore
- trouble,-clock
- live,tamper
IP_INTERFACE_ENABLE: false
IP_INTERFACE_PASSWORD: "1234" (panel password)
DUMMY_EVENT_FILTERS: []