Start event 30 minutes prior to sunset

Moderator: leecollings

Post Reply
ArnaudC
Posts: 2
Joined: Monday 20 May 2019 21:12
Target OS: Linux
Domoticz version:
Contact:

Start event 30 minutes prior to sunset

Post by ArnaudC »

Hi all,
I have an event to turn on some lights at sunset (if time=sunset...). Works perfectly from a script perspective, but in reality it already rather dark at that time.
I would instead now like to change the event to turn the light on already 30 minutes prior to sunset. Any suggestions on how to do this?
Thanks,
Arnaud
ErikAtSpijk
Posts: 16
Joined: Sunday 11 March 2018 22:03
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

Re: Start event 30 minutes prior to sunset

Post by ErikAtSpijk »

Can't you use the sun's attiude? or (theoratical) lux?
ArnaudC
Posts: 2
Joined: Monday 20 May 2019 21:12
Target OS: Linux
Domoticz version:
Contact:

Re: Start event 30 minutes prior to sunset

Post by ArnaudC »

Rather than a blocky event to turn the lights on at sunset, I guess I might just use a timer on the various switches instead. I'll give that a try.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest