ParadoxAlarmInterface/pai

AuthenticationFailed - Invalid PC Password

Closed this issue · 2 comments

Alarm system

Magellan MG5050, firm: 4.86
IP 150 module firm: 5.02.58

Environment

Home Assistant OS 11.4, core version 2024.1.3 over VirtualBox VM

Describe the bug

I can connect to the IP module via web browser with no problem, I can connect to the alarm itself from the babyware software perfectly, once I start the add-on it connects to the IP module and to the panel, but it cannot authetify. I'm sure that I am entering the correct password, and I have tried several different passwords.
I'd like to know if the passwords are where they need to be, I mean, the babyware PC password goes in the IP interface password field (see my config below), and the other password I believe it's the installers passwords.
I also would like to know in the case that I can't solve this problem if working with serial communication would bypass the use of the PC password therefore being able to connect to the pannel.
Thank you very much iun advance for this awesome add-on and your work !!! :)

My config

LOGGING_LEVEL_CONSOLE: 20
LOGGING_LEVEL_FILE: 40
CONNECTION_TYPE: IP
SERIAL_PORT: /dev/ttyUSB0
SERIAL_BAUD: 9600
IP_CONNECTION_HOST: 192.xxxxxx  ##(it's correct since it's the one I use to connect through the web)
IP_CONNECTION_PORT: 10000
IP_CONNECTION_PASSWORD: paradox ##(default password)
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: "xxxx" ##(I believe this is de default one)
MQTT_ENABLE: true
MQTT_HOST: core-mosquitto
MQTT_PORT: 1883
MQTT_KEEPALIVE: 60
MQTT_USERNAME: xxxx
MQTT_PASSWORD: xxxx
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: true ##(I assume this has to be enabled, and yes I've tried enabled and disabled)
IP_INTERFACE_PASSWORD: "xxxx" ##(this is the one giving me problems, it's the one I use to connect via BabyWare and it doesn't contain any 0, and I have changed it to a several different amount of passwords, all of them with the same outcome)
DUMMY_EVENT_FILTERS: []

Logs

INFO     - PAI - Starting Paradox Alarm Interface 3.4.0
INFO     - PAI - Config loaded from /data/options.json
INFO     - PAI - Console Log level set to 20
INFO     - PAI.paradox.interfaces - Starting BasicMQTTInterface Interface
INFO     - PAI.paradox.interfaces.mqtt.core - MQTT loop started
INFO     - PAI.paradox.interfaces - Starting HomeAssistantMQTTInterface Interface
INFO     - PAI.paradox.interfaces.ip_interface.interface - Starting IPInterface Interface
INFO     - PAI - Starting...
INFO     - PAI.paradox.paradox - Connecting to interface
INFO     - PAI.paradox.paradox - Using IP Connection
INFO     - PAI.paradox.connections.ip.connection - Connecting. Try 1/3
INFO     - PAI.paradox.interfaces.ip_interface.interface - IP Interface started
INFO     - PAI.paradox.connections.connection - Connection established
INFO     - PAI.paradox.connections.ip.commands - Authenticating with IP Module
INFO     - PAI.paradox.connections.ip.commands - Authentication Success. IP(IP150) Module version 20, firmware: 5.2
INFO     - PAI.paradox.connections.ip.commands - Session successfully established with IP Module
INFO     - PAI.paradox.paradox - Connecting to Panel
INFO     - PAI.paradox.paradox - Panel Identified MG5050 version 4.86 build 6
INFO     - PAI.paradox.paradox - Initiating panel connection

(more code...)

ERROR    - PAI.paradox.paradox - Got ERROR Message: Invalid PC Password
ERROR    - PAI.paradox.lib.handlers - Exception caught during message handling

(more code...)

ERROR    - PAI.paradox.exceptions - Unhandled exception in async loop(<_UnixSelectorEventLoop running=True closed=False debug=False>)

(more code...)

paradox.exceptions.AuthenticationFailed

PASSWORD is PC Password. No installers password is required. Check wiki for more info.
If your PC password contains 0 sometimes it is required to replace it with a.

IP_INTERFACE_ENABLE is for connecting with Babyware through PAI.

Also check compatibility table in the wiki if anybody already had such an old fw version.

Thank you very much!!!! That was it, I was entering the password in the wrong field. So I can confirm that with my firmwares works well. So if you want to update the table, since I don't know how to do it.
Again thank you very much for your work, really appreciate it.