Getting Exceptions


#1

My original IoTaWatt seems to be getting exceptions more frequently than I would expect.

** Restart **

SD initialized.
1/02/19 17:28:56z Real Time Clock is running. Unix time 1546450136
1/02/19 17:28:56z Version 02_03_20
1/02/19 17:28:56z Updater: Installing update files for version 02_03_20
1/02/19 17:28:56z Updater: Installing GRAPH.HTM
1/02/19 17:28:56z Updater: Installing GRAPH.JS
1/02/19 17:28:57z Updater: Installing INDEX.HTM
1/02/19 17:28:58z Updater: Installing TABLES.TXT
1/02/19 17:28:59z Updater: Installing CNFSTYLE.CSS
1/02/19 17:28:59z Updater: Installing EDIT.HTM
1/02/19 17:29:00z Updater: Installation complete.
1/02/19 17:29:00z Reset reason: Software/System restart
1/02/19 17:29:00z Trace: 1:2[12], 9:0[12], 9:0, 9:1, 8:4, 8:6, 8:8, 8:9, 9:3, 9:5, 9:9, 1:2, 1:3, 1:4, 1:5[19], 1:6, 1:1[12], 1:2[13], 9:0[13], 9:0, 9:1, 8:4, 8:6, 8:8, 8:9, 9:3, 9:5, 9:9, 1:2, 1:3, 1:4, 1:5[5]
1/02/19 17:29:00z ESP8266 ChipID: 2222239
1/02/19 17:29:00z SPIFFS mounted.
1/02/19 09:29:01 Local time zone: -8:00
1/02/19 09:29:01 device name: IotaWatt
1/02/19 09:29:01 MDNS responder started for hostname IotaWatt
1/02/19 09:29:01 LLMNR responder started for hostname IotaWatt
1/02/19 09:29:01 HTTP server started
1/02/19 09:29:01 timeSync: service started.
1/02/19 09:29:01 statService: started.
1/02/19 09:29:01 Updater: service started. Auto-update class is MINOR
1/02/19 09:29:01 dataLog: service started.
1/02/19 09:29:01 dataLog: Last log entry 01/02/19 09:28:25
1/02/19 09:29:02 historyLog: service started.
1/02/19 09:29:02 historyLog: Last log entry 01/02/19 09:28:00
1/02/19 09:29:02 WiFi connected. SSID=FrogmoreN66, IP=192.168.0.38, channel=6, RSSI -61db
1/02/19 09:29:03 Updater: Auto-update is current for class MINOR.
1/05/19 10:21:42 WiFi disconnected.
1/05/19 10:21:45 WiFi connected. SSID=FrogmoreN66, IP=192.168.0.38, channel=1, RSSI -63db

** Restart **

SD initialized.
1/06/19 10:06:19z Real Time Clock is running. Unix time 1546769179
1/06/19 10:06:19z Power failure detected.
1/06/19 10:06:19z Version 02_03_20
1/06/19 10:06:19z Reset reason: External System
1/06/19 10:06:19z ESP8266 ChipID: 2222239
1/06/19 10:06:19z SPIFFS mounted.
1/06/19 02:06:20 Local time zone: -8:00
1/06/19 02:06:20 device name: IotaWatt
1/06/19 02:06:23 MDNS responder started for hostname IotaWatt
1/06/19 02:06:23 LLMNR responder started for hostname IotaWatt
1/06/19 02:06:23 HTTP server started
1/06/19 02:06:23 WiFi connected. SSID=FrogmoreN66, IP=192.168.0.38, channel=1, RSSI -68db
1/06/19 02:06:23 timeSync: service started.
1/06/19 02:06:23 statService: started.
1/06/19 02:06:23 Updater: service started. Auto-update class is MINOR
1/06/19 02:06:23 dataLog: service started.
1/06/19 02:06:24 dataLog: Last log entry 01/06/19 02:06:15
1/06/19 02:06:24 historyLog: service started.
1/06/19 02:06:24 historyLog: Last log entry 01/06/19 02:06:00
1/06/19 02:06:25 Updater: Auto-update is current for class MINOR.

