iotaWatt Stopped recording Data, but still measures

I noticed my unit stopped logging to my influx db.
I then checked the Graphs I had setup on the web interface.
The data stopped being recorded on 12/19 (I know … :frowning: )
anyhow, could it be a corrupted/dying SD as all the other functions seem to be working ???

Also I noticed that Emoncms is running and I can not stop it even tried deleting it

Help suggestiosn etc
-Thanks

Led state? Message log, status display.

LED State is normal dim green
Logs seem to have stopped around the same time It stopped logging out to eht innodb
Logs havce a butt ton of “emoncms: Query failed 401” up till it stopped logging (I never truned this on, and can not stop it permanently)
Status display looks normal

Can you display the message log using the Tools menu and paste it into your response?

** Restart **

SD initialized.
7/06/21 15:04:18z Real Time Clock is running. Unix time 1625583858
7/06/21 15:04:18z Reset reason: Software/System restart
7/06/21 15:04:18z Trace: 8:9, 9:3, 9:5, 9:9, 1:2, 1:3, 1:3, 1:1[1], 1:2[2], 9:0[2], 9:0, 9:1, 8:4, 8:6, 8:8, 8:9, 9:3, 9:5, 9:9, 1:2, 1:3, 1:3, 1:6[1], 1:6[2], 1:6[2], 1:6[2], 1:6[2], 1:6[3], 1:5[20], 1:6[4], 20:0, 20:1
7/06/21 15:04:18z ESP8266 ChipID: 12703771
7/06/21 15:04:18z IoTaWatt 5.0, Firmware version 02_06_02
7/06/21 15:04:18z SPIFFS mounted.
7/06/21 11:04:18 Local time zone: -5:00
7/06/21 11:04:18 Using Daylight Saving Time (BST) when in effect.
7/06/21 11:04:18 device name: IotaWatt
7/06/21 11:04:18 HTTP server started
7/06/21 11:04:18 emoncms: Starting, interval:10, url:http://emoncms.org
7/06/21 11:04:18 influxDB_v1: Starting, interval:60, url:http://192.168.186.50:8086
7/06/21 11:04:18 timeSync: service started.
7/06/21 11:04:18 statService: started.
7/06/21 11:04:18 dataLog: service started.
7/06/21 11:04:18 dataLog: Last log entry 07/06/21 11:04:15
7/06/21 11:04:22 WiFi connected. SSID=Not4U4other, IP=192.168.186.52, channel=11, RSSI -74db
7/06/21 11:04:22 MDNS responder started for hostname IotaWatt
7/06/21 11:04:22 LLMNR responder started for hostname IotaWatt
7/06/21 11:04:22 Updater: service started. Auto-update class is MINOR
7/06/21 11:04:22 emoncms: Query failed 401
7/06/21 11:04:22 emoncms: Start posting at 03/02/21 16:03:50
7/06/21 11:04:23 historyLog: service started.
7/06/21 11:04:23 historyLog: Last log entry 07/06/21 11:04:00
7/06/21 11:04:26 influxDB_v1: Start posting at 07/06/21 11:04:00
7/06/21 11:04:27 Updater: Auto-update is current for class MINOR.
7/18/21 00:00:19 WiFi disconnected.
7/18/21 00:00:34 WiFi connected. SSID=Not4U4other, IP=192.168.186.52, channel=6, RSSI -88db
7/19/21 21:30:18 WiFi disconnected.
7/19/21 21:30:20 WiFi connected. SSID=Not4U4other, IP=192.168.186.52, channel=6, RSSI -90db
7/22/21 11:30:19 WiFi disconnected.
7/22/21 11:30:24 WiFi connected. SSID=Not4U4other, IP=192.168.186.52, channel=11, RSSI -78db

** Restart **

