Getting flow to trigger through Sun Events

Hi,

I’m getting started with Homey and love the stability I find so far, compared to other systems I’ve tried in the past. Snappy, easy to configure.

What I haven’t been able to get working though, is a flow that is executed between certain times. I installed Sun Events and gave it a go. With this flow, it doesn’t switch on at all:

If I leave out the Sun Events card the dimmer works, if I add just one time fire “after x-moment” it also works, just not if I try to set an “between this and that moment” card…

Any suggestions on what I’m doing wrong here?

Sorry I don’t speak that language, so I dont know exactly what your’e trying to do. However have you tried to use the built in Homey date/time sunrise/sunset cards?

@Jamie :

I’ll translate:

When
The motion sensor is triggered

And
The time is between early evening, golden hour 0
End of the morgen, golden hour 0

Then
(Well I guess you understand what this says) :wink:

@HVB83
I think I know what’s wrong. You want the flow to only work during the night. However, the app will most likely look at the evening and the morning of the same day.

So let’s say it’s 23.00 today (25-06-2019) and the motion sensor is triggered. The flow will check if the time is later than early evening of 25-06-2019 and earlier than the morning of 25-06-2019. As you will understand, this is never possible!

I would suggest you use the date & time (datum en tijd in Dutch) flow cards as Jamie suggests. However, if you wish to use the sun events app, you can try turning the two moments around, so it reads:
Het is tussen:
Einde Ochtend gouden uur 0
Begin avond gouden uur 0

And then inverse the flow card. This is possible with a lot of flow cards (called ‘Omkeren’ in Dutch). Hope you understand what I mean. If you don’t, PM me so i can tell you in Dutch.

Yet another option would be to split this in two flow cards.
One saying it’s later than Begin avond gouden uur 0
And another saying it’s earlier than Einde ochtend gouden uur 0
When you split then by the ‘or’-function (press, hold and drag down a little bit), this should work to.

Ahhhh, silly me… Thanks guys, made some changes to the flow accordingly and will report back later tonight to see if it works! :sweat_smile:

It’s working now guys, thanks a lot!

Great to hear, enjoy!

Hi, i would steal this topic. What is the logic of the card “Event is after”? There is a sun event and time. How would you interpret?


I would like to make flow like Between events but instead there is one sunevent and second is time. Is that possible? E.g. turn on lights between 23h and Sunrise. Thanks

you need 2 flows:
If 23:00 Then switch light On
If Sunrise Then switch light Off

Hi guys. I am quite confused after update in Sun Event app wich renamed to Tomorrows events. I need to set up the period between sunrise and sunset. It offers only tomorrows events but it in description of the app it says it checks events within the same day. The following setting does not trigger the whole day at all. If i invert it triggers all day.

Depends on the trigger for this flow, please show the whole flow, so someone can help you.Use Share flow.

Do you think so? I dont. Its only one of the AND condition. https://homey.app/f/WS2mD1

@Daniel_S This night I’ll test it,
alternatively you can use
image

After Sunset AND Before Sunrise

There was a bug in the update to version 0.3.5, I talked to Marcel Timmermans at GitHub about it.

In the meantime the app has been updated to version 0.3.7 and the bug has been fixed:
Bildschirmfoto 2020-02-21 um 12.33.11

Many thanks, i didnt realize the events B for same day are back. Now it works again as before :+1:

1 Like


v0.3.7 this flow works only from sun-down until midnight, after midnight there are no messages written to SimpleLog anymore!
So you better use:
image
After Sunset AND Before Sunrise