** Restart **

SD initialized.
1/06/19 10:18:16z Real Time Clock is running. Unix time 1546769896
1/06/19 10:18:16z Power failure detected.
1/06/19 10:18:16z Version 02_03_20
1/06/19 10:18:16z Reset reason: External System
1/06/19 10:18:16z ESP8266 ChipID: 2222239
1/06/19 10:18:16z SPIFFS mounted.
1/06/19 02:18:17 Local time zone: -8:00
1/06/19 02:18:17 device name: IotaWatt
1/06/19 02:18:20 MDNS responder started for hostname IotaWatt
1/06/19 02:18:20 LLMNR responder started for hostname IotaWatt
1/06/19 02:18:20 HTTP server started
1/06/19 02:18:20 WiFi connected. SSID=FrogmoreN66, IP=192.168.0.38, channel=1, RSSI -68db
1/06/19 02:18:20 timeSync: service started.
1/06/19 02:18:26 statService: started.
1/06/19 02:18:26 Updater: service started. Auto-update class is MINOR
1/06/19 02:18:27 dataLog: service started.
1/06/19 02:18:27 dataLog: Last log entry 01/06/19 02:17:55
1/06/19 02:18:27 historyLog: service started.
1/06/19 02:18:27 historyLog: Last log entry 01/06/19 02:17:00
1/06/19 03:18:48 Updater: Invalid response from server. HTTPcode: -4
1/07/19 02:18:23 timeSync: No time update in last 24 hours.
1/07/19 07:20:29 Updater: Auto-update is current for class MINOR.
1/10/19 16:28:47 Updater: Invalid response from server. HTTPcode: -4
1/11/19 18:28:59 WiFi disconnected.
1/11/19 19:22:33 WiFi connected. SSID=FrogmoreN66, IP=192.168.0.38, channel=6, RSSI -66db
1/14/19 06:11:41 WiFi disconnected.
1/14/19 06:11:49 WiFi connected. SSID=FrogmoreN66, IP=192.168.0.38, channel=5, RSSI -70db
1/14/19 08:10:44 WiFi disconnected.
1/14/19 08:10:52 WiFi connected. SSID=FrogmoreN66, IP=192.168.0.38, channel=5, RSSI -72db
1/15/19 06:31:03 Updater: Invalid response from server. HTTPcode: -4
1/16/19 18:03:17 WiFi disconnected.
1/16/19 18:03:21 WiFi connected. SSID=FrogmoreN66, IP=192.168.0.38, channel=5, RSSI -72db

** Restart **

SD initialized.
1/20/19 04:30:06z Real Time Clock is running. Unix time 1547958606
1/20/19 04:30:06z Version 02_03_20
1/20/19 04:30:06z Reset reason: Hardware Watchdog
1/20/19 04:30:06z Trace: 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:1[6], 1:2[7], 9:0[7], 9:0, 9:1, 8:4, 8:6, 8:8, 8:9, 9:3, 9:5, 9:9, 1:2, 1:3
1/20/19 04:30:06z ESP8266 ChipID: 2222239
1/20/19 04:30:06z SPIFFS mounted.
1/19/19 20:30:07 Local time zone: -8:00
1/19/19 20:30:07 device name: IotaWatt
1/19/19 20:30:07 MDNS responder started for hostname IotaWatt
1/19/19 20:30:07 LLMNR responder started for hostname IotaWatt
1/19/19 20:30:07 HTTP server started
1/19/19 20:30:07 timeSync: service started.
1/19/19 20:30:10 statService: started.
1/19/19 20:30:10 Updater: service started. Auto-update class is MINOR
1/19/19 20:30:10 dataLog: service started.
1/19/19 20:30:11 dataLog: Last log entry 01/19/19 20:29:55
1/19/19 20:30:11 historyLog: service started.
1/19/19 20:30:11 historyLog: Last log entry 01/19/19 20:29:00
1/19/19 20:30:11 WiFi connected. SSID=FrogmoreN66, IP=192.168.0.38, channel=5, RSSI -69db
1/19/19 20:30:13 Updater: Auto-update is current for class MINOR.

