Time triggers fail if the time is earlier than the first trigger of a day #18

Closed
opened 2018-02-12 15:21:44 +00:00 by PsychoMark · 4 comments
PsychoMark commented 2018-02-12 15:21:44 +00:00 (Migrated from git.x2software.net)

If the time triggers are set to turn on after sunset and off at 23:00, the stairs are turned back on after midnight. I'm assuming this is because the "dayTime" is still set to the current time, but what you really want is to compare it to 24:00 as soon as you go back a day.

As soon as I tried to change the triggers the module reset. Not sure if it is related at all, but needs testing nonetheless.

If the time triggers are set to turn on after sunset and off at 23:00, the stairs are turned back on after midnight. I'm assuming this is because the "dayTime" is still set to the current time, but what you really want is to compare it to 24:00 as soon as you go back a day. As soon as I tried to change the triggers the module reset. Not sure if it is related at all, but needs testing nonetheless.
PsychoMark commented 2018-02-12 20:03:32 +00:00 (Migrated from git.x2software.net)

mentioned in commit b10fd6951c

mentioned in commit b10fd6951c14947eaf78159f42290140306e0d15
PsychoMark commented 2018-02-13 06:59:25 +00:00 (Migrated from git.x2software.net)

Still occurs even at 7:00, negative or positive offsets do not matter.

Still occurs even at 7:00, negative or positive offsets do not matter.
PsychoMark commented 2018-02-13 19:06:58 +00:00 (Migrated from git.x2software.net)

mentioned in commit 7b823b7cff

mentioned in commit 7b823b7cff7c3be6a1e4c22ef2ea50810e532fec
PsychoMark commented 2018-02-13 19:07:25 +00:00 (Migrated from git.x2software.net)

closed

closed
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Electronics/Stairs#18
No description provided.