Are there any other forum members using the above platform. The reason I ask is that I have the GE Concord 4 automation module attached to a Raspberry Pi 3 running Home Assistant and I’m using the above platform.
I installed the Concord232 Alarm Control Panel with it’s corresponding Concord232 Binary Sensor. Everything connected up fine and I exposed the sensors to Home Assistant and they appeared as the correct types. All the sensors on my panel are RF which are correctly identified when I run concord232_client from a Terminal session.
My only problem now is the Motion Sensors are not reporting any motion to Home Assistant. I’m assuming that the concord232_client is polling the concord232_server as it should but no motion on the sensors in Home Assistant is being detected.
Would anyone have any idea what might be the problem here.
I have a concord232 setup, and I use my motion sensors. Does your motion sensor have the proper device_class set? Under entities does it show up like this:
Could you post your configuration.yaml entries relating to the concord platform for alarm control panel and binary sensor. There’s something strange going on here. Thanks
Digging a little deeper into the log I’ve found that six of my sensors are reporting duplicates with the following error message. I’ve only posted a sample of the log for clarity
homeassistant.exceptions.HomeAssistantError: Entity id already exists: binary_sensor.lving_room_motion_sensor
2018-07-26 13:54:30 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/lib/python3.5/asyncio/tasks.py”, line 239, in _step
result = coro.send(None)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_platform.py”, line 318, in _async_add_entity
msg)
The alarm_control_panel to expose the concord232 client to HA and the binary_sensor to expose the sensors.
Obviously I need to clear some database/configuration file of these sensors and try and expose them to HA. Does anyone know where this file might be located in HA.
I see the same errors on every startup for every sensor. I think its trying to add all sensors in the case where any were added.
Do you have any window or door sensors? Do they work properly?
Also of note, a few months back the code of HASS was changed such that concord polling intervals for sensors was changed from 1 second to 10 seconds. This is not so great for automations as they will take some time to trigger. After every upgrade of HASS I modify the following file and make the following change:
Well on further checking it now appears that only the open/close door sensors are detecting activity in HA. The motion sensors and the shock sensors are detecting nothing. That’s strange as the classes are correctly defined.
I changed that scan interval to 1 second but it has not made any difference to my problem.
If the program author or anyone else familiar with the program is looking in would you have any idea what is happening here. Other than the section of log I posted earlier I don’t see anything else in the log that could explain the cause of this problem
The motion sensors and the shock sensors started reporting to HA for a while yesterday so at least I know the hardware end of the setup is functioning. They have stopped reporting again.
I’m trying to figure out if the problem lies between the concord232 server and the concord232 client or the concord232 client and HA. I’m assuming that HA will only report what it receives from from concord232 client so in my opinion it’s the communication between concord232 server and concord232 client where the problem lies.
Has anyone any idea how I can troubleshoot communication between concord232 server and client to test motion sensors and shock sensors as interactive commands between the two are very limited.
How are you looking for motion events? I noticed with my motion sensors that it is hard to catch motion in the web interface by looking at the entities. It seems best to look at motion events in the log book. Using the cli command “concord232_client summary” I am unable to catch it.
I’ve setup notifications in the event of motion triggered. I check both the Logbook and the history. The problem now is not that it doesn’t register motion but that it sometimes it happens and sometimes it doesn’t.
When testing it registers a number of movements and then it appears to fall asleep. It might wake up again during the day or it might not. I tested the shock/inertia sensors and get similar behaviour here. Two bangs on the window triggers these sensors on the panel yet no record of this in the log. I spent two minutes banging the window before this was registered in the log.
The open/close sensors register immediately any open/close activity in the log so my feeling is the problem lies somewhere in how the motion sensors and the shock/inertia sensors are defined in the program.
I’m wondering if this program has been fully tested with all the different type of sensors. There’s a lot of other features on the panel that have not been fully exploited with the concord232 program
It is standalone at the moment but works perfectly and I have asked the author if he would consider writing an interface for Home Assistant for it. Check it out yourself.
@cweakland do you have much experience of the concord232.py code. It’s the only place I can imagine where my problem lies. It looks like it might be a polling issue with the motion sensors and the shock sensors.
In this version the two differences I noted were the way scan interval was handled. No mention of timedelta. Also there is no mention of polling needed True.
I was hoping the author might chime in but nothing so far.
It’s so puzzling that the open/close sensors report back to HA on activation instantly yet the motion sensors and the shock sensors will only report back intermittently. All sensor classes are defined correctly.
The duplicate sensor error in the log definitely needs to be looked at.
Have you guys had any more luck with the integration? Trying to decide if I should try to tap into my Concord system with the SuperBus 2000 RS-232 Automation Module or just ditch the system and go with a NodeMCU solution.
What hardware/OS are you running HA on. What version of HA have you installed.
I use HA in a Venv. I assume you have the Jason Carter utility running in the background as a service daemon.
If you are having difficulties with Jason Carters utility running on the same machine as HA you can always offload it to another machine and point HA to it.