Open dbs179 opened 2 months ago
Hey! Just to clarify, are you saying that the interior sensors do set the alarm off or that it is not being armed instantly?
By default, the Concord panel has a 60 second delay on all arming operations, whether they be home or away. This can be bypassed by setting "instant" mode, but Home Assistant does not appear to have an easy way to show arming options.
Hello! First, thanks for the response, I appreciate it. And second, yes, my interior motions set off the alarm, after the 60 second delay and the panel is armed. No matter how I try to arm it, it always arms to "away", leaving my motions to set of the alarm. If I send the command to arm to stay twice in a row it does arm to stay and the motions do not set of the alarm.
Very interesting! not sure why sending the command twice would change anything. essentially, when you press the arm button in home assistant, the server emulates a keypress of 2 if armed to stay mode and a keypress of 3 for away, then types in the code that you submitted.
do you happen to know if you have quick arming enabled on your panel? an easy way to tell is just to press 2 on a keypad and see if it arms with no further input. not sure that would matter, but trying to cover my bases here.
if you are willing, a great way to figure out if this issue is coming from home assistant, the rust code, or the panel would be to watch how the server interprets the events. could you set the env var RUST_LOG="concord4ws=debug,concord4=debug"
in the concord4ws container? this should give logs like updating arming level: ArmingLevelData { partition_number: 1, area_number: 0, arming_level: Off }
whenever the arming level is changed, and should also log what commands home assistant is sending over. (please scrub your code from the logs if it is printed of course)
Sorry this isn't working out of the box! I do not have any motion sensors so there isn't a difference between arm home and away for me and I did not notice this.
No need to apologize. I appreciate the project either way. The response of events is much faster than the Concord232 polling option I was using. I'm head out of town next week, so I actually migrated back to Concord232 so everything works like it used to until I get back. When I get back, I'll swap back to this and change env var and get back to you!
Hi, I just started using your project to integrate my Concord into HA. I got everything set up and working, but when I try to arm my panel to home, so my interior motions don't set the alarm off, it arms to away. I have to send the arm command twice to actually arm it to stay.