UtilitechAS / amsreader-firmware

ESP8266 and ESP32 compatible firmware to read, interpret and publish data to MQTT from smart electrical meters, both DLMS and DSMR is supported
Other
381 stars 73 forks source link

AMS reader date changes with timezone setting in OS #819

Closed manfi001 closed 1 month ago

manfi001 commented 3 months ago

Describe the bug AMS reader date changes with timezone setting in OS

To Reproduce change timezone to less than 0, e.g. UTC-1 and AMS reader date changes to 1 day less than real date.

Expected behavior AMS reader date should be independent of timezone setting on readout device

Hardware information:

Relevant firmware information:

Additional context Discovered this behavior by chance during a recent stay in Latin America

ArnieO commented 3 months ago

Were you using the device in Latin America when you saw this, or did you read your home device remotely?

manfi001 commented 3 months ago

I read the home device remotely. But it's the same beaviour if I change the time zone of the PC or tablet at home and access the readers page.

ArnieO commented 2 months ago

Just to be sure I understand your report:

manfi001 commented 2 months ago
ArnieO commented 2 months ago

Thank you for the clarifications, this must be a bug. Using the device in other time zones is not common, you are probably the first one to "test" this.