Test AND n minutes before Sunrise or n minutes before Sunset

I noticed that it was very dark when Homey said it was no longer Daytime, so I checked my location and it was fine. Is there a way to test in an AND statement the minutes before Sunrise or Sunset?

Steve

In an Advanced Flow (only available in the web app), it’s possible to test conditions

So you want to know the actual time Homey is using for sun rise and sun down?

I should expect it somewhere in the system Info Homey Developer Tools but was not able to find it anywhere.

Due to wheather conditions sun rise and sun down are no good replacements for a lux sensor.

I think he wants to know the number of minutes before sun down at this moment.

That is it I wanted to test a condition relative to Sunrise and Sunset.

What I am trying to achieve as to make the House Daytime say start 30 minutes earlier and end 30 minutes later than Homey’s Daytime.

I was wondering if anyone had a custom app as out of the box I can only test is it sunrise or sunset.

There is a date card WHEN it is xx minutes before Sunrise

And search the App Store for sun.

1 Like

I agree but I have found some Lux sensors to be slow to respond . So I check the Lux when it thinks it is day time to see if it is dark otherwise it is night and therefore dark. That way I am more likely to have lights on when it is dark

Absolutely perfect - Many thanks

It’s good at sunset when it’s always clear outside.

Outdoor Philips Hue (with bridge) motion sensors, working properly. (It has a light sensor)

That is what I use. A flow uses one sensor as the basis for each determining if each room is dark or not based upon experience over time, with a fallback should the sensor fail of sunset/sunrise.

Ok. I’ve been using sunset apps for a long time…I mentioned it because of the clear sky., when the sun hides faster behind the terrain…

I would divide the rooms into separate blocks. One VD relay per block. The relay switches on depending on the illumination (lx). This allows or prevents the lighting from turning on(auto mode, lx allows you to turn on, turns on by motion sensor ). This enables or disables the block. (It also enables or disables flow).

I have no faults(maybe 5year) with this place. I have nothing more to comment on.