The concord232 integration should be removed or updated with the MQTT alternative

The concord 232 integration listed on the Home Assistant is mostly useless at this point for 2 reasons:

  1. 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

  2. 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.

Yes the polling option was never really a satisfactory solution.

I was looking at a D-Bus to MQTT solution based on this project which is a far more efficient server.

Might be worth while investigating this a little further.

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.

Nice work :+1:

1 Like

I have Jason Carters solution - the server running in same machone as HA (on a raspberry pi 3+).

How do I get HA to see the Jason Carters solution?

I added entries into the .yaml and it causes the HA to not boot per the HA website.

Ok, so it should be removed, but you wrote your replacement for it as python 2 code??? Uh…

Buddy I wrote that 4 years ago. Feel free to upgrade it to Python3 if it bothers you.