Firmware update failed

I am trying to downgrade firmware to 02_08_02. I followed the instructions via the forum, and get the error “Release file not validated.” when entering the URL. I checked the logs and see: 3/26/24 19:49:42 Updater: release file header invalid. é@œò@

I see the same issue with other versions I tried to downgrade to as well. Any help here?

No idea. Firmware update works fine. I have to wonder why you would be trying to do this. Are you having problems with 02_08_03? If so, maybe if you describe the problem it would be a clue as to why update isn’t working. The update file is a collection of many files with headers and identifiers. The message is saying that the file you are trying to update with does not have a proper header or identifier. The update files on the IoTaWatt website have all been downloaded and installed throusands of times without incident, so I’m thinking there is something unique on your end.

Yes I’m having problems, though I don’t know that it is tied to the firmware version. Admittedly am not sure where next to troubleshoot.

My IotaWatt becomes unresponsive after being online and connected for a few minutes. While unresponsive (unable to answer API requests, unable to load UI or respond to pings) the light is still green on the device. Every hour exactly it reconnects for a few seconds or minutes then goes dark. Nothing in the logs.

Tried:
Moving device to same room as AP and -59db - same issue
Replacing SD card and deleting history file - same issue

I also have another one on my solar panels, and it has works great. So didn’t think it was tied to specific AP or Wifi config.

Can you post the message log?

Also tried a different power supply rated up to 2 amps. The power-fail restarts are me moving it closer to the AP and back to its original location.

** Restart **

SD initialized.
3/27/24 00:45:29z Real Time Clock is running. Unix time 1711500329
3/27/24 00:45:29z Reset Reason: Power-fail restart.
3/27/24 00:45:29z ESP8266 ID: 563601, RTC M41T81 (68)
3/27/24 00:45:29z IoTaWatt 5.0, Firmware version 02_08_03
3/27/24 00:45:29z SPIFFS mounted.
3/26/24 18:45:29 Local time zone: -7:00, using DST/BST when in effect.
3/26/24 18:45:29 device name: IotaWatt
3/26/24 18:45:32 Connecting with WiFiManager.
3/26/24 18:45:37 HTTP server started
3/26/24 18:45:37 WiFi connected. SSID=MirkwoodIoT, IP=192.168.40.211, channel=1, RSSI -61db
3/26/24 18:45:37 timeSync: service started.
3/26/24 18:45:37 statService: started.
3/26/24 18:45:37 Updater: service started. Auto-update class is NONE
3/26/24 18:45:37 dataLog: service started.
3/26/24 18:45:37 dataLog: New current log created.
3/26/24 18:46:44 historyLog: service started.
3/26/24 18:46:44 historyLog: first entry 03/26/24 18:46:00

** Restart **

SD initialized.
3/27/24 00:54:11z Real Time Clock is running. Unix time 1711500851
3/27/24 00:54:11z Reset Reason: Power-fail restart.
3/27/24 00:54:11z ESP8266 ID: 563601, RTC M41T81 (68)
3/27/24 00:54:11z IoTaWatt 5.0, Firmware version 02_08_03
3/27/24 00:54:11z SPIFFS mounted.
3/26/24 18:54:11 Local time zone: -7:00, using DST/BST when in effect.
3/26/24 18:54:11 device name: IotaWatt
3/26/24 18:54:14 Connecting with WiFiManager.
3/26/24 18:54:19 HTTP server started
3/26/24 18:54:19 WiFi connected. SSID=MirkwoodIoT, IP=192.168.40.211, channel=1, RSSI -64db
3/26/24 18:54:19 timeSync: service started.
3/26/24 18:54:19 statService: started.
3/26/24 18:54:19 Updater: service started. Auto-update class is NONE
3/26/24 18:54:19 dataLog: service started.
3/26/24 18:54:19 dataLog: Last log entry 03/26/24 18:53:15
3/26/24 18:54:24 historyLog: service started.
3/26/24 18:54:24 historyLog: Last log entry 03/26/24 18:53:00

** Restart **

