ph1p / ikea-led-obegraensad

ESP32/Arduino hack for the ikea OBEGRÄNSAD led wall lamp
MIT License
596 stars 81 forks source link

What is the format of TZ_INFO? #42

Closed Syco54645 closed 1 year ago

Syco54645 commented 1 year ago

Reading the docs it is not clear what the value of TZ_INFO should be. Where can one find a list of TZ_INFO?

luigipacheco commented 1 year ago

Someone talks about it here: https://www.esp32.com/viewtopic.php?t=5282

im still figuring out how to set it up for US

luigipacheco commented 1 year ago

this worked for me:

define NTP_SERVER "pool.ntp.org"

define TZ_INFO "UTC+4,M3.5.0/02:00:00,M10.5.0/03:00:00"

so if you change the first value before the coma to your UTC offset it should work

ph1p commented 1 year ago

Closed, because the new API lets you insert cities, long&lat etc.