Firmware Updates in Australia

Hi Bob, I’ve seperated out this issue (from the NTC thread) and will report my results as I’m updating ~30 units.

My method is to switch to MINOR and set if it updates from the ‘stuck’ version prior to 02_05_09.

Unit 1 (redacted a bit). Updated Ok. 25s download.
7/19/21 15:03:17 Updater: Auto-update is current for class MAJOR.
7/19/21 15:03:19 influxDB: Start posting at 07/19/21 15:04:00
7/19/21 15:05:00 influxDB: Stopped. Last post 07/19/21 15:04:00
7/19/21 15:05:07 Restart command received.

** Restart **

SD initialized.
7/19/21 05:05:09z Real Time Clock is running. Unix time 1626671109
7/19/21 05:05:09z Reset reason: Software/System restart
7/19/21 05:05:09z Trace: 9:9, 1:2, 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[5], 1:2[6], 9:0[6], 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:3
7/19/21 05:05:09z ESP8266 ChipID: 6522831
7/19/21 05:05:10z IoTaWatt 5.0, Firmware version 02_05_12
7/19/21 05:05:10z SPIFFS mounted.
7/19/21 15:05:10 Local time zone: +10:00
7/19/21 15:05:10 device name: rc301
7/19/21 15:05:10 HTTP server started
7/19/21 15:05:11 timeSync: service started.
7/19/21 15:05:11 statService: started.
7/19/21 15:05:11 dataLog: service started.
7/19/21 15:05:12 dataLog: Last log entry 07/19/21 15:05:05
7/19/21 15:05:15 WiFi connected. SSID=router, IP=192.168.0.75, channel=6, RSSI -19db
7/19/21 15:05:15 MDNS responder started for hostname rc301
7/19/21 15:05:15 LLMNR responder started for hostname rc301
7/19/21 15:05:15 Updater: service started. Auto-update class is MAJOR
7/19/21 15:05:17 Updater: Auto-update is current for class MAJOR.
7/19/21 15:06:11 historyLog: service started.
7/19/21 15:07:38 deletelog=both command received.

** Restart **

SD initialized.
7/19/21 05:07:43z Real Time Clock is running. Unix time 1626671263
7/19/21 05:07:43z Reset reason: Software/System restart
7/19/21 05:07:43z Trace: 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:1[13], 1:2[14], 9:0[14], 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:21, 10:23
7/19/21 05:07:43z ESP8266 ChipID: 6522831
7/19/21 05:07:44z IoTaWatt 5.0, Firmware version 02_05_12
7/19/21 05:07:44z SPIFFS mounted.
7/19/21 15:07:44 Local time zone: +10:00
7/19/21 15:07:45 dataLog: New current log created.
7/19/21 15:07:49 WiFi connected. SSID=router, IP=192.168.0.75, channel=6, RSSI -21db
7/19/21 15:07:49 MDNS responder started for hostname rc301
7/21/21 10:20:35 Updater: Auto-update class changed to MINOR
7/21/21 10:20:36 Updater: Update from 02_05_12 to 02_06_02
7/21/21 10:20:36 Updater: download 02_06_02
7/21/21 10:21:00 Updater: Release downloaded 23844ms, size 831128
7/21/21 10:21:11 Updater: signature verified
7/21/21 10:21:19 Updater: firmware upgraded to version 02_06_02
7/21/21 10:21:20 Updater: Firmware updated, restarting.

** Restart **

SD initialized.
7/21/21 00:21:29z Real Time Clock is running. Unix time 1626826889
7/21/21 00:21:29z Reset reason: Software/System restart
7/21/21 00:21:29z Trace: 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[9], 1:2[10], 9:0[10], 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], 5:0, 5:7
7/21/21 00:21:29z ESP8266 ChipID: 6522831
7/21/21 00:21:29z IoTaWatt 5.0, Firmware version 02_06_02
7/21/21 00:21:29z Updater: Installing update files for version 02_06_02
7/21/21 00:21:29z Updater: Installing GRAPH.JS
7/21/21 00:21:29z Updater: Installing GRAPH2.HTM
7/21/21 00:21:30z Updater: Installing GRAPH2.JS
7/21/21 00:21:31z Updater: Installing INDEX.HTM
7/21/21 00:21:32z Updater: Installing TABLES.TXT
7/21/21 00:21:33z Updater: Installing CNFSTYLE.CSS
7/21/21 00:21:33z Updater: Installing EDIT.HTM
7/21/21 00:21:33z Updater: Installing GRAPH.HTM
7/21/21 00:21:34z Updater: Installation complete.
7/21/21 00:21:34z SPIFFS mounted.
7/21/21 10:21:34 Local time zone: +10:00
7/21/21 10:21:34 device name: rc301
7/21/21 10:21:39 Updater: service started. Auto-update class is MINOR
7/21/21 10:21:41 Updater: Auto-update is current for class MINOR.
7/21/21 10:22:31 Updater: Update from 02_06_02 to 02_05_12
7/21/21 10:22:31 Updater: download 02_05_12
7/21/21 10:22:54 Updater: Release downloaded 23333ms, size 814016
7/21/21 10:23:02 Updater: signature verified
7/21/21 10:23:09 Updater: firmware upgraded to version 02_05_12
7/21/21 10:23:09 Updater: Firmware updated, restarting.

