ropg / ezTime

ezTime — pronounced "Easy Time" — is a very easy to use Arduino time and date library that provides NTP network time lookups, extensive timezone support, formatted time and date strings, user events, millisecond precision and more.
MIT License
344 stars 93 forks source link

WDT Reset when multiple setTimeZone() calls time out #142

Open alager opened 2 years ago

alager commented 2 years ago

Thanks for the awesome module. It's been working great, until I added the ability for the user to change the timezone. It doesn't seem to change timezones, debug is showing "ERROR: Timeout" even though the calls are 10-30s apart.

Below is the log of my WDT Reset happening. The stack trace is a little complex for me to follow, so I'm not entirely sure it's with this module, but I have to start somewhere. :) I have the timezone hard coded, so that's why it says "setting new timezone..." to something that doesn't match the "Timezone lookup for:..."

Code snippet: Serial.print(F("Setting new time zone to: ")); Serial.println( someTherm->timeZone[ someTherm->timeZone_get() ].c_str() );

myTZ.setLocation( F("America/Chicago") ); waitForSync(); Serial.println(F("Setting new time zone DONE")); Serial.println( myTZ.dateTime() );

--- Miniterm on COM3 115200,8,N,1 --- --- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H --- WebSocket client #1 disconnected WebSocket client #2 connected from 192.168.86.27 Got Data from WebSocket sendSettings Got Data from WebSocket {"settings":{"fanDelay":"120","compressorMaxRuntime":"18000","compressorOffDelay":"300","timeZone":3}} trying it as JSON json value: 3 Setting new time zone to: America/New_York Timezone lookup for: America/Chicago ... ERROR: Timeout Setting new time zone DONE Sunday, 13-Feb-2022 18:29:14 PST Got Data from WebSocket sendSettings Got Data from WebSocket {"settings":{"fanDelay":"120","compressorMaxRuntime":"18000","compressorOffDelay":"300","timeZone":2}} trying it as JSON json value: 2 Setting new time zone to: America/Chicago Timezone lookup for: America/Chicago ... ERROR: Timeout Setting new time zone DONE Sunday, 13-Feb-2022 18:29:24 PST Got Data from WebSocket sendSettings Got Data from WebSocket {"settings":{"fanDelay":"120","compressorMaxRuntime":"18000","compressorOffDelay":"300","timeZone":0}} trying it as JSON json value: 0 Setting new time zone to: America/Los_Angeles Timezone lookup for: America/Chicago ... ERROR: Timeout Setting new time zone DONE Sunday, 13-Feb-2022 18:29:41 PST Got Data from WebSocket sendSettings Got Data from WebSocket {"settings":{"fanDelay":"120","compressorMaxRuntime":"18000","compressorOffDelay":"300","timeZone":1}} trying it as JSON json value: 1 Setting new time zone to: America/Denver Timezone lookup for: America/Chicago ... ERROR: Timeout Setting new time zone DONE Sunday, 13-Feb-2022 18:30:04 PST Got Data from WebSocket sendSettings Got Data from WebSocket {"settings":{"fanDelay":"120","compressorMaxRuntime":"18000","compressorOffDelay":"300","timeZone":1}} trying it as JSON json value: 1 Setting new time zone to: America/Denver Timezone lookup for: America/Chicago ... ERROR: Timeout Setting new time zone DONE Sunday, 13-Feb-2022 18:30:11 PST WebSocket client #2 disconnected WebSocket client #3 connected from 192.168.86.27 Got Data from WebSocket sendSettings Got Data from WebSocket {"settings":{"fanDelay":"120","compressorMaxRuntime":"18000","compressorOffDelay":"300","timeZone":2}} trying it as JSON json value: 2 Setting new time zone to: America/Chicago Timezone lookup for: America/Chicago ... --------------- CUT HERE FOR EXCEPTION DECODER ---------------

Soft WDT reset

stack>>>

