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

Change allowance #6

Open
220snake220 opened this issue Jun 21, 2021 · 1 comment
Open

Change allowance #6

220snake220 opened this issue Jun 21, 2021 · 1 comment

Comments

@220snake220
Copy link

First of all, I love your blueprint. It clearly took a lot of time and it's one of the best blueprints I have seen! I wanted to ask about the change allowance. I have been using the blueprint in an automation for a couple of months now but the change allowance has never worked. It is set at 0% but I have also tried it at 100% and 1%. Is there something specific that would stop it from working? I use Hue lights. Many thanks

@EvTheFuture
Copy link
Owner

First of all, I love your blueprint.

Thank you!

I wanted to ask about the change allowance. I have been using the blueprint in an automation for a couple of months now but the change allowance has never worked. It is set at 0% but I have also tried it at 100% and 1%. Is there something specific that would stop it from working? I use Hue lights. Many thanks

I've noticed that the change allowance value doesn't always work on all lights/installations, but I have not been able to debug why.

Normally every time the sun elevation changes the brightness is calculated and updated. However sometimes you want to manually change the brightness and if you do, you don't want the automation to update it again the next time the sun elevation changes (that would be annoying 😃).

When the sun elevation changes, the trigger sent to the automation contains both the old and the new elevation. The blueprint take the old elevation and calculates the brightness based on the old elevation and then compare the value of the calculated brightness with the value on the light. If the values differ, the automation will not update the brightness of the light.

The purpose of the allowance valie is to configure how many percent the brightness of the light is allowed to be changed by someone else without stopping the updates from the blueprint.

I hope this makes sense?

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