SD initialized.
7/24/21 10:10:50z Real Time Clock is running. Unix time 1627121450
7/24/21 10:10:50z Reset reason: Exception
7/24/21 10:10:50z Trace: 8:9, 9:3, 9:5, 9:9, 1:2, 1:3, 1:3, 1:6[1], 1:6[3], 1:5[31], 1:6[4], 31:0, 31:1, 31:2[6], 31:90, 21:110, 21:110, 31:91, 31:9, 31:1, 1:6[6], 1:3, 1:3, 1:6[1], 1:6[3], 1:5[31], 1:6[4], 31:0, 31:1, 31:2[4], 3:91, 15:0[32]
7/24/21 10:10:50z ESP8266 ChipID: 12703771
7/24/21 10:10:50z IoTaWatt 5.0, Firmware version 02_06_02
7/24/21 10:10:50z SPIFFS mounted.
7/24/21 06:10:50 Local time zone: -5:00
7/24/21 06:10:50 Using Daylight Saving Time (BST) when in effect.
7/24/21 06:10:50 device name: IotaWatt
7/24/21 06:10:50 HTTP server started
7/24/21 06:10:50 emoncms: Starting, interval:10, url:http://emoncms.org
7/24/21 06:10:50 influxDB_v1: Starting, interval:60, url:http://192.168.186.50:8086
7/24/21 06:10:50 timeSync: service started.
7/24/21 06:10:50 statService: started.
7/24/21 06:10:50 dataLog: service started.
7/24/21 06:10:50 dataLog: Last log entry 07/24/21 06:10:45
7/24/21 06:10:54 WiFi connected. SSID=Not4U4other, IP=192.168.186.52, channel=11, RSSI -76db
7/24/21 06:10:54 MDNS responder started for hostname IotaWatt
7/24/21 06:10:54 LLMNR responder started for hostname IotaWatt
7/24/21 06:10:54 Updater: service started. Auto-update class is MINOR
7/24/21 06:10:55 historyLog: service started.
7/24/21 06:10:55 historyLog: Last log entry 07/24/21 06:10:00
7/24/21 06:10:55 emoncms: Start posting at 03/02/21 16:03:50
7/24/21 06:10:57 Updater: Auto-update is current for class MINOR.

** Restart **

SD initialized.
7/24/21 10:10:59z Real Time Clock is running. Unix time 1627121459
7/24/21 10:10:59z Reset reason: Exception
7/24/21 10:10:59z Trace: 8:6, 8:8, 8:9, 9:3, 9:5, 9:9, 1:2, 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[2], 1:6[2], 1:6[2], 1:6[3], 1:5[31], 1:6[4], 31:0, 31:1, 31:2[4], 3:91, 15:0[32]
7/24/21 10:10:59z ESP8266 ChipID: 12703771
7/24/21 10:10:59z IoTaWatt 5.0, Firmware version 02_06_02
7/24/21 10:10:59z SPIFFS mounted.
7/24/21 06:10:59 Local time zone: -5:00
7/24/21 06:10:59 Using Daylight Saving Time (BST) when in effect.
7/24/21 06:10:59 device name: IotaWatt
7/24/21 06:10:59 HTTP server started
7/24/21 06:10:59 emoncms: Starting, interval:10, url:http://emoncms.org
7/24/21 06:10:59 influxDB_v1: Starting, interval:60, url:http://192.168.186.50:8086
7/24/21 06:10:59 timeSync: service started.
7/24/21 06:10:59 statService: started.
7/24/21 06:10:59 dataLog: service started.
7/24/21 06:10:59 dataLog: Last log entry 07/24/21 06:10:55
7/24/21 06:11:03 WiFi connected. SSID=Not4U4other, IP=192.168.186.52, channel=11, RSSI -75db
7/24/21 06:11:03 MDNS responder started for hostname IotaWatt
7/24/21 06:11:03 LLMNR responder started for hostname IotaWatt
7/24/21 06:11:03 Updater: service started. Auto-update class is MINOR
7/24/21 06:11:04 historyLog: service started.
7/24/21 06:11:04 historyLog: Last log entry 07/24/21 06:10:00
7/24/21 06:11:04 emoncms: Start posting at 03/02/21 16:03:50

** Restart **