ctx: sys sp: 3fffe960 end: 3fffffb0 offset: 01a0 3fffeb00: 4021c4e9 00000001 3ffef4b0 4020c482
3fffeb10: 000007d0 00000000 3ffef498 4020759a
3fffeb20: 402213bc 00000000 000003e8 40208ed6 3fffeb30: 00000000 00000000 3fff1674 3ffef598 3fffeb40: 402681c4 0000000f 3fffec78 3ffef598 3fffeb50: 402681c4 0000000f 3fffec78 4021a638 3fffeb60: 000a1a62 3fff1acc 3fffec78 4021a800 3fffeb70: 3ffef8c8 00000002 3ffef598 3ffef598 3fffeb80: 3ffef8c8 00000002 3ffef4b0 40209e84 3fffeb90: 3fffebb0 3fffebb0 3fffec28 3fffec78 3fffeba0: 3fffed00 3fffec68 3fffec68 40214c20 3fffebb0: 00000000 6c735f0c 2d706565 786f7270 3fffebc0: 755f0479 6c057064 6c61636f 00000000 3fffebd0: 00000000 00000000 00000000 00000000 3fffebe0: 00000000 00000000 00000000 00000000 3fffebf0: 00000000 00000000 00000000 00000000 3fffec00: 00000000 00000000 00000000 00000000 3fffec10: 00000000 00000000 00000000 00000000 3fffec20: 00000000 00000000 00000002 00000000 3fffec30: 00000008 3fff1890 3fff188c 00000000 3fffec40: ffff0004 3fff1879 3fff1873 00000000 3fffec50: ffff0004 3fff185e 3fff185a 00000000 3fffec60: ffff0004 3fff1851 3fffec58 3fffec28 3fffec70: 00000020 3fff1848 3fff1acc 000f000f 3fffec80: 80000000 3fff18ae 0000007d 3fffeb90 3fffec90: 00000032 00000000 00000000 00000000 3fffeca0: 00000000 00000000 00000000 00000000
3fffecb0: 00000000 000c0019 3f000001 000000fd 3fffecc0: 00000001 401048fa 3ffedf10 3ffedf10 3fffecd0: 00000000 3fff1674 00000000 3ffedb34 3fffece0: 3ffed640 4022a4e1 3fff0f38 3fffecf4 3fffecf0: 00000000 00000000 00000000 00040000 3fffed00: 00000000 40104bb9 3fffec68 3fffeb90 3fffed10: 3ffe8b49 00080000 3fff26d4 4022a70f 3fffed20: 3fff18ae 3fff37d4 3ffed640 00040000 3fffed30: 53000000 2c9f0300 4000050c 3fff3794 3fffed40: 00000066 00000066 3fff1848 40209f62 3fffed50: 4022c74d 00000030 00000010 ffffffff 3fffed60: 4020c1dc 00000000 0000001c 00000280 3fffed70: 00000000 4bc6a7f0 3fff1848 4021fe82 3fffed80: 00000000 00000000 4bc6a7f0 40220418 3fffed90: 3fffeda0 3fff00b4 40100841 00000000 3fffeda0: 00000066 3fff1848 3fff37d4 00000004 3fffedb0: 3fff3794 3ffef4cc 00000022 3fff3794 3fffedc0: 0000006c 3fff25f4 3fff1842 4020d9ac 3fffedd0: 00000000 00000000 4bc6a7f0 00000000 3fffede0: 3fff18ae 000000d8 40100841 00000000 3fffedf0: 000a1a57 00000006 00000000 3fff17fc 3fffee00: 3fffee60 3fff25f4 3fff1b2c 4020d9d8 3fffee10: 3fffee60 3fff25f4 3fff1b2c 4021e23c 3fffee20: 0000006c 3fff1842 3fff25f4 3fff3794 3fffee30: 00000000 00000004 00010000 4022c6ba 3fffee40: 40100000 3ffef840 3fff0b7c 00000000 3fffee50: 3fff17fc 3fff1b2c 3fff25f4 4021e29c 3fffee60: 3fff20e8 3fff20dc 00000001 3ffefe24 3fffee70: 3fff00a4 3ffefe24 3fff17fc 3fff0270 3fffee80: 3fff1b2c 3fff0274 3fff0275 402347c9 3fffee90: 00000000 4bc6a7f0 000a1aac 4010091c 3fffeea0: 00000018 00000000 4bc6a7f0 00000000 3fffeeb0: 3fff0000 000000a2 00000020 3ffefe24 3fffeec0: 3fff00a4 3fff181a 3fff17fc 40231f5d 3fffeed0: 00000014 3ffefe24 3ffe8634 40100db7 3fffeee0: 00000000 3fff0424 3ffed820 3fff1134 3fffeef0: 3fffdc80 00000020 3fff1acc 3fff1134 3fffef00: 3ffefe24 00000008 3fff17fc 4022aadd 3fffef10: 3fffdc80 3fff06cc 3fff1acc 4022a8dc 3fffef20: 40258b49 3fff06cc 3fff1acc 40258b5b 3fffef30: 3fff180c 3fff17fc 00000000 3ffe8630 3fffef40: 4024fe07 00000000 3fff1acc 40254373 3fffef50: 40000f49 3fffdab0 3fffdab0 40000f49 3fffef60: 40000e19 0007176d 00000000 00000005 3fffef70: 00000000 aa55aa55 000000f7 40105839 3fffef80: 4010583f 00000000 00000005 40100f70 3fffef90: 4010000d 7475616e 0007176d 401000ac 3fffefa0: 40244d84 3fffef3c 40244d35 3fffff28 3fffefb0: 3fffffc0 00000000 00000000 feefeffe
3fffefc0: feefeffe feefeffe feefeffe feefeffe 3fffefd0: feefeffe feefeffe feefeffe feefeffe 3fffefe0: feefeffe feefeffe feefeffe feefeffe 3fffeff0: feefeffe feefeffe feefeffe feefeffe 3ffff000: feefeffe feefeffe feefeffe feefeffe 3ffff010: feefeffe feefeffe feefeffe feefeffe 3ffff020: feefeffe feefeffe feefeffe feefeffe 3ffff030: feefeffe feefeffe feefeffe feefeffe 3ffff040: feefeffe feefeffe feefeffe feefeffe 3ffff050: feefeffe feefeffe feefeffe feefeffe 3ffff060: feefeffe feefeffe feefeffe feefeffe 3ffff070: feefeffe feefeffe feefeffe feefeffe 3ffff080: feefeffe feefeffe feefeffe feefeffe 3ffff090: feefeffe feefeffe feefeffe feefeffe 3ffff0a0: feefeffe feefeffe feefeffe feefeffe 3ffff0b0: feefeffe feefeffe feefeffe feefeffe 3ffff0c0: feefeffe feefeffe feefeffe feefeffe 3ffff0d0: feefeffe feefeffe feefeffe feefeffe 3ffff0e0: feefeffe feefeffe feefeffe feefeffe 3ffff0f0: feefeffe feefeffe feefeffe feefeffe 3ffff100: feefeffe feefeffe feefeffe feefeffe 3ffff110: feefeffe feefeffe feefeffe feefeffe 3ffff120: feefeffe feefeffe feefeffe feefeffe 3ffff130: feefeffe feefeffe feefeffe feefeffe 3ffff140: feefeffe feefeffe feefeffe feefeffe 3ffff150: feefeffe feefeffe feefeffe feefeffe 3ffff160: feefeffe feefeffe feefeffe feefeffe 3ffff170: feefeffe feefeffe feefeffe feefeffe 3ffff180: feefeffe feefeffe feefeffe feefeffe 3ffff190: feefeffe feefeffe feefeffe feefeffe 3ffff1a0: feefeffe feefeffe feefeffe feefeffe 3ffff1b0: feefeffe feefeffe feefeffe feefeffe 3ffff1c0: feefeffe feefeffe feefeffe feefeffe 3ffff1d0: feefeffe feefeffe feefeffe feefeffe 3ffff1e0: feefeffe feefeffe feefeffe feefeffe 3ffff1f0: feefeffe feefeffe feefeffe feefeffe 3ffff200: feefeffe feefeffe feefeffe feefeffe 3ffff210: feefeffe feefeffe feefeffe feefeffe 3ffff220: feefeffe feefeffe feefeffe feefeffe 3ffff230: feefeffe feefeffe feefeffe feefeffe 3ffff240: feefeffe feefeffe feefeffe feefeffe 3ffff250: feefeffe feefeffe feefeffe feefeffe 3ffff260: feefeffe feefeffe feefeffe feefeffe 3ffff270: feefeffe feefeffe feefeffe feefeffe 3ffff280: feefeffe feefeffe feefeffe feefeffe 3ffff290: feefeffe feefeffe feefeffe feefeffe 3ffff2a0: feefeffe feefeffe feefeffe feefeffe 3ffff2b0: feefeffe feefeffe feefeffe feefeffe 3ffff2c0: feefeffe feefeffe feefeffe feefeffe 3ffff2d0: feefeffe feefeffe feefeffe feefeffe 3ffff2e0: feefeffe feefeffe feefeffe feefeffe 3ffff2f0: feefeffe feefeffe feefeffe feefeffe 3ffff300: feefeffe feefeffe feefeffe feefeffe 3ffff310: feefeffe feefeffe feefeffe feefeffe 3ffff320: feefeffe feefeffe feefeffe feefeffe 3ffff330: feefeffe feefeffe feefeffe feefeffe 3ffff340: feefeffe feefeffe feefeffe feefeffe 3ffff350: feefeffe feefeffe feefeffe feefeffe 3ffff360: feefeffe feefeffe feefeffe feefeffe 3ffff370: feefeffe feefeffe feefeffe feefeffe 3ffff380: feefeffe feefeffe feefeffe feefeffe 3ffff390: feefeffe feefeffe feefeffe feefeffe 3ffff3a0: feefeffe feefeffe feefeffe feefeffe 3ffff3b0: feefeffe feefeffe feefeffe feefeffe 3ffff3c0: feefeffe feefeffe feefeffe feefeffe 3ffff3d0: feefeffe feefeffe feefeffe feefeffe 3ffff3e0: feefeffe feefeffe feefeffe feefeffe 3ffff3f0: feefeffe feefeffe feefeffe feefeffe 3ffff400: feefeffe feefeffe feefeffe feefeffe 3ffff410: feefeffe feefeffe feefeffe feefeffe 3ffff420: feefeffe feefeffe feefeffe feefeffe 3ffff430: feefeffe feefeffe feefeffe feefeffe 3ffff440: feefeffe feefeffe feefeffe feefeffe 3ffff450: feefeffe feefeffe feefeffe feefeffe 3ffff460: feefeffe feefeffe feefeffe feefeffe 3ffff470: feefeffe feefeffe feefeffe feefeffe 3ffff480: feefeffe feefeffe feefeffe feefeffe 3ffff490: feefeffe feefeffe feefeffe feefeffe 3ffff4a0: feefeffe feefeffe feefeffe feefeffe 3ffff4b0: feefeffe feefeffe feefeffe feefeffe 3ffff4c0: feefeffe feefeffe feefeffe feefeffe 3ffff4d0: feefeffe feefeffe feefeffe feefeffe 3ffff4e0: feefeffe feefeffe feefeffe feefeffe 3ffff4f0: feefeffe feefeffe feefeffe feefeffe 3ffff500: feefeffe feefeffe feefeffe feefeffe 3ffff510: feefeffe feefeffe feefeffe feefeffe 3ffff520: feefeffe feefeffe feefeffe feefeffe 3ffff530: feefeffe feefeffe feefeffe feefeffe 3ffff540: feefeffe feefeffe feefeffe feefeffe 3ffff550: feefeffe feefeffe feefeffe feefeffe 3ffff560: feefeffe feefeffe feefeffe feefeffe 3ffff570: feefeffe feefeffe feefeffe feefeffe 3ffff580: feefeffe feefeffe feefeffe feefeffe 3ffff590: feefeffe feefeffe feefeffe feefeffe 3ffff5a0: feefeffe feefeffe feefeffe feefeffe 3ffff5b0: feefeffe feefeffe feefeffe feefeffe 3ffff5c0: feefeffe feefeffe feefeffe feefeffe 3ffff5d0: feefeffe feefeffe feefeffe feefeffe 3ffff5e0: feefeffe feefeffe feefeffe feefeffe 3ffff5f0: feefeffe feefeffe feefeffe feefeffe 3ffff600: feefeffe feefeffe feefeffe feefeffe 3ffff610: feefeffe feefeffe feefeffe feefeffe 3ffff620: feefeffe feefeffe feefeffe feefeffe 3ffff630: feefeffe feefeffe feefeffe feefeffe 3ffff640: feefeffe feefeffe feefeffe feefeffe 3ffff650: feefeffe feefeffe feefeffe feefeffe 3ffff660: feefeffe feefeffe feefeffe feefeffe 3ffff670: feefeffe feefeffe feefeffe feefeffe 3ffff680: feefeffe feefeffe feefeffe feefeffe 3ffff690: feefeffe feefeffe feefeffe feefeffe 3ffff6a0: feefeffe feefeffe feefeffe feefeffe 3ffff6b0: feefeffe feefeffe feefeffe feefeffe 3ffff6c0: feefeffe feefeffe feefeffe feefeffe 3ffff6d0: feefeffe feefeffe feefeffe feefeffe 3ffff6e0: feefeffe feefeffe feefeffe feefeffe 3ffff6f0: feefeffe feefeffe feefeffe feefeffe 3ffff700: feefeffe feefeffe feefeffe feefeffe 3ffff710: feefeffe feefeffe feefeffe feefeffe 3ffff720: feefeffe feefeffe feefeffe feefeffe 3ffff730: feefeffe feefeffe feefeffe feefeffe 3ffff740: feefeffe feefeffe feefeffe feefeffe 3ffff750: feefeffe feefeffe feefeffe feefeffe 3ffff760: feefeffe feefeffe feefeffe feefeffe 3ffff770: feefeffe feefeffe feefeffe feefeffe 3ffff780: feefeffe feefeffe feefeffe feefeffe 3ffff790: feefeffe feefeffe feefeffe feefeffe 3ffff7a0: feefeffe feefeffe feefeffe feefeffe 3ffff7b0: feefeffe feefeffe feefeffe feefeffe 3ffff7c0: feefeffe feefeffe feefeffe feefeffe 3ffff7d0: feefeffe feefeffe feefeffe feefeffe 3ffff7e0: feefeffe feefeffe feefeffe feefeffe 3ffff7f0: feefeffe feefeffe feefeffe feefeffe 3ffff800: feefeffe feefeffe feefeffe feefeffe 3ffff810: feefeffe feefeffe feefeffe feefeffe 3ffff820: feefeffe feefeffe feefeffe feefeffe 3ffff830: feefeffe feefeffe feefeffe feefeffe 3ffff840: feefeffe feefeffe feefeffe feefeffe 3ffff850: feefeffe feefeffe feefeffe feefeffe 3ffff860: feefeffe feefeffe feefeffe feefeffe 3ffff870: feefeffe feefeffe feefeffe feefeffe 3ffff880: feefeffe feefeffe feefeffe feefeffe 3ffff890: feefeffe feefeffe feefeffe feefeffe 3ffff8a0: feefeffe feefeffe feefeffe feefeffe 3ffff8b0: feefeffe feefeffe feefeffe feefeffe 3ffff8c0: feefeffe feefeffe feefeffe feefeffe 3ffff8d0: feefeffe feefeffe feefeffe feefeffe 3ffff8e0: feefeffe feefeffe feefeffe feefeffe 3ffff8f0: feefeffe feefeffe feefeffe feefeffe 3ffff900: feefeffe feefeffe feefeffe feefeffe 3ffff910: feefeffe feefeffe feefeffe feefeffe 3ffff920: feefeffe feefeffe feefeffe feefeffe 3ffff930: feefeffe feefeffe feefeffe feefeffe 3ffff940: feefeffe feefeffe feefeffe feefeffe 3ffff950: feefeffe feefeffe feefeffe feefeffe 3ffff960: feefeffe feefeffe feefeffe feefeffe 3ffff970: feefeffe feefeffe feefeffe feefeffe 3ffff980: feefeffe feefeffe feefeffe feefeffe 3ffff990: feefeffe feefeffe feefeffe feefeffe 3ffff9a0: feefeffe feefeffe feefeffe feefeffe 3ffff9b0: feefeffe feefeffe feefeffe feefeffe 3ffff9c0: feefeffe feefeffe feefeffe feefeffe 3ffff9d0: feefeffe feefeffe feefeffe feefeffe 3ffff9e0: feefeffe feefeffe feefeffe feefeffe 3ffff9f0: feefeffe feefeffe feefeffe feefeffe 3ffffa00: 00000000 00000000 0000001f 401004cc 3ffffa10: feefeffe feefeffe 3fffc228 40105fd1 3ffffa20: 4000050c feefeffe feefeffe feefeffe 3ffffa30: 4023967f 00000030 00000000 ffffffff 3ffffa40: 40239665 3fff0f38 00000001 40000000 3ffffa50: 00000000 bfffffff 00080240 c00e3004 3ffffa60: 3ffecc0c 000e3000 ff000fff 3ffee880 3ffffa70: 3fff0424 00000001 3fff1e84 00000030 3ffffa80: 3fff1164 3fffff00 40250f5f 00000000 3ffffa90: ffffffff 00000000 3ffe9ee1 00000000 3ffffaa0: 40250fae 3ffed528 3fff0424 00000001 3ffffab0: 00000002 00000000 00000020 401004cc 3ffffac0: 00000006 00000000 40250f5f 00000001 3ffffad0: 00000001 00000000 00000014 401004cc 3ffffae0: 40250fae 3ffed500 00000001 4024ec33 3ffffaf0: 40251092 3ffed500 401025df 3ffed500 3ffffb00: 00000014 3fff1c54 00000008 3fff1c70 3ffffb10: 40250020 3ffed500 3ffedc80 3fff1c54 3ffffb20: 00000000 4023968b 3ffee880 3fff0424 3ffffb30: 00000000 00000002 00000000 3ffed500 3ffffb40: 3fff1c8a 40105d7b 3fff0f38 3ffefe0c 3ffffb50: 3fff06cc 3ffffc12 00000001 00000000 3ffffb60: 00000000 4022a4e1 3fff0f38 3ffefe0c 3ffffb70: 3ffffc12 00000000 3ffffbd0 40223874
3ffffb80: 00000001 00000003 00000000 3ffefe24 3ffffb90: 3ffefe24 3fff1c54 3fff1c54 4022a70f 3ffffba0: 3ffefe5c 3fff1c54 00000000 4022ab6a 3ffffbb0: 3fff0158 3fff0150 0000001f 3ffe964a 3ffffbc0: 3ffe9649 00000000 3ffffc80 3fff0158 3ffffbd0: 3ffefe24 3ffefe5c 3fff014c 40230778 3ffffbe0: 00000001 00000001 3f302064 00000000 3ffffbf0: 3fff1c54 00000000 00000002 00000000 3ffffc00: 00000000 00000000 00000000 3fff1c54 3ffffc10: 3fff1c54 3fff1b30 3ffefe24 4023084c 3ffffc20: 00000000 00000000 00000000 4010091c 3ffffc30: 3fff1c98 3ffefe24 3fff1b30 4023217c 3ffffc40: 3ffffd10 3ffffd00 00000274 4022abb8 3ffffc50: 00000014 3fff1b2c 000000ff 00000000 3ffffc60: 00000006 3fff0234 00000001 4022d67f 3ffffc70: 00000000 00004617 00000000 3fff1b04 3ffffc80: 3ffefe24 3fff1b2c 00000000 402321e4 3ffffc90: 3ffefe24 00000000 00000000 4022d97a 3ffffca0: 00000001 00000004 3fff27cc 4023220a 3ffffcb0: 00000000 4bc6a7f0 35810624 0ba50b35 3ffffcc0: 00000000 00000000 4bc6a7f0 00000000 3ffffcd0: 000005e0 00000000 4010453d 3ffedf10 3ffffce0: 0000003c 00000000 00004617 000000ff 3ffffcf0: 0000001c 00000001 40105685 3ffedf10 3ffffd00: 00000005 00000000 00000020 401004cc 3ffffd10: 3ffed640 00000000 00000005 401024a0 3ffffd20: 00000005 00000000 00000020 401004cc 3ffffd30: 4010302b 3ffed820 00000005 401024a0 3ffffd40: 3ffe9d95 40105737 3ffed820 40103208 3ffffd50: 00000005 00000000 00000020 401004cc 3ffffd60: 0000000b 276e7cf2 00000005 401024a0 3ffffd70: 00000005 00000000 00000020 401004cc 3ffffd80: 00000005 00000000 00000005 401024a0 3ffffd90: 3ffe9d95 40105737 3ffed820 401024a0 3ffffda0: 4010302b 3ffed820 3ffed820 40105fd1 3ffffdb0: 00007fff 2776e411 3ffee0b4 40103208 3ffffdc0: 3ffea640 00000000 00000000 40103208 3ffffdd0: 00007fff 2776e411 401036c2 00000100 3ffffde0: 3ffea640 7fffffff 00000000 00000001 3ffffdf0: 00000001 00004208 00000000 00000000 3ffffe00: 3ffea640 401004cc 00000022 2776e411 3ffffe10: 3ffea61c 2c9f0300 4000050c 3fffc278 3ffffe20: 401033e4 3fffc200 00000022 00000030 3ffffe30: 4000dd04 00000030 00000016 ffffffff 3ffffe40: 4000066d 2776e441 4bc6a7f0 00002776 3ffffe50: 00004bc6 438f9546 00000000 fffffffe 3ffffe60: ffffffff 3fffc6fc 00000001 2776e441 3ffffe70: 4bc6a7f0 3fffdad0 3ffefa5c 00000030 3ffffe80: 3ffef840 3fff1164 00000001 00000030 3ffffe90: ffffffff 3fffc6fc 00000001 00000000 3ffffea0: 3ffef940 3ffef944 00000001 00000030 3ffffeb0: 00004bc6 00000001 00000000 fffffffe 3ffffec0: 00000080 3fffc6fc 00000000 3ffefa48 3ffffed0: 00000000 4bc6a7f0 228f5c29 0bae74c0 3ffffee0: 00000000 00000000 4bc6a7f0 00000000 3ffffef0: ffffffff 3fffc6fc 40100841 00000000 3fffff00: 000a1a57 595d1924 3ffefa00 00000030 3fffff10: 00000000 00000000 00000001 401004cc 3fffff20: 3fffdad0 3ffef498 00000009 3ffef498 3fffff30: 3fffdad0 3ffef498 4021b76f 3fffefa0 3fffff40: 3fffdad0 3ffef498 00000001 4020738f 3fffff50: 00000001 00000000 3fff1198 00000000 3fffff60: 007a1200 595d199f 40100841 3ffefa5c 3fffff70: 3fffdad0 3ffef840 3ffefa48 402153d0 3fffff80: 3fffdad0 00000000 3ffefa48 3ffefa5c 3fffff90: 3fffdad0 00000000 3ffefa48 402099f6 3fffffa0: 3fffdad0 00000000 3ffefa48 4021b7fc <<<stack<<<

