Paradox Alarm MQTT Hassio addon

Hello,
installed now like this tutorial - and same Problems like user “marksh”.
Is there any suggestion to use with IP150 and panel-firmware 6.86 and ip150 firmware 5.02.09

PAI tested and working. But i want to use the MQTT HASSIO addon…

Here my Logoutput:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Traceback (most recent call last):
  File "ip150_mqtt.py", line 140, in <module>
    ip_mqtt.loop_forever()
  File "ip150_mqtt.py", line 131, in loop_forever
    mqc.connect(mqtt_hostname, mqtt_port)
  File "/usr/lib/python3.8/site-packages/paho/mqtt/client.py", line 937, in connect
    return self.reconnect()
  File "/usr/lib/python3.8/site-packages/paho/mqtt/client.py", line 1071, in reconnect
    sock = self._create_socket_connection()
  File "/usr/lib/python3.8/site-packages/paho/mqtt/client.py", line 3522, in _create_socket_connection
    return socket.create_connection(addr, source_address=source, timeout=self._keepalive)
  File "/usr/lib/python3.8/socket.py", line 808, in create_connection
    raise err
  File "/usr/lib/python3.8/socket.py", line 796, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

thanks

Not sure if your question is still relevant, but I’d try setting the MQTT_ADDRESS to something other than 127.0.0.1 or localhost. try the FQDN or LAN IP of your home assistant installation. I hope this helps.

Hello,

I am using the Paradox IP150 MQTT Adapter since the beginning and the setup can be quite tricky. A month or two ago I had to reinstall everything and no matter what I did, I simply could not reconnect to the Paradox Module.

I double checked passwords, code, MQTT username, MQTT password, connection to the alarm webpage (it connected without issue) and I would always get the same ip_mqtt.loop_forever error that you have.

Somehow at one point in time the error disappeared (might be after a reboot) and it is working flawlessly again.

I would therefore doublecheck all the variables (passwords, etc.) check you can access and log into the alarm and if still not working reboot HA.

You also need to check the firmware of the IP150 module - it used to be only working with FW < 1.40.

Good luck

I had been using pai to manage our Paradox alarm via MQTT into HA. It had been working really well until about 3 weeks ago and then it stopped, it started to get an error about a month out of range which I could not resolve. I came across the HA add-on and decided to give that a try as it meant I can delete the PAI VM. I am not having much success in getting it to work. My IP150 is back at v1.xx so I think I am ok there, my solution to preventing updates was to set the gateway on the 150 to 0.0.0.0 which effectively prevents access to the Internet. If someone who has this setup working can contact me I’d really value some help.

I am sometimes getting the Error: ip150.Paradox_IP150_Error: Wrong page fetcehd. But the ‘User’ light on the IP150 is on which I believe show that the login succeeded. Most of the time the log doesn’t show anything. after the startup.

Finally making significant progress. Turned out that the PAI<->MQTT setup I had actually added a lot of nodes in the MQTT ‘database’. This made the whole setup REALLY confusing. Having deleted all the nodes below ‘paradox’, I now have a bunch of nodes that are actually following the state of the IP150.

Matching the states up with the various detectors has been a bit of trial and error.

Still haven’t managed to determine which state is the smoke alarm, I think I might have to set it off and see which state changes. I am using MQTT Explorer which keeps a history of the state changes which has been useful for other things as well. After a bit of a rocky start, I am pleased with the outcome.

I just tried to setup PAI on HA Supervised by:

  1. installing MQTT broker HA add-on (https://github.com/home-assistant/hassio-addons/tree/master/mosquitto) and configuring a “pai” user
  2. installing ParadoxAlarmInterface HA add-on (GitHub - ParadoxAlarmInterface/pai: Paradox Magellan, Spectra and EVO, with MQTT, Signal, Pushbullet, Pushover and others) and configuring it as below:
    CONNECTION_TYPE: IP
    IP_CONNECTION_HOST: IP of IP150 module (x.x.x.x)
    IP_CONNECTION_PORT: port of IP150 module (11000)
    IP_CONNECTION_PASSWORD: IP150 module password
    PASSWORD: Paradox 4-digit PC password
    MQTT_HOST: core-mosquitto
    MQTT_PORT: 1883
    MQTT_USERNAME: pai
    MQTT_PASSWORD: MQTT password
    IP_INTERFACE_PASSWORD: password

Unfortunately, on PAI log I get the following:
2021-06-30 18:24:33,241 - INFO - PAI.paradox.connections.ip.connection - Connecting. Try 3/3
2021-06-30 18:24:33,243 - ERROR - PAI.paradox.connections.ip.connection - Connect failed (try 3/3): [Errno 111] Connect call failed (‘192.168.1.120’, 11000)
2021-06-30 18:24:33,243 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2021-06-30 18:24:33,243 - ERROR - PAI - Unable to connect to alarm

Could someone help?

This thread is not about that gateway, but rather a different peice of software. I’d suggest you find a thread discussing PAI instead as I (and I’d imagine most here) don’t use it.

Hi!
is it possible to integrate the view of the status of the backup battery?

state_topic: "paradox/states/system/power/battery"

image

Thanks

Based on that screen grab, it would appear so. Did you try to make a MQTT sensor?

I’ve tried, but it doesn’t seem to work.
That is a MQTT Explorer screenshot…

The addon described in this thread isn’t reporting that information; nevertheless, if that’s advertised as an MQTT topic it should be possible to display that information in HA by setting up the related sensor. Hope this helps!

I tried to do it like this, but it didn’t work.

sensor:
  - platform: mqtt
    state_topic: "paradox/states/system/power/battery"
    name: "Backup Battery"
    unit_of_measurement: "%"
    value_template: "{{ value_json.batt }}"

Please could you try with your HomeAssistant?
But I believe this add-on needs to be modified/updated to work properly.

Hi All

Tried setting up the hassio integration this eve by following step by step instructions. Running on rpi3 and IP150 fw version is 5.02.19.

Connection to IP150 seems fine and tried debugging in Node-Red. Seems Im only receiving data on topic paradox/ctrl/state and it keeps connecting and disconnecting

I found this in adapter logs:

AttributeError: ‘NoneType’ object has no attribute ‘recv’
Traceback (most recent call last):

  • File “ip150_mqtt.py”, line 140, in *
  • ip_mqtt.loop_forever()*
  • File “ip150_mqtt.py”, line 133, in loop_forever*
  • mqc.loop_forever()*
  • File “/usr/lib/python3.8/site-packages/paho/mqtt/client.py”, line 1782, in loop_forever*
  • rc = self.loop(timeout, max_packets)*
  • File “/usr/lib/python3.8/site-packages/paho/mqtt/client.py”, line 1177, in loop*
  • rc = self.loop_read(max_packets)*
  • File “/usr/lib/python3.8/site-packages/paho/mqtt/client.py”, line 1568, in loop_read*
  • rc = self._packet_read()*
  • File “/usr/lib/python3.8/site-packages/paho/mqtt/client.py”, line 2271, in _packet_read*
  • byte = self._sock_recv(1)*
  • File “/usr/lib/python3.8/site-packages/paho/mqtt/client.py”, line 660, in _sock_recv*
  • return self._sock.recv(bufsize)*

any idea what could cause?

tx

Read rhe docs and the thread. Won’t work on v5 firmware, you will have to try the other components linked many times in this thread.

Hi all, I am also having some issues with the Paradox addon. I can see the Entities but they show unavailable. with the error “This entity (“binary_sensor.front_door”) does not have a unique ID”

IP150 version 4.42.

Paradox adapter settings
IP150_ADDRESS: http : //“ip of the ip150”
PANEL_CODE: ‘code to arm disarm alarm’
PANEL_PASSWORD: “ip150 password”
MQTT_ADDRESS: mqtt : // core-mosquitto
MQTT_USERNAME: mqtt
MQTT_PASSWORD: Parad0x
ALARM_PUBLISH_TOPIC: paradox/alarm/state
ALARM_SUBSCRIBE_TOPIC: paradox/alarm/cmnd
ZONE_PUBLISH_TOPIC: paradox/zone/state
CTRL_PUBLISH_TOPIC: paradox/ctrl/state
CTRL_SUBSCRIBE_TOPIC: paradox/ctrl/cmnd`

configuration.yaml

mqtt
mqtt:
broker: mqtt://core-mosquitto
port: 1883
client_id: “not sure what to put in here”
username: mqtt
password: “password of mqtt user”

#Paradox alarm system
alarm_control_panel:

  • platform: mqtt
    name: “House”
    state_topic: “paradox/alarm/state/1”
    command_topic: “paradox/alarm/cmnd/1”
    qos: 1
    availability_topic: “paradox/ctrl/state”
    payload_available: “Connected”
    payload_not_available: “Disconnected”
    payload_disarm: “DISARM”
    payload_arm_home: “ARM_HOME”
    payload_arm_away: “ARM_AWAY”
    payload_arm_night: “ARM_NIGHT”
    #code: “arm disarm code”

#Load all binary sensors
binary_sensor:

  • platform: mqtt
    state_topic: “paradox/zone/state/11”
    name: “Front Door”
    qos: 1
    payload_on: “on”
    payload_off: “off”
    availability_topic: “paradox/ctrl/state”
    payload_available: “Connected”
    payload_not_available: “Disconnected”
    device_class: door

  • platform: mqtt
    state_topic: “paradox/zone/state/7”
    name: “Main Bed”
    qos: 1
    payload_on: “on”
    payload_off: “off”
    availability_topic: “paradox/ctrl/state”
    payload_available: “Connected”
    payload_not_available: “Disconnected”
    device_class: motion

  • platform: mqtt
    state_topic: “paradox/zone/state/6”
    name: “PASSAGE PIR”
    qos: 1
    payload_on: “on”
    payload_off: “off”
    availability_topic: “paradox/ctrl/state”
    payload_available: “Connected”
    payload_not_available: “Disconnected”
    device_class: motion

I am also still getting the error below.
“Traceback (most recent call last):
File “ip150_mqtt.py”, line 140, in
ip_mqtt.loop_forever()
File “ip150_mqtt.py”, line 133, in loop_forever
mqc.loop_forever()
File “/usr/lib/python3.8/site-packages/paho/mqtt/client.py”, line 1782, in loop_forever
rc = self.loop(timeout, max_packets)
File “/usr/lib/python3.8/site-packages/paho/mqtt/client.py”, line 1177, in loop
rc = self.loop_read(max_packets)
File “/usr/lib/python3.8/site-packages/paho/mqtt/client.py”, line 1568, in loop_read
rc = self._packet_read()
File “/usr/lib/python3.8/site-packages/paho/mqtt/client.py”, line 2300, in _packet_read
data = self._sock_recv(self._in_packet[‘to_process’])
File “/usr/lib/python3.8/site-packages/paho/mqtt/client.py”, line 660, in _sock_recv
return self._sock.recv(bufsize)
AttributeError: ‘NoneType’ object has no attribute ‘recv’”

The add-on keeps working for me and all’s well, but I noticed a strange thing.
Does anybody have an issue with IP150 cable disconnects?
Here’s what I found in the logs of my Paradox box:

|2021-09-22 10:42|Cable unplugged||
| --- | --- | --- |
|2021-09-22 10:41|Panel event|1. Software logout|
|2021-09-22 10:41|Panel event|1. IP module access through serial connection|
|2021-09-22 10:41|User logout|1. User xxx|

I don’t have that issue…

Hello, now I am using between EVO HD with IP100 and HA PAI (Paradox Alarm Interface ) but connection is not stabil. I am trying instal this add-on.
I a first step, register your repository in HA. I copied an URL, at top right corner I register this, and I have it in a list of repository.
But I have not it a list of installable addons in a Addon Store. I tried restart HA server, refresh a repositories and I still have not your addon for instalation.
Please, can you help me?
I have hassio OS.
Thank you

First 3 lines of the documentation:

From the Home Assistant home page, click on the Hass.io menu item, then go the Add-on Store tab.
Add a repository with the following URL:
GitHub - maisken/hassio-addons: Repository for Hassio add-ons