Lyr3x / Roode

A reliable smart home people counter based on VL53L1X and ESPHome

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The sensor is seriously affected by light in daytime

roc634 opened this issue · comments

Describe the bug
The sensor seems to be seriously affected by light in daytime. I install the sensor in the door frame and use it to control the light in my kitchen. It works like a charm at night. However, it's annoying in daytime, especially in the morning. The light is always on. It'll turn on soon even though I turn if off manually .
Below is my floor plan. My living room is facing east. The sunlight will reach my living room is the morning. The area in front of the ketchen door is brighter when the sunlight comes in, but it's still 2-3 meters away from the kitchen door.
6cd451af5ed801670d9944d95e8f3274
It's seriously affected by the sunlight while works fine during other parts of the day.
2022-6-10 10-35-7
2022-7-9 0-7-28
2022-8-7 1-15-44
As you can see, the distance measured after sunrise is a mess.
2022-8-12 0-58-14
I've been trying different ways to solve this. I tilted the sensor. I've also changed several different power adapter but the situation is the same. I'm not sure if it's the problem of this individual sensor. Your help will be greatly appreciated. Thanks!

Additional context
By the way, have you tried the AMG8833 IR Thermal Camera? It is an 8x8 array of IR thermal sensors which is probably suitable for people counting, althought it's more expensive.

That is a known limitation of the sensor. There is nothing we can do about it. There are multiple issues about that already.
I suggest you look into mmWave sensors instead if you face light reflection issues

That is a known limitation of the sensor. There is nothing we can do about it. There are multiple issues about that already. I suggest you look into mmWave sensors instead if you face light reflection issues

I'm also using APDS-9960 RGB and Gesture Sensor as people counter, it seems reliable, but it's detecting range is less than 20cm. It will be perfect if its detecting range is the same as GY-53.
I'm not that optimistic about mmWave sensors since they're detecting all moving objects rather than just human being.

This is true. A combination of sensors is key here. I currently use heavily motion sensor + light sensor + mmWave sensor with a perfect result.