0x4021c4e9 in delay at ??:? 0x4020c482 in WiFiUDP::parsePacket() at ??:? 0x4020759a in Timezone::setLocation(String) at ??:? 0x402213bc in SPIClass::endTransaction() at ??:? 0x40208ed6 in _ZN18ArduinoJson6185_9116JsonDeserializerINS_6ReaderIPhvEENS_11StringMoverEE12parseVariantINS_14AllowAllFilterEEEbRNS_11VariantDataET_NS_12NestingLimitE$isra$0 at main.cpp:? 0x402681c4 in etharp_output at ??:? 0x402681c4 in etharp_output at ??:? 0x4021a638 in String::copy(FlashStringHelper const, unsigned int) at ??:? 0x4021a800 in String::operator=(__FlashStringHelper const) at ??:? 0x40209e84 in handleWebSocketMessage(void, unsigned char, unsigned int) at ??:? 0x40214c20 in esp8266::MDNSImplementation::MDNSResponder::_parseQuery(esp8266::MDNSImplementation::MDNSResponder::stcMDNS_MsgHeader const&) at ??:? 0x401048fa in lmacRecycleMPDU at ??:? 0x4022a4e1 in glue2esp_linkoutput at /home/earle/src/esp-quick-toolchain/arduino/tools/sdk/lwip2/builder/glue-esp/lwip-esp.c:301 0x40104bb9 in lmacRecycleMPDU at ??:? 0x4022a70f in new_linkoutput at /home/earle/src/esp-quick-toolchain/arduino/tools/sdk/lwip2/builder/glue-lwip/lwip-git.c:268 0x40209f62 in onEvent(AsyncWebSocket, AsyncWebSocketClient, AwsEventType, void, unsigned char, unsigned int) at ??:? 0x4022c74d in pbuf_alloc_LWIP2 at /home/earle/src/esp-quick-toolchain/arduino/tools/sdk/lwip2/builder/lwip2-src/src/core/pbuf.c:225 0x4020c1dc in UdpContext::_s_recv(void, udp_pcb, pbuf, ip4_addr const, unsigned short) at ??:? 0x4021fe82 in std::_Function_handler<void (AsyncWebSocket, AsyncWebSocketClient, AwsEventType, void, unsigned char, unsigned int), void ()(AsyncWebSocket, AsyncWebSocketClient, AwsEventType, void, unsigned char, unsigned int)>::_M_invoke(std::_Any_data const&, AsyncWebSocket&&, AsyncWebSocketClient&&, AwsEventType&&, void&&, unsigned char&&, unsigned int&&) at ??:? 0x40220418 in AsyncWebSocket::_handleEvent(AsyncWebSocketClient, AwsEventType, void, unsigned char, unsigned int) at ??:? 0x40100841 in millis at ??:? 0x4020d9ac in AsyncWebSocketClient::_onData(void, unsigned int) at ??:? 0x40100841 in millis at ??:? 0x4020d9d8 in std::_Function_handler<void (void, AsyncClient, void, unsigned int), AsyncWebSocketClient::AsyncWebSocketClient(AsyncWebServerRequest, AsyncWebSocket)::{lambda(void, AsyncClient, void, unsigned int)#7}>::_M_invoke(std::_Any_data const&, void&&, AsyncClient&&, std::_Any_data const&, unsigned int&&) at AsyncWebSocket.cpp:? 0x4021e23c in AsyncClient::_recv(std::shared_ptr&, tcp_pcb, pbuf, long) at ??:? 0x4022c6ba in pbuf_free_LWIP2 at /home/earle/src/esp-quick-toolchain/arduino/tools/sdk/lwip2/builder/lwip2-src/src/core/pbuf.c:786 (inlined by) pbuf_free_LWIP2 at /home/earle/src/esp-quick-toolchain/arduino/tools/sdk/lwip2/builder/lwip2-src/src/core/pbuf.c:725 0x40100000 in _stext at ??:? 0x4021e29c in AsyncClient::_s_recv(void, tcp_pcb, pbuf, long) at ??:? 0x402347c9 in tcp_input at /home/earle/src/esp-quick-toolchain/arduino/tools/sdk/lwip2/builder/lwip2-src/src/core/tcp_in.c:501 (discriminator 1) 0x4010091c in pvPortMalloc at ??:? 0x40231f5d in ip4_input at /home/earle/src/esp-quick-toolchain/arduino/tools/sdk/lwip2/builder/lwip2-src/src/core/ipv4/ip4.c:1467 0x40100db7 in umm_free_core at umm_malloc.cpp:? 0x4022aadd in ethernet_input_LWIP2 at /home/earle/src/esp-quick-toolchain/arduino/tools/sdk/lwip2/builder/lwip2-src/src/netif/ethernet.c:188 0x4022a8dc in git2glue_err at /home/earle/src/esp-quick-toolchain/arduino/tools/sdk/lwip2/builder/glue-lwip/lwip-git.c:116 (inlined by) esp2glue_ethernet_input at /home/earle/src/esp-quick-toolchain/arduino/tools/sdk/lwip2/builder/glue-lwip/lwip-git.c:477 0x40258b49 in ethernet_input at /home/earle/src/esp-quick-toolchain/arduino/tools/sdk/lwip2/builder/glue-esp/lwip-esp.c:365 0x40258b5b in ethernet_input at /home/earle/src/esp-quick-toolchain/arduino/tools/sdk/lwip2/builder/glue-esp/lwip-esp.c:373 0x4024fe07 in ppPeocessRxPktHdr at ??:? 0x40254373 in ets_snprintf at ??:? 0x40105839 in call_user_start_local at ??:? 0x4010583f in call_user_start_local at ??:? 0x40100f70 in umm_init at ??:? 0x4010000d in call_user_start at ??:? 0x401000ac in app_entry_redefinable at ??:? 0x40244d84 in cont_ret at cont.S.o:? 0x40244d35 in cont_continue at cont.S.o:? 0x401004cc in ets_post at ??:? 0x40105fd1 in ets_timer_disarm at ??:? 0x4023967f in ieee80211_output_pbuf at ??:? 0x40239665 in ieee80211_output_pbuf at ??:? 0x40250f5f in pp_attach at ??:? 0x40250fae in pp_attach at ??:? 0x401004cc in ets_post at ??:? 0x40250f5f in pp_attach at ??:? 0x401004cc in ets_post at ??:? 0x40250fae in pp_attach at ??:? 0x4024ec33 in pm_post at ??:? 0x40251092 in pp_attach at ??:? 0x401025df in ppCalFrameTimes at ??:? 0x40250020 in ppTxPkt at ??:? 0x4023968b in ieee80211_output_pbuf at ??:? 0x40105d7b in wdt_feed at ??:? 0x4022a4e1 in glue2esp_linkoutput at /home/earle/src/esp-quick-toolchain/arduino/tools/sdk/lwip2/builder/glue-esp/lwip-esp.c:301 0x40223874 in _printf_i at /workdir/repo/newlib/newlib/libc/stdio/nano-vfprintf_i.c:246 0x4022a70f in new_linkoutput at /home/earle/src/esp-quick-toolchain/arduino/tools/sdk/lwip2/builder/glue-lwip/lwip-git.c:268 0x4022ab6a in ethernet_output at /home/earle/src/esp-quick-toolchain/arduino/tools/sdk/lwip2/builder/lwip2-src/src/netif/ethernet.c:312 0x40230778 in etharp_output_to_arp_index at /home/earle/src/esp-quick-toolchain/arduino/tools/sdk/lwip2/builder/lwip2-src/src/core/ipv4/etharp.c:770
0x4023084c in etharp_output_LWIP2 at /home/earle/src/esp-quick-toolchain/arduino/tools/sdk/lwip2/builder/lwip2-src/src/core/ipv4/etharp.c:885 0x4010091c in pvPortMalloc at ??:? 0x4023217c in ip4_output_if_opt_src at /home/earle/src/esp-quick-toolchain/arduino/tools/sdk/lwip2/builder/lwip2-src/src/core/ipv4/ip4.c:1765 0x4022abb8 in do_memp_malloc_pool at /home/earle/src/esp-quick-toolchain/arduino/tools/sdk/lwip2/builder/lwip2-src/src/core/memp.c:255 0x4022d67f in tcp_create_segment at /home/earle/src/esp-quick-toolchain/arduino/tools/sdk/lwip2/builder/lwip2-src/src/core/tcp_out.c:190 0x402321e4 in ip4_output_if_opt at /home/earle/src/esp-quick-toolchain/arduino/tools/sdk/lwip2/builder/lwip2-src/src/core/ipv4/ip4.c:1577 0x4022d97a in tcp_write at /home/earle/src/esp-quick-toolchain/arduino/tools/sdk/lwip2/builder/lwip2-src/src/core/tcp_out.c:666 0x4023220a in ip4_output_if at /home/earle/src/esp-quick-toolchain/arduino/tools/sdk/lwip2/builder/lwip2-src/src/core/ipv4/ip4.c:1550 0x4010453d in lmacIsIdle at ??:? 0x40105685 in lmacTxFrame at ??:? 0x401004cc in ets_post at ??:? 0x401024a0 in pp_post at ??:? 0x401004cc in ets_post at ??:? 0x4010302b in rcReachRetryLimit at ??:? 0x401024a0 in pp_post at ??:? 0x40105737 in lmacRxDone at ??:? 0x40103208 in rcReachRetryLimit at ??:? 0x401004cc in ets_post at ??:? 0x401024a0 in pp_post at ??:? 0x401004cc in ets_post at ??:? 0x401024a0 in pp_post at ??:? 0x40105737 in lmacRxDone at ??:? 0x401024a0 in pp_post at ??:? 0x4010302b in rcReachRetryLimit at ??:? 0x40105fd1 in ets_timer_disarm at ??:? 0x40103208 in rcReachRetryLimit at ??:? 0x40103208 in rcReachRetryLimit at ??:? 0x401036c2 in wDev_ProcessFiq at ??:? 0x401004cc in ets_post at ??:? 0x401033e4 in wDev_ProcessFiq at ??:? 0x40100841 in millis at ??:? 0x401004cc in ets_post at ??:? 0x4021b76f in yield at ??:? 0x4020738f in ezt::events() at ??:? 0x40100841 in millis at ??:? 0x402153d0 in esp8266::MDNSImplementation::MDNSResponder::_process(bool) at ??:? 0x402099f6 in loop at ??:? 0x4021b7fc in loop_wrapper() at core_esp8266_main.cpp:?

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 3460, room 16 tail 4 chksum 0xcc load 0x3fff20b8, len 40, room 4 tail 4 chksum 0xc9 csum 0xc9 v00071770 ~ld

-- BME280 connected on address 0x76 --

-- Configuring GPIO -- isMode: 2 Connecting to WiFi . . . . 192.168.86.71 MDNS started

ezTime debug level set to INFO Syncing with NTP Waiting for time sync Querying time.google.com ... success (round trip 57 ms) Received time: Monday, 14-Feb-22 02:30:41.852 UTC Time is in sync our Timezone: America/Los_Angeles Timezone lookup for: America/Los_Angeles ... (round-trip 342 ms) success. Olson: America/Los_Angeles Posix: PST8PDT,M3.2.0,M11.1.0 Central Time: Sunday, 13-Feb-2022 18:30:42 PST WebSocket client #1 connected from 192.168.86.27

alager commented 2 years ago

The WDT reset appears to be mitigated by:

  1. The server is up
  2. Only calling events() every 10 seconds

However the inability to change time zones remains. Maybe there is a better way of doing this?