SD initialized.
7/24/21 10:11:09z Real Time Clock is running. Unix time 1627121469
7/24/21 10:11:09z Reset reason: Exception
7/24/21 10:11:09z Trace: 9:1, 8:4, 8:6, 8:8, 8:9, 9:3, 9:5, 9:9, 1:2, 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[2], 1:6[3], 1:5[31], 1:6[4], 31:0, 31:1, 31:2[4], 3:91, 15:0[32]
7/24/21 10:11:09z ESP8266 ChipID: 12703771
7/24/21 10:11:09z IoTaWatt 5.0, Firmware version 02_06_02
7/24/21 10:11:09z SPIFFS mounted.
7/24/21 06:11:09 Local time zone: -5:00
7/24/21 06:11:09 Using Daylight Saving Time (BST) when in effect.
7/24/21 06:11:09 device name: IotaWatt
7/24/21 06:11:09 HTTP server started
7/24/21 06:11:09 emoncms: Starting, interval:10, url:http://emoncms.org
7/24/21 06:11:09 influxDB_v1: Starting, interval:60, url:http://192.168.186.50:8086
7/24/21 06:11:09 timeSync: service started.
7/24/21 06:11:09 statService: started.
7/24/21 06:11:09 dataLog: service started.
7/24/21 06:11:09 dataLog: Last log entry 07/24/21 06:11:05
7/24/21 06:11:13 WiFi connected. SSID=Not4U4other, IP=192.168.186.52, channel=11, RSSI -76db
7/24/21 06:11:13 MDNS responder started for hostname IotaWatt
7/24/21 06:11:13 LLMNR responder started for hostname IotaWatt
7/24/21 06:11:13 Updater: service started. Auto-update class is MINOR
7/24/21 06:11:14 historyLog: service started.
7/24/21 06:11:14 historyLog: Last log entry 07/24/21 06:11:00
7/24/21 06:11:14 emoncms: Start posting at 03/02/21 16:03:50
7/24/21 06:11:17 Updater: Auto-update is current for class MINOR.
7/24/21 06:11:17 influxDB_v1: Start posting at 07/24/21 06:10:00

** Restart **

SD initialized.
7/24/21 10:11:18z Real Time Clock is running. Unix time 1627121478
7/24/21 10:11:18z Reset reason: Exception
7/24/21 10:11:18z Trace: 8:9, 9:3, 9:5, 9:9, 1:2, 1:3, 1:3, 1:6[1], 1:6[3], 1:5[31], 1:6[4], 31:0, 31:1, 31:2[6], 31:90, 21:110, 21:110, 31:91, 31:9, 31:1, 1:6[6], 1:3, 1:3, 1:6[1], 1:6[3], 1:5[31], 1:6[4], 31:0, 31:1, 31:2[4], 3:91, 15:0[32]
7/24/21 10:11:18z ESP8266 ChipID: 12703771
7/24/21 10:11:18z IoTaWatt 5.0, Firmware version 02_06_02
7/24/21 10:11:18z SPIFFS mounted.
7/24/21 06:11:18 Local time zone: -5:00
7/24/21 06:11:18 Using Daylight Saving Time (BST) when in effect.
7/24/21 06:11:18 device name: IotaWatt
7/24/21 06:11:18 HTTP server started
7/24/21 06:11:18 emoncms: Starting, interval:10, url:http://emoncms.org
7/24/21 06:11:18 influxDB_v1: Starting, interval:60, url:http://192.168.186.50:8086
7/24/21 06:11:18 timeSync: service started.
7/24/21 06:11:18 statService: started.
7/24/21 06:11:18 dataLog: service started.
7/24/21 06:11:18 dataLog: Last log entry 07/24/21 06:11:15
7/24/21 06:11:22 WiFi connected. SSID=Not4U4other, IP=192.168.186.52, channel=11, RSSI -76db
7/24/21 06:11:22 MDNS responder started for hostname IotaWatt
7/24/21 06:11:22 LLMNR responder started for hostname IotaWatt
7/24/21 06:11:22 Updater: service started. Auto-update class is MINOR
7/24/21 06:11:22 emoncms: Start posting at 03/02/21 16:03:50
7/24/21 06:11:23 historyLog: service started.
7/24/21 06:11:23 historyLog: Last log entry 07/24/21 06:11:00
7/24/21 06:11:26 Updater: Auto-update is current for class MINOR.
7/24/21 06:11:26 influxDB_v1: Start posting at 07/24/21 06:10:00

** Restart **

