The concord 232 integration listed on the Home Assistant is mostly useless at this point for 2 reasons:
It doesn’t work when you use the Pi image which is the suggested installation method. It doesn’t work because it requires, at a minimum, a client python file to be running on that same machine which you can’t do (it has imports), and likely you’d want the server there too which would make it even more difficult
The implementation there relies on polling which is extremely slow and likely you’d miss most doors opening / closing
This makes it really misleading to new comers (like myself) who thought they could actually use this integration when installing on the Pi with the recommended way.
Since it doesn’t work I’ve forked the SmartThings server from HTTP to MQTT and successfully integrated it with HA examples in my github repository here.
Anyone attempting to use the concord alarm panel should just use MQTT instead, at least they can run the server somewhere else and it doesn’t require anything on the HA machine.
Sure, using C instead of Python for the communication daemon may be more efficient. The one I’m using is based off of the original py-concord here.
That being said, I’ve been running the Python one for >3 years now (for SmartThings originally) and it’s averaged ~2% CPU usage on a RPi3 (and that includes the communication part of it as well, not just the daemon), so I honestly don’t think it matters at this point. The Python one is efficient enough, and my fork of it for MQTT is working great on Home Assistant.
As long as it’s working for you that’s all that matters.
I used Jason Carters solution for quite a while with HA in a Venv and while it appeared to be effective by reducing the scan interval down to 1s, as you say a polling solution was not going to be efficient in the long run.
I like that D-BUS server solution so it’s just getting the time to tie it in with MQTT that’s lacking here.
There isn’t a lot of Concord users left on here (doesn’t help that the Panel has been discontinued) but for the ones that are they should try your solution and give you some feedback on it.
I am testing the linked project, and it seems very good. Not using polling, async, and response is instant. I run the webserver and libraries on an RPi near my automation module, with a usb to serial cable. My HA is core on baremetal ubuntu, and fair warning you have to figure out the install, not documented yet, but it was not super hard. The Dev is active and seems very responsive. YMMV
Thanks I’ll look into it. All my HA runs on UnRaid with my HA on one VM and my current Concord 4 connection deployed on Ubuntu. Hopefully I can figure out how to get this working on the existing VM, probably overkill, but it is already in place.