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

brightness based on sun elevation #170

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

emkookmer
Copy link

I've replaced the static brightness with a template based brightness.
The template takes the sun elevation, minimum brightness and maximum brightness, then it calculates the relative brightness between the min/max based on the elevation

The User must configure the latitude/longitude to get a correct elevation, (default is Greenwich)

í've also addes the webserver component which enables debugging and changing of the min/max brightness, but this can also be done from HA

I've replaced the static brightness with a template based brightness.
The template takes the sun elevation, minimum brightness and maximum brightness, then it calculates the relative brightness between the min/max based on the elevation

The User must configure the latitude/longitude to get a correct elevation, (default is Greenwich)


í've also addes the webserver component which enables debugging and changing of the min/max brightness, but this can also be done from HA
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

Successfully merging this pull request may close these issues.

1 participant