SD initialized.
7/24/21 10:11:28z Real Time Clock is running. Unix time 1627121488
7/24/21 10:11:28z Reset reason: Exception
7/24/21 10:11:28z Trace: 8:9, 9:3, 9:5, 9:9, 1:2, 1:3, 1:3, 1:6[1], 1:6[3], 1:5[31], 1:6[4], 31:0, 31:1, 31:2[6], 31:90, 21:110, 21:110, 31:91, 31:9, 31:1, 1:6[6], 1:3, 1:3, 1:6[1], 1:6[3], 1:5[31], 1:6[4], 31:0, 31:1, 31:2[4], 3:91, 15:0[32]
7/24/21 10:11:28z ESP8266 ChipID: 12703771
7/24/21 10:11:28z IoTaWatt 5.0, Firmware version 02_06_02
7/24/21 10:11:28z SPIFFS mounted.
7/24/21 06:11:28 Local time zone: -5:00
7/24/21 06:11:28 Using Daylight Saving Time (BST) when in effect.
7/24/21 06:11:28 device name: IotaWatt
7/24/21 06:11:28 HTTP server started
7/24/21 06:11:28 emoncms: Starting, interval:10, url:http://emoncms.org
7/24/21 06:11:28 influxDB_v1: Starting, interval:60, url:http://192.168.186.50:8086
7/24/21 06:11:28 timeSync: service started.
7/24/21 06:11:28 statService: started.
7/24/21 06:11:28 dataLog: service started.
7/24/21 06:11:28 dataLog: Last log entry 07/24/21 06:11:25
7/24/21 06:11:32 WiFi connected. SSID=Not4U4other, IP=192.168.186.52, channel=11, RSSI -76db
7/24/21 06:11:32 MDNS responder started for hostname IotaWatt
7/24/21 06:11:32 LLMNR responder started for hostname IotaWatt
7/24/21 06:11:32 Updater: service started. Auto-update class is MINOR
7/24/21 06:11:32 emoncms: Start posting at 03/02/21 16:03:50
7/24/21 06:11:33 historyLog: service started.
7/24/21 06:11:33 historyLog: Last log entry 07/24/21 06:11:00
7/24/21 06:11:36 Updater: Auto-update is current for class MINOR.
7/24/21 06:11:37 influxDB_v1: Start posting at 07/24/21 06:10:00

** Restart **

SD initialized.
7/27/21 07:05:17z Real Time Clock is running. Unix time 1627369517
7/27/21 07:05:17z Reset reason: Exception
7/27/21 07:05:17z Trace: 8:4, 8:6, 8:8, 8:9, 1:2, 1:3, 1:3, 1:6[1], 1:6[3], 1:5[31], 1:6[4], 31:0, 31:1, 31:2[6], 31:90, 21:110, 21:110, 31:91, 31:9, 31:1, 1:6[6], 1:3, 1:3, 1:6[1], 1:6[3], 1:5[31], 1:6[4], 31:0, 31:1, 31:2[4], 3:91, 15:0[32]
7/27/21 07:05:17z ESP8266 ChipID: 12703771
7/27/21 07:05:17z IoTaWatt 5.0, Firmware version 02_06_02
7/27/21 07:05:17z SPIFFS mounted.
7/27/21 03:05:17 Local time zone: -5:00
7/27/21 03:05:17 Using Daylight Saving Time (BST) when in effect.
7/27/21 03:05:17 device name: IotaWatt
7/27/21 03:05:17 HTTP server started
7/27/21 03:05:17 emoncms: Starting, interval:10, url:http://emoncms.org
7/27/21 03:05:17 influxDB_v1: Starting, interval:60, url:http://192.168.186.50:8086
7/27/21 03:05:17 timeSync: service started.
7/27/21 03:05:17 statService: started.
7/27/21 03:05:17 dataLog: service started.
7/27/21 03:05:17 dataLog: Last log entry 07/27/21 03:05:10
7/27/21 03:05:21 WiFi connected. SSID=Not4U4other, IP=192.168.186.52, channel=11, RSSI -76db
7/27/21 03:05:21 MDNS responder started for hostname IotaWatt
7/27/21 03:05:21 LLMNR responder started for hostname IotaWatt
7/27/21 03:05:21 Updater: service started. Auto-update class is MINOR
7/27/21 03:05:21 emoncms: Query failed 401
7/27/21 03:05:21 emoncms: Start posting at 03/02/21 16:03:50
7/27/21 03:05:22 historyLog: service started.
7/27/21 03:05:22 historyLog: Last log entry 07/27/21 03:05:00
7/27/21 03:05:24 influxDB_v1: Start posting at 07/27/21 03:05:00
7/27/21 03:05:26 Updater: Auto-update is current for class MINOR.
8/07/21 14:33:04 Updater: Update from 02_06_02 to 02_06_05
8/07/21 14:33:04 Updater: download 02_06_05
8/07/21 14:33:08 Updater: Release downloaded 4801ms, size 834296
8/07/21 14:33:14 Updater: signature verified
8/07/21 14:33:22 Updater: firmware upgraded to version 02_06_05
8/07/21 14:33:22 Updater: Firmware updated, restarting.

