sqfmi / Watchy

Watchy - An Open Source E-Ink Smartwatch
http://www.sqfmi.com
MIT License
1.83k stars 319 forks source link

Timezone incorrect #235

Closed edent closed 1 year ago

edent commented 1 year ago

I'm currently in BST (UTC +1). After its first NTP update, my Watchy thinks it is in UTC -5.

If I check weather.com from a computer on the same LAN, it correctly geolocates me.

Is there a way to fix this? It looks like there's no way to change timezone on the device - so I assume it's something I have to set in the firmware?

TimSmith714 commented 1 year ago

There's a setting in the settings.h file. I can't remember if there is a setting in the watchy interface itself

#define GMT_OFFSET_SEC 3600 * -5 //New York is UTC -5 EST, -4 EDT, will be overwritten by weather data

I'm in the UK so I've set this to 0 for mine. It does require compiling in the Arduino IDE and updating from a PC.

edent commented 1 year ago

I'm in the UK and set it to +1 - that worked. Thanks.