Dilbert66 / esphome-vistaECP

This is an implementation of an ESPHOME custom component and ESP Library to interface directly to a Safewatch/Honeywell/Ademco Vista 15/20 alarm system using the ECP interface and very inexpensive ESP8266/ESP32 modules .
GNU Lesser General Public License v2.1
124 stars 21 forks source link

Motion sensors only trigger for a few seconds despite sustained motion #120

Open johnboiles opened 7 months ago

johnboiles commented 7 months ago

After opening #119 I figured out how to get my motion sensors configured via the rfseriallookup field and they are reporting their state into HA 🎉

But I'm noticing that when they trigger, they only stay in the 'Detected Motion' state for a few seconds, even if I keep jumping up and down in front of the sensor:

image

If I walk away for a moment, then come back, I am able to get the sensor to trigger again for 3s. Is there any way to have the sensors only clear when they stop detecting motion? Is this an inherent limit of these sensors?

Dilbert66 commented 7 months ago

If your motion sensors are assigned to zones, you would need to setup some zone sensors in your config yaml for them to be reported normally. You would see FAULT xx when those zones are triggered. The rfseriallookup is normally there to capture close events quickly instead of waiting for the fault to expire as for other zones. Also the refserialllookup will capture movement even when the system is armed. As far as the trigger issue, that's not an issue with the code. That's just how your motions sensors work. I suggest you assign zones in the yaml as binary sensors .

johnboiles commented 7 months ago

Also the rfseriallookup will capture movement even when the system is armed.

So normally when the system is not armed the system doesn't capture motion events? So motion detectors are handled differently than glass break sensors and door sensors? Those triggered just fine when disarmed, only using the zone sensors.