** Restart **

SD initialized.
7/21/21 00:23:17z Real Time Clock is running. Unix time 1626826997
7/21/21 00:23:17z Reset reason: Software/System restart
7/21/21 00:23:17z Trace: 1:5[20], 1:6[4], 20:0, 20:1, 20:2, 20:31, 20:32, 20:4, 20:5, 20:6, 20:7, 20:8, 20:9, 20:91, 1:6[6], 1:1[14], 1:2, 9:0, 9:0, 8:4, 8:6, 8:8, 8:9, 1:2, 1:3, 1:3, 1:6[1], 1:6[3], 1:5[5], 1:6[4], 5:0, 5:7
7/21/21 00:23:17z ESP8266 ChipID: 6522831
7/21/21 00:23:18z IoTaWatt 5.0, Firmware version 02_05_12
7/21/21 00:23:18z Updater: Installing update files for version 02_05_12
7/21/21 00:23:18z Updater: Installing GRAPH.HTM
7/21/21 00:23:18z Updater: Installing GRAPH.JS
7/21/21 00:23:19z Updater: Installing GRAPH2.HTM
7/21/21 00:23:20z Updater: Installing GRAPH2.JS
7/21/21 00:23:21z Updater: Installing INDEX.HTM
7/21/21 00:23:23z Updater: Installing TABLES.TXT
7/21/21 00:23:24z Updater: Installing CNFSTYLE.CSS
7/21/21 00:23:24z Updater: Installing EDIT.HTM
7/21/21 00:23:24z Updater: Installation complete.
7/21/21 00:23:25z SPIFFS mounted.
7/21/21 10:23:25 Local time zone: +10:00
7/21/21 10:23:26 device name: rc301
7/21/21 10:23:26 HTTP server started
7/21/21 10:23:26 timeSync: service started.
7/21/21 10:23:26 statService: started.
7/21/21 10:23:26 dataLog: service started.
7/21/21 10:23:27 dataLog: Last log entry 07/21/21 10:22:55
7/21/21 10:23:32 Updater: Auto-update is current for class MAJOR.
7/21/21 10:23:33 influxDB: Start posting at 07/21/21 10:18:00

Looks good Brett,

Can’t get over the RSSI on your router. Never seen -19 before.

Let’s hope the rest go as smooth. Assuming you deleted the logs because you were installing in a new environment.

The router is 5cm from the iotawatt!

There is a failed update I’m doing now:
7/26/21 12:30:39 Updater: Update from 02_05_12 to 02_06_02
7/26/21 12:30:39 Updater: download 02_06_02
7/26/21 12:32:53 Updater: Download failed HTTPcode -11
7/26/21 12:32:54 historyLog: service started.
7/26/21 12:32:54 historyLog: Last log entry 07/26/21 12:30:00

That’s a timeout, but 02_05_12 Already has the increased time limit. What else can you tell me about the environment and connection?

That failed one was with a 3G router which (generally) have steady connections but not great bandwidth. Sorry, I don’t have numbers.

Next one succeeded (on Wifi. just google tested at 50Mbits/s).
7/27/21 11:18:31 Updater: Auto-update class changed to MINOR
7/27/21 11:18:32 Updater: Update from 02_05_12 to 02_06_02
7/27/21 11:18:32 Updater: download 02_06_02
7/27/21 11:18:51 Updater: Release downloaded 19393ms, size 831128
7/27/21 11:19:02 Updater: signature verified
7/27/21 11:19:11 Updater: firmware upgraded to version 02_06_02
7/27/21 11:19:11 Updater: Firmware updated, restarting.

Another failed (error -11, timeout) from a 3G. I just tested the speeds with Google Speed Test and got 15 MBits/s down and 01MBits/s up.

I then switch back to MAJOR and again to MINOR, assuming this would clear the ‘I tried and failed’ flag. It then downloaded and installed ok. Logs below:

Restart **

SD initialized.
7/28/21 01:47:06z Real Time Clock is running. Unix time 1627436826 
7/28/21 01:47:06z Power failure detected.
7/28/21 01:47:06z Reset reason: External System
7/28/21 01:47:06z ESP8266 ChipID: 12704143
7/28/21 01:47:06z IoTaWatt 5.0, Firmware version 02_05_12
7/28/21 01:47:06z SPIFFS mounted.
7/28/21 11:47:06 Local time zone: +10:00
7/28/21 11:47:06 device name: rc536
7/28/21 11:47:09 Connecting with WiFiManager.
7/28/21 11:48:03 HTTP server started
7/28/21 11:48:03 WiFi connected. SSID=router, IP=192.168.0.40, channel=1, RSSI -33db
7/28/21 11:48:03 MDNS responder started for hostname rc536
7/28/21 11:48:03 LLMNR responder started for hostname rc536
7/28/21 11:48:03 timeSync: service started.
7/28/21 11:48:06 statService: started.
7/28/21 11:48:06 Updater: service started. Auto-update class is MAJOR
7/28/21 11:48:06 dataLog: service started.
7/28/21 11:48:07 dataLog: Last log entry 07/28/21 11:47:00
7/28/21 11:48:08 influxDB: started, url=HTTP://live2.phisaver.com:8086, db=phisaver, interval=60
7/28/21 11:48:14 Updater: Invalid response from server. HTTPcode: -4
7/28/21 11:49:13 historyLog: service started.
7/28/21 11:49:13 historyLog: Last log entry 07/28/21 11:47:00
7/28/21 11:49:37 influxDB: last entry query failed: -4, retrying.
7/28/21 11:53:15 Updater: Auto-update class changed to MINOR
7/28/21 11:54:05 WiFi disconnected.
7/28/21 11:56:49 WiFi connected. SSID=router, IP=192.168.0.40, channel=1, RSSI -57db
7/28/21 11:56:50 influxDB: Start posting at 06/29/21 11:19:00
7/28/21 11:58:23 Updater: Update from 02_05_12 to 02_06_02
7/28/21 11:58:23 Updater: download 02_06_02
7/28/21 12:00:17 Updater: Download failed HTTPcode -11
7/28/21 12:07:26 Updater: Auto-update class changed to MAJOR
7/28/21 12:07:29 Updater: Update from 02_05_12 to 02_06_02
7/28/21 12:07:29 Updater: download 02_06_02
7/28/21 12:11:05 Updater: Release downloaded 215841ms, size 831128
7/28/21 12:11:19 Updater: signature verified
7/28/21 12:11:27 Updater: firmware upgraded to version 02_06_02
7/28/21 12:11:27 Updater: Firmware updated, restarting.

** Restart **

SD initialized.
7/28/21 02:11:36z Real Time Clock is running. Unix time 1627438296 
7/28/21 02:11:36z Reset reason: Software/System restart
7/28/21 02:11:36z Trace:  21:10, 21:20, 21:21, 21:21[1], 21:30, 21:99, 1:6, 1:3, 1:4, 1:5[14], 14:0, 14:4, 1:6, 1:3, 10:13, 1:4, 1:5[19], 1:6, 1:1[6], 1:2, 9:0, 9:0, 8:4, 8:6, 8:8, 8:9, 1:2, 1:3, 1:4, 1:5[5], 5:0, 5:7
7/28/21 02:11:36z ESP8266 ChipID: 12704143
7/28/21 02:11:36z IoTaWatt 5.0, Firmware version 02_06_02
7/28/21 02:11:36z Updater: Installing update files for version 02_06_02
7/28/21 02:11:36z Updater: Installing GRAPH.JS
7/28/21 02:11:36z Updater: Installing GRAPH2.HTM
7/28/21 02:11:37z Updater: Installing GRAPH2.JS
7/28/21 02:11:38z Updater: Installing INDEX.HTM
7/28/21 02:11:39z Updater: Installing TABLES.TXT
7/28/21 02:11:40z Updater: Installing CNFSTYLE.CSS
7/28/21 02:11:40z Updater: Installing EDIT.HTM
7/28/21 02:11:40z Updater: Installing GRAPH.HTM
7/28/21 02:11:41z Updater: Installation complete.
7/28/21 02:11:41z SPIFFS mounted.
7/28/21 12:11:41 Local time zone: +10:00
7/28/21 12:11:41 device name: rc536
7/28/21 12:11:41 HTTP server started
7/28/21 12:11:41 influxDB_v1: Starting, interval:60, url:http://live2.phisaver.com:8086
7/28/21 12:11:41 timeSync: service started.
7/28/21 12:11:41 statService: started.
7/28/21 12:11:41 dataLog: service started.
7/28/21 12:11:41 dataLog: Last log entry 07/28/21 12:07:35
7/28/21 12:11:45 WiFi connected. SSID=router, IP=192.168.0.40, channel=1, RSSI -43db
7/28/21 12:11:45 MDNS responder started for hostname rc536
7/28/21 12:11:45 LLMNR responder started for hostname rc536
7/28/21 12:11:45 Updater: service started. Auto-update class is MINOR
7/28/21 12:11:46 historyLog: service started.
7/28/21 12:11:46 historyLog: Last log entry 07/28/21 12:07:00
7/28/21 12:11:48 Updater: Auto-update is current for class MINOR.
7/28/21 12:11:49 influxDB_v1: Start posting at 07/02/21 07:04:00
1 Like