-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
There are at least two ways to implement this:
- Offset the Arduino clock with the user's timezone
- Manage all times in UTC (GMT), i.e. with zero offset
Option 1 seems simpler and more straightforward, at least because:
- the current time would be readable in local time, making things easier to debug
- the stored times (agenda) would be in local time
- the couple [wake-up, sleep] times would be within the same day (not spread among two different days)
- the wake-up time should always be "lower" (i.e. triggered before) the sleep time, except in rare cases where the user purposely wants to live at night...
Option 2 may be better for portability, and would make debugging of other's device configuration simpler.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels