mrWheel / DSMRloggerAPI

Firmware for the DSMR-logger using only API call's
MIT License
18 stars 25 forks source link

NTP sync is not working #46

Closed gvdhoven closed 3 years ago

gvdhoven commented 3 years ago

Enabled

#define USE_NTP_TIME 

And see in serial monitor:

[20:58:28][  20008| 19824] setup       ( 368): Time is set to [210605205828W] from NTP

(The "W" is strange btw) and no time is set if i debug the /api/v1/dev/time request: image

Also reflects as such in the UI: image

mrWheel commented 3 years ago

NTP time is only used with the pré40 DSMR protocol (2.2 - 3.0). Otherwise the time is taken from the Slimme Meter "timestamp" field.