Qrome / marquee-scroller

Marquee Scroller Clock News Weather and More
https://www.thingiverse.com/thing:2867294
MIT License
328 stars 159 forks source link

Did not recognize fall back to Standard Time #215

Closed pmastren closed 2 years ago

pmastren commented 2 years ago

My units are still showing Daylight Saving Time and so they are all one hour ahead. My OpenWeatherMap City ID is 4699066 (Houston, TX, USA)

Qrome commented 2 years ago

Check the call to TimeDB -- that is where the timezone is given.

pmastren commented 2 years ago

$ curl 'http://api.timezonedb.com/v2.1/get-time-zone?key=XXXXXXXXXXXX&format=json&by=position&lat=29.7633&lng=-95.3633' {"status":"OK","message":"","countryCode":"US","countryName":"United States","zoneName":"America\/Chicago","abbreviation":"CST","gmtOffset":-21600,"dst":"0","zoneStart":1636268400,"zoneEnd":1647158400,"nextAbbreviation":"CDT","timestamp":1636558013,"formatted":"2021-11-10 15:26:53"}

This is returning the correct time, but the unit is displaying 16:26.

pmastren commented 2 years ago

I haven't had a lot of time to work on this, but I've just discovered that the time is not updating at all. After a power cycle, the date starts at Jan 1 1970 and never updates

Qrome commented 2 years ago

The fix release 2.18 was updated and posted over a month ago. This will fix your issue @pmastren .

pmastren commented 2 years ago

My bad for not checking that first. That fixed it.

Thank you