Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Occupancy stuck on for 30 seconds - 5 minutes after sensor doesn't see person leave range #233

Open
clintebbesen opened this issue Nov 10, 2024 · 1 comment

Comments

@clintebbesen
Copy link

If I leave the detection zone without the sensor seeing me move out of range, this reliably causes the sensor to say presence is detected for anywhere from about 30 seconds to a few minutes or sometimes even longer.

In some cases I could fix this by decreasing the max distance, but not all. My bathroom and kitchen are two examples. In the bathroom, the sensor is in the corner of the bottom left of the room, the doorway is in the bottom right. see the image for a rough sketch of the room, sensor location, door, and my path walking. When I walk from the lounge into the bathroom the sensor triggers outside the bathroom in the hallway when im in line of sight to the sensor, when I walk back to the lounge, at this point im still within the 6m range of the sensor (sensor was set to about 3.5m), but as I walk out to the lounge I disappear behind the wall. If I change the max distance to about 3m, roughly where the bathroom door is, then as I leave the bathroom I leave the max range of the sensor while it can still see me before I turn the corner and disappear behind the wall. When doing this it does fix it, but It is a short term fix that doesnt work properly for what I want here.

I have the same issue with the sensor in the kitchen when I walk to the right of the sensor past its range of motion to the right, not past its max distance.

The issue seems to be, if you leave line of sight of the sensor while your distance to the sensor is less than the configured max distance, then the sensor stays occupied for some time, anywhere from 30s to minutes or more in rare cases. To fix the bathroom sensor, I changed the max distance down to 3m, the width of the room so that as I walk out the door into the hallway, before I turn the corner and get out of line of sight of the sensor, I first cross the max distance, turning off occupancy, then I turn the corner to the lounge leaving line of sight and everything works.

This however isnt a solution as it doesnt fix the kitchen sensor when I leave the room to the side past the max angle the sensor can see to the side, and with the bathroom sensor, I do want the sensor to see into the hallway so when im in the hall looking in the hallway cupboard, the bathroom light will be on providing light to the hallway.

image

@Draghmar
Copy link

Your description looks very similar to what I'm observing. I had this feeling that it happens because sometimes sensor looses me when I "suddenly" leave it's sight at on of the sides.
20241111_140340

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants