Stuck in reboot loop

Hi, my unit seems stuck in a reboot loop. I tried disabling the HASS integration (which doesn’t work anymore anyway) and power cycling – neither had an effect.

The SD card is about a year old, so hopefully that’s not the problem.

I don’t have any other services interfacing with the Iotawatt.

Any ideas? Thanks.

** Restart **

SD initialized.
10/17/23 03:27:49z Real Time Clock is running. Unix time 1697513269 
10/17/23 03:27:49z Reset reason: Software Watchdog
10/17/23 03:27:49z Trace:  1:5[5], 1:6[4], 5:0, 5:5, 1:6[6], 1:1[12], 1:2[13], 9:0[13], 9:0, 9:1, 8:4, 8:6, 8:8, 9:3, 9:5, 9:9, 1:3, 1:3, 1:6[1], 1:6[2], 1:6[2], 1:6[2], 1:6[2], 1:6[3], 1:5[5], 1:6[4], 5:0, 5:6, 21:100[5], 21:101, 5:6, 5:6
10/17/23 03:27:50z ESP8266 ID: 570217, RTC M41T81 (68)
10/17/23 03:27:50z IoTaWatt 5.0, Firmware version 02_08_02
10/17/23 03:27:51z SPIFFS mounted.
10/16/23 17:27:51 Local time zone: -10:00
10/16/23 17:27:51 device name: IotaWatt
10/16/23 17:27:51 HTTP server started
10/16/23 17:27:52 timeSync: service started.
10/16/23 17:27:52 statService: started.
10/16/23 17:27:52 dataLog: service started.
10/16/23 17:28:03 dataLog: Last log entry 10/16/23 17:27:45
10/16/23 17:28:04 WiFi connected. SSID=HaleKao, IP=10.1.1.141, channel=5, RSSI -32db
10/16/23 17:28:04 Updater: service started. Auto-update class is MINOR
10/16/23 17:28:05 historyLog: service started.
10/16/23 17:28:24 historyLog: Last log entry 10/16/23 17:27:00
10/16/23 17:28:25 grid_int: Started
10/16/23 17:28:31 grid_int: Last log entry 09/25/23 13:37:50
10/16/23 17:28:31 Updater: Update from 02_08_02 to 02_08_03
10/16/23 17:28:32 Updater: download 02_08_03

** Restart **

SD initialized.
10/17/23 03:28:36z Real Time Clock is running. Unix time 1697513316 
10/17/23 03:28:36z Reset reason: Software Watchdog
10/17/23 03:28:36z Trace:  1:5[5], 1:6[4], 5:0, 5:5, 1:6[6], 1:1[5], 1:2[10], 9:0[10], 9:0, 9:1, 8:4, 8:6, 8:8, 9:3, 9:5, 9:9, 1:3, 1:3, 1:6[1], 1:6[2], 1:6[2], 1:6[2], 1:6[2], 1:6[3], 1:5[5], 1:6[4], 5:0, 5:6, 21:100[5], 21:101, 5:6, 5:6
10/17/23 03:28:37z ESP8266 ID: 570217, RTC M41T81 (68)
10/17/23 03:28:37z IoTaWatt 5.0, Firmware version 02_08_02
10/17/23 03:28:37z SPIFFS mounted.
10/16/23 17:28:38 Local time zone: -10:00
10/16/23 17:28:38 device name: IotaWatt
10/16/23 17:28:38 HTTP server started
10/16/23 17:28:38 timeSync: service started.
10/16/23 17:28:39 statService: started.
10/16/23 17:28:39 dataLog: service started.
10/16/23 17:28:50 dataLog: Last log entry 10/16/23 17:28:30
10/16/23 17:28:51 Updater: service started. Auto-update class is MINOR
10/16/23 17:28:51 WiFi connected. SSID=HaleKao, IP=10.1.1.141, channel=5, RSSI -33db
10/16/23 17:28:52 historyLog: service started.
10/16/23 17:29:11 historyLog: Last log entry 10/16/23 17:28:00
10/16/23 17:29:12 grid_int: Started
10/16/23 17:29:18 grid_int: Last log entry 09/25/23 13:37:50
10/16/23 17:29:19 Updater: Update from 02_08_02 to 02_08_03
10/16/23 17:29:20 Updater: download 02_08_03

** Restart **

SD initialized.
10/17/23 03:29:24z Real Time Clock is running. Unix time 1697513364 
10/17/23 03:29:24z Reset reason: Software Watchdog
10/17/23 03:29:24z Trace:  1:5[5], 1:6[4], 5:0, 5:5, 1:6[6], 1:1[11], 1:2[12], 9:0[12], 9:0, 9:1, 8:4, 8:6, 8:8, 9:3, 9:5, 9:9, 1:3, 1:3, 1:6[1], 1:6[2], 1:6[2], 1:6[2], 1:6[2], 1:6[3], 1:5[5], 1:6[4], 5:0, 5:6, 21:100[5], 21:101, 5:6, 5:6
10/17/23 03:29:25z ESP8266 ID: 570217, RTC M41T81 (68)
10/17/23 03:29:25z IoTaWatt 5.0, Firmware version 02_08_02
10/17/23 03:29:25z SPIFFS mounted.
10/16/23 17:29:26 Local time zone: -10:00
10/16/23 17:29:26 device name: IotaWatt
10/16/23 17:29:26 HTTP server started
10/16/23 17:29:27 timeSync: service started.
10/16/23 17:29:27 statService: started.
10/16/23 17:29:27 dataLog: service started.
10/16/23 17:29:38 dataLog: Last log entry 10/16/23 17:29:20

Looks like there is a problem downloading the latest firmware update 02_08_03. These kinds of problems only seem to happen in Australia. It could be your SDcard, but I suspect it has something to do with timeouts from your ISP.

The new release blob is cached around the world by Cloudflare. Your ISP should be getting it from a local Cloudflare server, but not necessarily. If not, the path back to IoTaWatt server in the USA is long and convoluted between Australia and the USA.

I would suggest doing the following:

  • Temporarily remove the internet connection from your router.
  • IoTaWatt should stop rebooting as it will not be able to establish an update connection.
  • Using the IoTaWatt app, set auto-update to NONE.
  • Reconnect your internet.

Alternatively, you can power down the unit, remove the SDcard and edit the config.txt file to change the line:

"update": "MINOR",
to
"update": "NONE",

Your unit should now run fine under release 02_08_02. There is no functional difference between 02_08_02 and the update 02_08_03. It is just an update of defaults and tables.

If you want to update to 02_08_03 or any future firmware version, use the manual method described here:

Thanks, that did the trick.

FWIW, I’m in Hawaiʻi (Big Island). The timeout seems to be happening pretty quickly, based on the timestamp differences – four seconds from attempting the download to restart:

10/16/23 17:28:31 Updater: Update from 02_08_02 to 02_08_03
10/16/23 17:28:32 Updater: download 02_08_03

** Restart **

SD initialized.
10/17/23 03:28:36z Real Time Clock is running. Unix time 1697513316 
1 Like