** Restart **

SD initialized.
8/07/21 18:33:30z Real Time Clock is running. Unix time 1628361210
8/07/21 18:33:30z Reset reason: Software/System restart
8/07/21 18:33:30z Trace: 1:6[1], 1:6[2], 1:6[2], 1:6[3], 1:5[31], 1:6[4], 31:0, 31:1, 31:2[3], 32:60, 31:1, 1:6[6], 1:3, 1:3, 1:6[1], 1:6[2], 1:6[3], 1:5[31], 1:6[4], 31:0, 31:1, 31:2[7], 31:1, 1:6[6], 1:3, 1:3, 1:6[1], 1:6[3], 1:5[5], 1:6[4], 5:0, 5:7
8/07/21 18:33:30z ESP8266 ChipID: 12703771
8/07/21 18:33:30z IoTaWatt 5.0, Firmware version 02_06_05
8/07/21 18:33:30z Updater: Installing update files for version 02_06_05
8/07/21 18:33:30z Updater: Installing GRAPH.HTM
8/07/21 18:33:30z Updater: Installing GRAPH.JS
8/07/21 18:33:30z Updater: Installing GRAPH2.HTM
8/07/21 18:33:30z Updater: Installing GRAPH2.JS
8/07/21 18:33:30z Updater: Installing INDEX.HTM
8/07/21 18:33:31z Updater: Installing TABLES.TXT
8/07/21 18:33:31z Updater: Installing CNFSTYLE.CSS
8/07/21 18:33:31z Updater: Installing EDIT.HTM
8/07/21 18:33:31z Updater: Installation complete.
8/07/21 18:33:31z SPIFFS mounted.
8/07/21 14:33:31 Local time zone: -5:00
8/07/21 14:33:31 Using Daylight Saving Time (BST) when in effect.
8/07/21 14:33:31 device name: IotaWatt
8/07/21 14:33:31 HTTP server started
8/07/21 14:33:31 emoncms: Starting, interval:10, url:http://emoncms.org
8/07/21 14:33:31 influxDB_v1: Starting, interval:60, url:http://192.168.186.50:8086
8/07/21 14:33:31 timeSync: service started.
8/07/21 14:33:31 statService: started.
8/07/21 14:33:32 dataLog: service started.
8/07/21 14:33:32 dataLog: Last log entry 08/07/21 14:33:05
8/07/21 14:33:35 Updater: service started. Auto-update class is MINOR
8/07/21 14:33:35 emoncms: Query failed 401
8/07/21 14:33:36 historyLog: service started.
8/07/21 14:33:36 historyLog: Last log entry 08/07/21 14:33:00
8/07/21 14:33:36 WiFi connected. SSID=Not4U4other, IP=192.168.186.52, channel=11, RSSI -78db
8/07/21 14:33:36 MDNS responder started for hostname IotaWatt
8/07/21 14:33:36 LLMNR responder started for hostname IotaWatt
8/07/21 14:33:38 influxDB_v1: Start posting at 08/07/21 14:33:00
8/07/21 14:33:40 Updater: Auto-update is current for class MINOR.
8/07/21 14:33:41 emoncms: Query failed 401
8/07/21 14:33:46 emoncms: Query failed 401
8/07/21 14:33:51 emoncms: Query failed 401
8/07/21 14:33:56 emoncms: Query failed 401
… Thouansa moew

Id does look as if your SD card is toast. How old is the unit?

(February 23, 2021)

Not positive but indications are that it’s the SD card.

bingo , new card is operational and logging as expected.
Old card very corrupted am in the process of trying to recover things on it (graphs missing, as I needed to use the fallback config )

Graphs are not stored in the config file. Each one is a file in the graphs directory. If you can recover any of the files from the old /graphs directory (they have eight character base64 names like twn73us6.txt) you can upload them to the /graphs directory to recover. The recovered graphs should appear the next time you start graph+.

Ah well the graphs are gone, the corruption seems to have made a mess of the sub-directories and they are unrecoverable/unusable…
Not a huge deal as I log most externally anyways
Thank you all for the Assist.

1 Like