magtimmermans / com.cyclone-software.sunevents

First Beta Release
6 stars 9 forks source link

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

Open renzowijgerse opened 4 months ago

renzowijgerse commented 4 months ago

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:

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 commented 4 months ago

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 commented 4 months ago

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

magtimmermans commented 4 months ago

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

renzowijgerse commented 4 months ago

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 commented 3 months ago

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 commented 3 months ago

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

DWK-007 commented 3 months ago

Thank you for the confirmation that the issue is with the OS. I have also logged a ticket with Homey Pro. Hopefully they will take care of it!

On Sun, Mar 24, 2024, 6:35 AM magtimmermans @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/magtimmermans/com.cyclone-software.sunevents/issues/87#issuecomment-2016765032, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDDEUKCPGIHNWC6FXQQ4WRTYZ2T5JAVCNFSM6AAAAABDBKW2F2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWG43DKMBTGI . You are receiving this because you commented.Message ID: @.*** com>

magtimmermans commented 3 months ago

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 commented 3 months ago

Hi -

I did a test and the variables still do not work in the Sun Events "When" events... here is my test flow:

               [image: image.png]

Thank you,

David

On Wed, Apr 3, 2024 at 8:59 AM magtimmermans @.***> wrote:

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/

— Reply to this email directly, view it on GitHub https://github.com/magtimmermans/com.cyclone-software.sunevents/issues/87#issuecomment-2034541346, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDDEUKB5A7AFZ53JJLB7DV3Y3P4M7AVCNFSM6AAAAABDBKW2F2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZUGU2DCMZUGY . You are receiving this because you commented.Message ID: @.*** com>

-- David Kooyman @.***