** Restart **

SD initialized.
1/22/19 07:03:00z Real Time Clock is running. Unix time 1548140580
1/22/19 07:03:00z Version 02_03_20
1/22/19 07:03:00z Reset reason: Exception
1/22/19 07:03:00z Trace: 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:1, 1:2[1], 9:0[1], 9:0, 9:1, 8:4, 8:6, 8:8, 8:9, 9:3, 9:5, 9:9, 1:2, 1:3, 10:2, 10:4
1/22/19 07:03:00z ESP8266 ChipID: 2222239
1/22/19 07:03:00z SPIFFS mounted.
1/21/19 23:03:01 Local time zone: -8:00
1/21/19 23:03:01 Using Daylight Saving Time (BST) when in effect.
1/21/19 23:03:01 device name: IotaWatt
1/21/19 23:03:01 MDNS responder started for hostname IotaWatt
1/21/19 23:03:01 LLMNR responder started for hostname IotaWatt
1/21/19 23:03:01 HTTP server started
1/21/19 23:03:01 WiFi connected. SSID=FrogmoreN66, IP=192.168.0.38, channel=5, RSSI -69db
1/21/19 23:03:01 timeSync: service started.
1/21/19 23:03:04 statService: started.
1/21/19 23:03:04 Updater: service started. Auto-update class is MINOR
1/21/19 23:03:04 dataLog: service started.
1/21/19 23:03:05 dataLog: Last log entry 01/21/19 23:02:55
1/21/19 23:03:05 historyLog: service started.
1/21/19 23:03:05 historyLog: Last log entry 01/21/19 23:02:00
1/21/19 23:03:07 Updater: Auto-update is current for class MINOR.

** Restart **

SD initialized.
1/22/19 07:03:18z Real Time Clock is running. Unix time 1548140598
1/22/19 07:03:18z Version 02_03_20
1/22/19 07:03:18z Reset reason: Exception
1/22/19 07:03:18z Trace: 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:3, 1:4, 1:1[2], 1:2[3], 9:0[3], 9:0, 9:1, 8:4, 8:6, 8:8, 8:9, 9:3, 9:5, 9:9, 1:2, 1:3, 10:2, 10:4
1/22/19 07:03:18z ESP8266 ChipID: 2222239
1/22/19 07:03:18z SPIFFS mounted.
1/21/19 23:03:19 Local time zone: -8:00
1/21/19 23:03:19 Using Daylight Saving Time (BST) when in effect.
1/21/19 23:03:19 device name: IotaWatt
1/21/19 23:03:19 MDNS responder started for hostname IotaWatt
1/21/19 23:03:19 LLMNR responder started for hostname IotaWatt
1/21/19 23:03:19 HTTP server started
1/21/19 23:03:19 timeSync: service started.
1/21/19 23:03:19 statService: started.
1/21/19 23:03:19 Updater: service started. Auto-update class is MINOR
1/21/19 23:03:19 dataLog: service started.
1/21/19 23:03:20 dataLog: Last log entry 01/21/19 23:03:15
1/21/19 23:03:20 historyLog: service started.
1/21/19 23:03:20 historyLog: Last log entry 01/21/19 23:03:00
1/21/19 23:03:20 WiFi connected. SSID=FrogmoreN66, IP=192.168.0.38, channel=5, RSSI -67db
1/21/19 23:03:22 Updater: Auto-update is current for class MINOR.

It is one room over from the Wi-Fi router. The Wi-Fi on it does go out every once in awhile, so maybe that is causing IoTaWatt to have an issue.


#2

The trace says that’s happening in the web server handler for the vtphase command. I’d look further into it but you are on 02_03_20 that has the old handler. I installed a new handler in 02_03_21, now in ALPHA, so no sense fixing something that’s obsolete. The exceptions are pretty harmless as the reboot takes a couple of seconds.


#3

Okay, I set up that one to get ALPHA. I was using vtphase for the two most recent restarts. The one before that was a hardware watchdog, but that does not appear to be frequent. I’ll keep an eye on it.