What does Homey consider 'daytime'

Hi.

I have a flow build where lights go ON when the time is ‘daytime’ and light on my multisensor is <15lux.

Today I was up a little earlier then usual. And noticed the lights going ON automatically at 6:30ish while sunrise is not until 6:51.

So my question is, what does Homey consider to be ‘daytime’?

Is it possible to show a screenie of ur flow?
I cannot seem to find WHEN time is daytime.

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 :wink:

Dawn and dusk is something different then sunrise and sunset!

or use app # Sun Events


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)
  • dusk (evening nautical twilight starts)
  • nautical dusk (evening astronomical twilight starts)
  • night starts (dark enough for astronomical observations)
  • nadir (darkest moment of the night, sun is in the lowest position)
  • night ends (morning astronomical twilight starts)
  • nautical dawn (morning nautical twilight starts)
  • dawn (morning nautical twilight ends, morning civil twilight starts)
  • Options to put your own set/rise position of the sun

https://apps.athom.com/app/com.cyclone-software.sunevents


This is my flow, the Overdag step is Daytime.

The Dawn to Dusk, makes sense. Thats starts before sunrise and ends after sunset.

I saw the sunevents app before, but do not need it.
Daytime is fine.

No, same problem this year.

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”

I’m also struggling with daytime and nighttime until I found this suncalc site where I can see exactly the Dawn and Dusk times of my location.

Dawn 6 degrees before sunrise (earlier than sunrise)
Dusk 6 degrees after sunset (later than sunset)

2 Likes