Do you mean ‘overdag’? To my experience that is after the sun rises and before it’s down. And because the earth rotates and rotates around the sun that is always a different timeframe
Sun Events is an app the has several triggers to certain positions of the sun. It make use of suncalc from ‘Vladimir Agafonkin’. The following triggers are possible:
sunrise (top edge of the sun appears on the horizon)
sunrise ends (bottom edge of the sun touches the horizon)
morning golden hour (soft light, best time for photography) ends
solar noon (sun is in the highest position)
goldenHour (evening golden hour starts)
sunset starts (bottom edge of the sun touches the horizon)
sunset (sun disappears below the horizon, evening civil twilight starts)
I also considered ‘daytime’ as being equally defined as the time between the cards ‘the sun rises’ and ‘the sun sets’ but it appears to be wider than that indeed. The description is ‘between dawn and dusk’ which implies it’s the time equal to ‘the sun HAS (completely) risen’ and ‘the sun HAS (completely) set’ .
EDIT: Homey indeed also has two sepearate ‘AND’ cards ‘It’s after sunset’ and ‘it’s after sunrise’ . Which I didn’t use because they appear to be always true. I’ts always after… however I assume the latest will disable the previous or it will be date-terminated (which is also not handy for my flow which should be date agnostic)
EDIT2: to end conflict within one flow using them I discarded the ‘it’s daytime’ card and instead created my own boolean variable ‘meteo_daytime’ based on a flow that triggers at the cards “the sun sets” and “the sun rises”
Yes, it is extremely annoying that ‘night time’ is another definition than ‘after sunset and before sunrise’.
The first is LATER than sunset and EARLIER than sunrise. This wouldn’t be a problem if there was an IF card ‘it becomes day/night’. But for IF cards you only have the flavour ‘sunset’ and ‘sunrise’.
So If you have a flow which starts something at sunset, and you have another flow doing something at night, there is, depending on the season and your location, up to 1.5 hours difference between the two, breaking flows. Or even extremer, close to the poles (i.e. Svalbard) there will be sunset but it will never be night in summer.
To reach Athom, please report your findings to https://homey.app/support (-> select “My … isn’t listed” to get to the email form right away),
else most probably nobody reads it here.