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

Sunrise with offset (using a variable) doesn't work #87

Open
renzowijgerse opened this issue Feb 9, 2024 · 9 comments
Open

Sunrise with offset (using a variable) doesn't work #87

renzowijgerse opened this issue Feb 9, 2024 · 9 comments

Comments

@renzowijgerse
Copy link

Hi!

I use multiple triggers (sunrise and sunset) with an offset.
In the offset i don't use a fixed value but I am using an variable (integer).
Sometimes the variable is positive, sometimes negative.

This are the variables I am using:

  • zonsopgang-offset-gordijnen, value: -15
  • zonsopgang-offset-verlichting-2, value: 45
  • zonsondergang-offset-gordijnen, value: 15
  • zonsondergang-offset-verlichting, value: -45

Most of them are working, except one: the sunrise trigger, with the variable zonsopgang-offset-verlichting-2, witch has the value 45.
What I would like to achieve is a trigger, 45 minutes after sunrise.

A screenshot of the workflow is attached.

I hope someone can help me with this issue :-)

Screenshot 2024-02-09 124813

@magtimmermans
Copy link
Owner

Hue, This didn't work for a very long time. So maybe Homey is fixing the bug... If you fill in the value manually it works?

@renzowijgerse
Copy link
Author

The sunrise trigger with a value of 45 works fine!
Using a variable, with the same value, doesn't trigger.

@magtimmermans
Copy link
Owner

So, sunset works well with a variable? Very strange they use the same procedure.

@renzowijgerse
Copy link
Author

Yes, sunset works fine (with a variabele, positive and negative)
Sunrise works also fine, with a variable (negative value: -15).
Except sunrise, with a variable, value 45, that one doesn’t.

@DWK-007
Copy link

DWK-007 commented Mar 24, 2024

I'm having the same issue with using a variables for both the dawn event (variable vBlindDawnDelay set to +15) and sunset (variable vBlindDuskDelay set to -15). I don't have an issue when hard coding the value. I have installed some new matter / thread shades and I'm trying to optimize the time that they open after dawn and close before sunset. By using a variable, I would be able to update the offset values on my phone without having to use my computer to edit the flows.

image

@magtimmermans
Copy link
Owner

This seems a bug in the OS a longtime ago. I am not sure how to fix it

@DWK-007
Copy link

DWK-007 commented Mar 24, 2024 via email

@magtimmermans
Copy link
Owner

Could you check if this will work with the latest test version or that Homey still did not fixed it.
https://homey.app/a/com.cyclone-software.sunevents/test/

@DWK-007
Copy link

DWK-007 commented Apr 3, 2024 via email

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

3 participants