homebridge-mi-aqara icon indicating copy to clipboard operation
homebridge-mi-aqara copied to clipboard

Aqara Motion Sensor Timeout

Open mtflud opened this issue 6 years ago • 7 comments

Hello,

First of all, thank you for your time developing such an awesome plugin!

I have various Aqara Motion Sensors (v2) and would like to make automations based on these. The problem is, "motion detected" status gets refreshed every ~2 minutes, which is a lot and my automations do not work as expected because of this.

Is there a way to reduce the motion detection status reporting to, say, at least 30 seconds? I also own one Philips Hue Motion sensor and it reports the status every ~15 seconds. which is great. Could we emulate this functionality?

Thanks!

mtflud avatar Mar 16 '18 20:03 mtflud

The duration depends on sensor-type you select in Mi Home App (Icon). If you use occupancy sensor icon to "middle" position, it changes to about 5 sec.

DSchumacher2104 avatar Mar 19 '18 07:03 DSchumacher2104

@DSchumacher2104 Thank you for your help! I tried changing the sensor's icon on the MiHome app but unfortunately the timeout is still the same. Could I be missing something? 🤔

mtflud avatar Mar 20 '18 15:03 mtflud

Hello

I Have them same issue with MotionSensor V2, can someone explain how to repair it ?

daniel4099 avatar Apr 20 '18 19:04 daniel4099

I managed to add timeout to motion sensor detection event. But it is only "frontend" solution, since motion sensor will not detect further motions in next time (I was not able to record this time, around 15-30 seconds). So is it a way to send command like "ok, I got it set motion to off" to the motion sensor? @YinHangCode

I suppose code here is doing somewhat simillar. https://github.com/YinHangCode/homebridge-mi-aqara/blob/1ae5949b65ecce5c8c90cc3ca3f27ecd0d466eee/parser/MotionSensor2Parser.js#L66-L83

nikolaevigor avatar Jun 30 '18 14:06 nikolaevigor

@DSchumacher2104 's solution hasn't worked for me.

nikolaevigor avatar Jun 30 '18 14:06 nikolaevigor

Hello 👋 Same problem.Does anyone solved this problem?

SEVSM avatar Nov 11 '18 06:11 SEVSM

Same, any updates?

andreyoshev avatar Jul 14 '19 16:07 andreyoshev