Skip to content
This repository has been archived by the owner on Jul 23, 2021. It is now read-only.

Feature request: add Daylight sensor #212

Open
Mariusthvdb opened this issue Feb 11, 2020 · 0 comments
Open

Feature request: add Daylight sensor #212

Mariusthvdb opened this issue Feb 11, 2020 · 0 comments

Comments

@Mariusthvdb
Copy link
Contributor

Most of the Hue entities are available through the CC, the one sensor missing is the Daylight sensor, which is unique for each Hub.

This will allow for further logic in HA to use in home/away schedules, and the options the App offers (Hue is expanding that at the moment, given the extra rules being created)

I am aware of what we can do in the HA ecosystem, like offsets in triggers etc, but exactly that subject is cause for great confusion in the community.

Having a clear daylight sensor being on/off following Hue rules is very very adequate and easy to use. No more confusions which (light, day, dark, above_horizon,offset)sensor to use to mimic Hue behavior. Simply use hue_daylight.

full PR ready for that, which has now been delayed/closed to be discussed further in this FR.

some pictures:

Schermafbeelding 2020-02-11 om 08 37 59

Schermafbeelding 2020-02-11 om 09 36 04

There are other "day(light)" sensors, most obvious one the core sun integration. Still, sun-up/down isn't identical to Hue daylight. And exactly that is needed to mimic the Hue behavior in HA.

I've already created the sensor logic, and test logic, so adding would be very easy (using it myself in my local setup as you can see)

Extra burden for the system would be negligible, especially considering the amount of the many lights and accessories people have.
Also, this would be a 1 time set and forget setup. Simply read all attributes on the Hue hub and show them in the sensor.

Please consider adding to the binary_sensor.py.
Thanks!

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

No branches or pull requests

1 participant