Replies: 2 comments 2 replies
-
Thanks, that looks already good. Took a quick look only.
|
Beta Was this translation helpful? Give feedback.
-
Enum I don't think most would be that useful given the ESP32 seems to be fairly capable as-is managing time. Maybe a nice-to-have would be to try pulling the timezone reported by the coordinator and setting the device's timezone to match? But at the moment this can be specified manually in the 'time' config as shown in |
Beta Was this translation helpful? Give feedback.
-
I have a functional time sync here: https://github.com/rot169/zigbee_esphome/tree/timesync - see
example_time.yml
within.I've not submitted a PR just yet as:
fatal error: esphome/components/time/real_time_clock.h: No such file or directory
). So long as some sort of time component is defined in the YML (regardless of if it's using zigbee as the platform, or somethign else) the build error disappears. I'm not sure how to convince esphome to always include real_time_clock.h in the build folder...? (To replicate the bug yourself, just comment-out all of the 'time' section, line 38 onwards inexample_time.yml
)Thanks!
Beta Was this translation helpful? Give feedback.
All reactions