I have been struggling for a long time but cannot figure it out. My Pi has been configured and when I ssh into it I can read the zones and set the alarm. However on my hass I get a connection error. The IP and port are correctly configured. It is probably something really silly but I cannot find it. Do you have any clue where to look?
This is the config on the pi:
[Unit]
Description=NX584 daemon
[Service]
Type=simple
User=pi
WorkingDirectory=/usr/local/bin/
ExecStart=/usr/local/bin/nx584_server --config /home/pi/alarmpanel.ini --serial /dev/ttyUSB0 --baud 9600 --listen localhost --port 5007 --log /home/pi/nx584.log
Restart=on-failure
[Install]
WantedBy=multi-user.target
And the alarmpanel.ini file:
[config]
max_zones = 24
euro_date_format = False
On the hass the error is:
2021-09-07 14:47:41 ERROR (SyncWorker_3) [homeassistant.components.nx584.binary_sensor] Unable to connect to NX584: HTTPConnectionPool(host='192.168.1.210', port=5007): Max retries exceeded with url: /zones (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f375bb280>: Failed to establish a new connection: [Errno 111] Connection refused'))
2021-09-07 14:47:41 ERROR (MainThread) [homeassistant.components.nx584.alarm_control_panel] Unable to connect to http://192.168.1.210:5007: HTTPConnectionPool(host='192.168.1.210', port=5007): Max retries exceeded with url: /zones (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f372ab6d0>: Failed to establish a new connection: [Errno 111] Connection refused'))
Hello,
I have been struggling for a long time but cannot figure it out. My Pi has been configured and when I ssh into it I can read the zones and set the alarm. However on my hass I get a connection error. The IP and port are correctly configured. It is probably something really silly but I cannot find it. Do you have any clue where to look?
This is the config on the pi: [Unit] Description=NX584 daemon [Service] Type=simple User=pi WorkingDirectory=/usr/local/bin/ ExecStart=/usr/local/bin/nx584_server --config /home/pi/alarmpanel.ini --serial /dev/ttyUSB0 --baud 9600 --listen localhost --port 5007 --log /home/pi/nx584.log Restart=on-failure [Install] WantedBy=multi-user.target
And the alarmpanel.ini file: [config] max_zones = 24 euro_date_format = False
[zones] 1 = Voordeur 2 = Hal 3 = Werkkamer 4 = Slaapkamer 5 = Deur Keuken 6 = Keuken 7 = Rook Bijkeuken 8 = Deur Bijkeuken 9 = Woonkamer 10 = Deur Woonkamer Links 11 = Deur Woonkamer Rechts 12 = Rook Keuken 13 = Deur Garage Links 14 = Deur Garage Rechts 15 = Garage 16 = Rook Overloop 17 = Overloop 18 = Slaapkamer Niek 19 = Slaapkamer Claire 20 = Serre 21 = Deur Serre Rechts 22 = Deur Serre Links 23 = Meterkast 24 = Rook Serre
On the hass the error is: 2021-09-07 14:47:41 ERROR (SyncWorker_3) [homeassistant.components.nx584.binary_sensor] Unable to connect to NX584: HTTPConnectionPool(host='192.168.1.210', port=5007): Max retries exceeded with url: /zones (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f375bb280>: Failed to establish a new connection: [Errno 111] Connection refused')) 2021-09-07 14:47:41 ERROR (MainThread) [homeassistant.components.nx584.alarm_control_panel] Unable to connect to http://192.168.1.210:5007: HTTPConnectionPool(host='192.168.1.210', port=5007): Max retries exceeded with url: /zones (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f372ab6d0>: Failed to establish a new connection: [Errno 111] Connection refused'))
And the configuration part of configuration.yaml:
Networx Alarm panel
alarm_control_panel:
binary_sensor: