snOOrz / homebridge-aqara

HomeBridge plugin for Aqara gateway and devices
536 stars 74 forks source link

Home App Automations with Body Sensor intermittently working #72

Open magichew opened 7 years ago

magichew commented 7 years ago

I have automations set up in the Home app using the Body Sensor and the Door/Window Sensor.

The Door/Window sensor reliably triggers the automations with every open and close of the door but the body sensor works intermittently.

I have notifications for the sensor set on my phone and there are times that I can stand in front of the sensor waving my arms and not trigger the sensor and so not trigger the Automation (turn Philips Hue bulb on). There are also times that I can walk past a long way away from the sensor and trigger the sensor and receive a notification but the light doesn't come on. Then there are other times that the sensor is triggered, I get the notification and the light comes on.

What I'm getting at is that it's seemingly random as to whether the body sensor is triggered or not and the Automation is triggered.

I've tried the sensor in various environment and with different bulbs (Philips Hue and Milight) with the same random results.

Anyone else finding this behaviour?

adekka commented 7 years ago

I have the same issue with the door/window sensors. I tried multiple setups and the behavior is unreliable.

Op 10 mei 2017 om 11:27 heeft magichew notifications@github.com het volgende geschreven:

I have automations set up in the Home app using the Body Sensor and the Door/Window Sensor.

The Door/Window sensor reliably triggers the automations with every open and close of the door but the body sensor works intermittently.

I have notifications for the sensor set on my phone and there are times that I can stand in front of the sensor waving my arms and not trigger the sensor and so not trigger the Automation (turn Philips Hue bulb on). There are also times that I can walk past a long way away from the sensor and trigger the sensor and receive a notification but the light doesn't come on. Then there are other times that the sensor is triggered, I get the notification and the light comes on.

What I'm getting at is that it's seemingly random as to whether the body sensor is triggered or not and the Automation is triggered.

I've tried the sensor in various environment and with different bulbs (Philips Hue and Milight) with the same random results.

Anyone else finding this behaviour?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

iCarl commented 7 years ago

Are you guys having the same problem on Wifi and cellular? Seems like the same as in #32 . If so, I am experiencing the same issue.

magichew commented 7 years ago

I don't receive notifications when not on the local network (as per this thread I created... ) but automations for the door/window sensor trigger (light's come on after sunset) without the notification reaching my phone.

astrojetson8 commented 7 years ago

i think this has to do with how device polling is implemented.

magichew commented 7 years ago

It's strange. I just this second done it. Turn Hue light one via phone; it comes on. Turned it off via the phone; it turns off. Walk in the room; get notification of motion detected but light stays off.

adekka commented 7 years ago

It's strange. I just this second done it. Turn Hue light one via phone; it comes on. Turned it off via the phone; it turns off. Walk in the room; get notification of motion detected but light stays off.

I recognize the same. Often (not always) the scene is triggerd to go on however the scene is not (always) triggered to go off.

magichew commented 7 years ago

Yes. Exactly the same here. It's just worked here this time but not several times before minutes earlier.

adekka commented 7 years ago

You'll see that this issue is a common issue for this plugin. Just hoping that someone can fix this on either this side or the homebridge side.. btw, you've seen this one? https://github.com/Maxmudjon/homebridge-mijia

magichew commented 7 years ago

You'll see that this issue is a common issue for this plugin. Just hoping that someone can fix this on either this side or the homebridge side.. btw, you've seen this one? https://github.com/Maxmudjon/homebridge-mijia

Page not found?

adekka commented 7 years ago

The link works for me. Or just look for homebridge-mijia

magichew commented 7 years ago

Strange. Link works now. What is this? A fork of this plugin? Have you used this? Is it not the same? Perhaps the authors could collaborate?

iCarl commented 7 years ago

I recognize the user from previous issues in this plugin

adekka commented 7 years ago

I had the same questions :) I created an issue with those questions. Didn't start using it because I'm not sure wether it is an improvement.