Closed noxhirsch closed 1 year ago
this is how i use the roode sensor:
the presence (in the door) snesor works for me like a photo sensor („lichtschrake“), so that i never walk into a dark room.
Of course, you can do it that way. But I think if Roode could solve this internally it would be a handy little feature that could simplify automation for many user.
For me, it doesn't make sense to add this to my room automation in Home Assistant - it is already very complicated. This is why I created this workaround in ESPHome.
Thanks for your idea. I now use presence sensor as a trigger to turn on lights and I never walk into darkness any more. Cheers!
this is how i use the roode sensor:
- to trigger occupancy (turn on the light) i use the „presence“ sensor (somebody stands/walks in the door)
- i use the people count to hold occupancy (not to trigger it). so as long as > 0 people are in a room, the light stays on
- to trigger occupancy-off i do use the people count with a delay (depending on the room usage)
the presence (in the door) snesor works for me like a photo sensor („lichtschrake“), so that i never walk into a dark room.
Is your feature request related to a problem? Please describe. When you use Roode to control the light, the light only comes on when you are already in the room - so you walk into the darkness.
Describe the solution you'd like Here a config option "count_person_in_doorframe" or "count_presence_detection" would be handy, which also counts up if a person is only standing in the doorframe and nobody else is in the room.
Describe alternatives you've considered This is my current workaround. The presence sensor needs an off-delay, because otherwise it can happen that after passing through the door the counter goes from 1 to 0 and back to 1. The off-delay must be on an extra sensor, so that the normal count process is not delayed. The workaround works, but is IMHO relatively complicated for such an easy and useful feature and can probably be solved more efficiently internally in Roode.
Additional context Add any other context or screenshots about the feature request here.