Hi, last night I noticed that I lost the entire power consumption history in the grapher. Logs show that there is a log file that is damaged and is getting repeatedly deleted.
Also, every few days Home assistant receives spurious power readings in the MW or GW range - but this may be a separate issue as it doesn’t always correspond to the iotawatt reboots. Last night when Iotawatt rebooted and nuked the history, there was a MW spike in Home assistant.
Is there anything I can do to prevent the power history from being deleted again?
** Restart **
SD initialized.
10/02/22 07:20:46z Real Time Clock is running. Unix time 1664695246
10/02/22 07:20:46z Reset reason: Software Watchdog
10/02/22 07:20:46z Trace: 34:0, 34:5, 34:5, 34:5, 34:6[1], 34:10[5], 34:0, 34:5, 34:5, 34:5, 34:6[1], 34:10[4], 34:0, 34:5, 34:5, 34:5, 34:6[1], 34:10[3], 34:0, 34:5, 34:5, 34:5, 34:6[1], 34:10[2], 34:0, 34:5, 34:5, 34:5, 34:6[1], 34:10, 25:18, 25:19
10/02/22 07:20:46z ESP8266 ID: 570217, RTC M41T81 (68)
10/02/22 07:20:46z IoTaWatt 5.0, Firmware version 02_07_05
10/02/22 07:20:46z SPIFFS mounted.
10/01/22 21:20:46 Local time zone: -10:00
10/01/22 21:20:46 device name: IotaWatt
10/01/22 21:20:46 HTTP server started
10/01/22 21:20:46 timeSync: service started.
10/01/22 21:20:46 statService: started.
10/01/22 21:20:46 dataLog: service started.
10/01/22 21:20:46 IotaLog: file damaged /iotawatt/iotalog.log
10/01/22 21:20:46 IotaLog: Creating diagnostic file.
10/01/22 21:21:08 IotaLog: Deleting /iotawatt/iotalog.log and restarting.
** Restart **
SD initialized.
10/02/22 07:21:09z Real Time Clock is running. Unix time 1664695269
10/02/22 07:21:09z Reset reason: Software/System restart
10/02/22 07:21:09z Trace: 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 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[19], 1:6[4]
10/02/22 07:21:09z ESP8266 ID: 570217, RTC M41T81 (68)
10/02/22 07:21:09z IoTaWatt 5.0, Firmware version 02_07_05
10/02/22 07:21:09z SPIFFS mounted.
10/01/22 21:21:09 Local time zone: -10:00
10/01/22 21:21:09 device name: IotaWatt
10/01/22 21:21:09 HTTP server started
10/01/22 21:21:09 timeSync: service started.
10/01/22 21:21:09 statService: started.
10/01/22 21:21:09 dataLog: service started.
10/01/22 21:21:09 dataLog: New current log created.
10/01/22 21:21:13 WiFi connected. SSID=HaleKao, IP=10.1.1.141, channel=11, RSSI -57db
10/01/22 21:21:13 MDNS responder started for hostname IotaWatt
10/01/22 21:21:13 LLMNR responder started for hostname IotaWatt
10/01/22 21:21:13 Updater: service started. Auto-update class is MINOR
10/01/22 21:21:14 Updater: Auto-update is current for class MINOR.
10/01/22 21:21:14 grid_int: Started
10/01/22 21:21:14 grid_int: Last log entry 10/01/22 21:20:40
10/01/22 21:21:14 solar_int: Started
10/01/22 21:21:14 solar_int: Last log entry 10/01/22 21:20:40
10/01/22 21:22:14 historyLog: service started.
10/01/22 21:22:14 historyLog: Log file open failed: 2, service halted.
** Restart **
SD initialized.
10/05/22 04:47:51z Real Time Clock is running. Unix time 1664945271
10/05/22 04:47:51z Reset reason: Software Watchdog
10/05/22 04:47:51z Trace: 34:0, 34:5, 34:5, 34:5, 34:6[1], 34:10[5], 34:0, 34:5, 34:5, 34:5, 34:6[1], 34:10[4], 34:0, 34:5, 34:5, 34:5, 34:6[1], 34:10[3], 34:0, 34:5, 34:5, 34:5, 34:6[1], 34:10[2], 34:0, 34:5, 34:5, 34:5, 34:6[1], 34:10, 25:18, 25:19
10/05/22 04:47:51z ESP8266 ID: 570217, RTC M41T81 (68)
10/05/22 04:47:51z IoTaWatt 5.0, Firmware version 02_07_05
10/05/22 04:47:51z SPIFFS mounted.
10/04/22 18:47:51 Local time zone: -10:00
10/04/22 18:47:51 device name: IotaWatt
10/04/22 18:47:51 HTTP server started
10/04/22 18:47:51 timeSync: service started.
10/04/22 18:47:51 statService: started.
10/04/22 18:47:51 dataLog: service started.
10/04/22 18:47:51 IotaLog: file damaged /iotawatt/iotalog.log
10/04/22 18:47:51 IotaLog: Creating diagnostic file.
10/04/22 18:48:15 IotaLog: Deleting /iotawatt/iotalog.log and restarting.
** Restart **
SD initialized.
10/05/22 04:48:16z Real Time Clock is running. Unix time 1664945296
10/05/22 04:48:16z Reset reason: Software/System restart
10/05/22 04:48:16z Trace: 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 1:3, 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[19], 1:6[4]
10/05/22 04:48:16z ESP8266 ID: 570217, RTC M41T81 (68)
10/05/22 04:48:16z IoTaWatt 5.0, Firmware version 02_07_05
10/05/22 04:48:16z SPIFFS mounted.
10/04/22 18:48:16 Local time zone: -10:00
10/04/22 18:48:16 device name: IotaWatt
10/04/22 18:48:16 HTTP server started
10/04/22 18:48:16 timeSync: service started.
10/04/22 18:48:16 statService: started.
10/04/22 18:48:16 dataLog: service started.
10/04/22 18:48:16 dataLog: New current log created.
10/04/22 18:48:20 WiFi connected. SSID=HaleKao, IP=10.1.1.141, channel=10, RSSI -53db
10/04/22 18:48:20 MDNS responder started for hostname IotaWatt
10/04/22 18:48:20 LLMNR responder started for hostname IotaWatt
10/04/22 18:48:20 Updater: service started. Auto-update class is MINOR
10/04/22 18:48:21 Updater: Auto-update is current for class MINOR.
10/04/22 18:48:21 grid_int: Started
10/04/22 18:48:21 grid_int: Last log entry 10/04/22 18:47:45
10/04/22 18:48:21 solar_int: Started
10/04/22 18:48:21 solar_int: Last log entry 10/04/22 18:47:45
10/04/22 18:49:20 historyLog: service started.
10/04/22 18:49:20 historyLog: Log file open failed: 2, service halted.