timeofday

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
MYLE
Posts: 20
Joined: Monday 10 April 2017 8:29
Target OS: Linux
Domoticz version:
Contact:

timeofday

Post by MYLE »

Found the timeofday function Like it

my under standing of this function is base on your location SunRise/SunSet

though of a way we could make it Better

timeofday['Daytime'],30) would return true if 30min before daytime
and
timeofday['Nighttime'],30) would return true if 30mins after nighttime

am i just over thinking it.
MYLE
Posts: 20
Joined: Monday 10 April 2017 8:29
Target OS: Linux
Domoticz version:
Contact:

Re: timeofday

Post by MYLE »

Found a way round

create a dum switch and put to timers on it 30min before sunset turn on

then an other timer 30mins after sunrise off

so all i have to is now check the status of that switch
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests