ewaldshof / ewhome

GNU General Public License v3.0
0 stars 0 forks source link

Improve NTP implementation #43

Open sulimma opened 3 years ago

sulimma commented 3 years ago

NTP updates take quite a long time. This is currently done in ewh_net update() but should better be a separately scheduled task. It should also be reflekted in the display.

NTP sync also should be redone periodically. Maybe once a day?

sulimma commented 3 years ago

The NTP host can be configured at runtime by doing: ntptime.host = 'router.ewh'

sulimma commented 3 years ago

Idea: Add a "set_time" strobe input to the time component and add an ntp component, remove the implicit ntp call.