Guide to setup of a NX584E alarm serial interface with HA

One point that puts me off with Konnect or similar products, is loss of use of the remote arming/disarming keypads. Something you do need for cleaners etc…

Haven’t looked of late, but if you could integrate the standard remote keypads I’d probably would consider a solution like Konnect.

They have a solution for this. I think the board is called the Interface and allows control with your existing keypads and smart home systems.

Greetings - Im new to the community. Trying to install the NX584E as an Add-On by downloading directly from a forked repository with my settings for config, etc. It is failing on the install with the error as shown in the pic… I also tried siganberg’s repo and I get the same error. Any thoughts on how to move past this? Im so close!!

Hello, I am having the same connection problem Heatvent had between HA and the pi. The error is: * Unable to connect to http://192.168.1.51:5007: HTTPConnectionPool(host=‘192.168.1.51’, port=5007): Max retries exceeded with url: /zones (Caused by NewConnectionError(‘<urllib3.connection.HTTPConnection object at 0x7f02f9843f20>: Failed to establish a new connection: [Errno 111] Connection refused’))

I have confirmed that the Pynx584 running on a pi has connectivity to the alarm panel. I can obtain client summary, arm, disarm etc. I’m new to HA and have almost no experience with programming. Any help would be greatly appreciated.

Hi,

Trying to understand your setup. But sounds like you’ve got two systems.
1 PI running the NX-584 server which in turn is connected to the alarm panel via USB?
2. Another system running HA which your trying to connect to the point 1?
My setup is the NX584 server is on the same machine that has HA hence can’t give a huge advice in this space.
But the fact that you’re getting a [Errno 111] Connection refused’ could possibly be a username/password issue??
Confirm you can ping the device from you HA installation
If you disconnect the PI from your network does the above error change?

Sorry I should have given more info on my setup.

  • HassOS is running on a Beelink S12 Pro mini pc.
  • Pynx584 is running on a pi.
  • The pi is connected to the alarm panel via USB.
  • I confirmed the Pynx584 is communicating with the alarm.
  • I entered the following in my HA yaml file: alarm_control_panel:
    platform: nx584
    host: 192.168.1.51
    port: 5007

I’ve read through numerous posts/instructions and didn’t see anything about entering a user or pssword in the HA yaml code.

If I understand correctly the Pynx584 can’t be run on the same machine as HA if it’s running HassOS so I used a pi for the Pynx584. If there is a better way to run HA and Pynx on the same Beelink PC I’m willing to try that.

I followed your guide and directions from the following link in your guide: GitHub - kk7ds/pynx584: Python library and server for talking to NX584/NX8E interfaces

I was able to ping the pi from HA.

When I disconnected the pi I got an unreachable error: * Unable to connect to http://192.168.1.51:5007: HTTPConnectionPool(host=‘192.168.1.51’, port=5007): Max retries exceeded with url: /zones (Caused by NewConnectionError(‘<urllib3.connection.HTTPConnection object at 0x7f5a002c4920>: Failed to establish a new connection: [Errno 113] Host is unreachable’))

I’m guessing that since the error went from connection refused to host is unreachable that I either need to enter credentials in the HA yaml or I need to make it so the pi is listening on port 5007.

I might have messed up the instruction to run server at startup, add systemd service, as I don’t really understand that part much.

Thanks so much for your time and help.

no probs. to help! We’ve all been in your shoes!!!

Sounds like you’re very close, but I’m not sure why it’s failing. Check your firewall on both sides.
If your keen…
I’ve been using a standard raspbian/debian build and installing HA over the top using this process in a rp3:

Actually this method was the only method in the early days!

I do hold my breath sometimes upgrading, especially when a newer release of python is required. But it does work and that’s how I’ve always been using it for years.
See how you go, it’s not that complicated, follow the process word for word and you’ll get there.
Good luck!

Thanks Robert I really appreciate the help. It’s people like you who make this more fun than frustrating.

1 Like