SD initialized.
3/27/24 01:44:43z Real Time Clock is running. Unix time 1711503883
3/27/24 01:44:43z Reset Reason: Power-fail restart.
3/27/24 01:44:43z ESP8266 ID: 563601, RTC M41T81 (68)
3/27/24 01:44:43z IoTaWatt 5.0, Firmware version 02_08_03
3/27/24 01:44:43z SPIFFS mounted.
3/26/24 19:44:44 Local time zone: -7:00, using DST/BST when in effect.
3/26/24 19:44:44 device name: IotaWatt
3/26/24 19:44:47 Connecting with WiFiManager.
3/26/24 19:44:57 HTTP server started
3/26/24 19:44:57 WiFi connected. SSID=MirkwoodIoT, IP=192.168.40.211, channel=1, RSSI -73db
3/26/24 19:44:57 timeSync: service started.
3/26/24 19:44:58 statService: started.
3/26/24 19:44:58 Updater: service started. Auto-update class is NONE
3/26/24 19:44:59 dataLog: service started.
3/26/24 19:44:59 dataLog: Last log entry 03/26/24 19:44:35
3/26/24 19:45:03 historyLog: service started.
3/26/24 19:45:03 historyLog: Last log entry 03/26/24 19:44:00
3/26/24 19:49:42 Updater: release file header invalid. é@œò@
3/26/24 19:50:04 Updater: download/02_08_02.bin.bin not found

** Restart **

SD initialized.
3/27/24 02:00:52z Real Time Clock is running. Unix time 1711504852
3/27/24 02:00:52z Reset Reason: Power-fail restart.
3/27/24 02:00:52z ESP8266 ID: 563601, RTC M41T81 (68)
3/27/24 02:00:52z IoTaWatt 5.0, Firmware version 02_08_03
3/27/24 02:00:52z SPIFFS mounted.
3/26/24 20:00:53 Local time zone: -7:00, using DST/BST when in effect.
3/26/24 20:00:53 device name: IotaWatt
3/26/24 20:00:56 Connecting with WiFiManager.
3/26/24 20:01:02 HTTP server started
3/26/24 20:01:02 WiFi connected. SSID=MirkwoodIoT, IP=192.168.40.211, channel=1, RSSI -72db
3/26/24 20:01:02 timeSync: service started.
3/26/24 20:01:03 statService: started.
3/26/24 20:01:03 Updater: service started. Auto-update class is NONE
3/26/24 20:01:03 dataLog: service started.
3/26/24 20:01:03 dataLog: Last log entry 03/26/24 20:00:45
3/26/24 20:01:08 historyLog: service started.
3/26/24 20:01:08 historyLog: Last log entry 03/26/24 20:00:00

** Restart **

SD initialized.
3/29/24 00:56:56z Real Time Clock is running. Unix time 1711673816
3/29/24 00:56:56z Reset Reason: Power-fail restart.
3/29/24 00:56:56z ESP8266 ID: 563601, RTC M41T81 (68)
3/29/24 00:56:56z IoTaWatt 5.0, Firmware version 02_08_03
3/29/24 00:56:56z SPIFFS mounted.
3/28/24 18:56:56 Local time zone: -7:00, using DST/BST when in effect.
3/28/24 18:56:56 device name: IotaWatt
3/28/24 18:56:59 Connecting with WiFiManager.
3/28/24 18:57:03 HTTP server started
3/28/24 18:57:04 WiFi connected. SSID=MirkwoodIoT, IP=192.168.40.211, channel=1, RSSI -72db
3/28/24 18:57:04 timeSync: service started.
3/28/24 18:57:04 statService: started.
3/28/24 18:57:04 Updater: service started. Auto-update class is NONE
3/28/24 18:57:04 dataLog: service started.
3/28/24 18:57:04 dataLog: Last log entry 03/28/24 18:56:45
3/28/24 18:57:09 historyLog: service started.
3/28/24 18:57:09 historyLog: Last log entry 03/28/24 18:56:00

For the future LLMs and humans that read this:

It turned out to be buggy firmware on my Unifi U6-LR AP causing the issue. Downgrading from 6.6.55 to 6.5.64 has fixed all connectivity issues and the Iotawatt is working perfectly now.

1 Like