3 Red Flashes - Panic Mode

Hey Bob,

My 2nd IOTAWATT has been flakey for some time. Dropping off the network and unable to be contacted.

I initially put it down to poor network coverage as it is in the basement of our home with the switchboard.

I recently replaced our wifi with a mesh system and placed a mesh repeater in the basement to give better coverage.

I reconfigured the IOTAWATT to connect to that mesh network and it is showing as a good strong signal

I did this change about a week ago and have still been experiencing the same issues - the IOTAWATT stop responding after a period of time.

I have since moved the USB power supply to a new powerboard (this runs off a business grade UPS)

I then replaced the USB power supply and cable and the problem still persists.

It happened yesterday and i powered the unit on and then off and it has happened again this morning

Here is a dump of the log

Any ideas ?

8/07/21 20:09:02 Using Daylight Saving Time (BST) when in effect.

8/07/21 20:09:02 device name: IotaWatt
8/07/21 20:09:02 HTTP server started

** Restart **

SD initialized.
8/08/21 07:03:09z Real Time Clock is running. Unix time 1628406189
8/08/21 07:03:09z Power failure detected.
8/08/21 07:03:09z Reset reason: External System
8/08/21 07:03:09z ESP8266 ChipID: 6346788
8/08/21 07:03:09z IoTaWatt 5.0, Firmware version 02_06_02
8/08/21 07:03:09z SPIFFS mounted.
8/08/21 17:03:09 Local time zone: +10:00
8/08/21 17:03:09 Using Daylight Saving Time (BST) when in effect.
8/08/21 17:03:09 device name: IotaWatt

** Restart **

SD initialized.
8/08/21 07:03:37z Real Time Clock is running. Unix time 1628406217
8/08/21 07:03:37z Power failure detected.
8/08/21 07:03:37z Reset reason: Power On
8/08/21 07:03:37z ESP8266 ChipID: 6346788
8/08/21 07:03:37z IoTaWatt 5.0, Firmware version 02_06_02
8/08/21 07:03:37z SPIFFS mounted.
8/08/21 17:03:37 Local time zone: +10:00
8/08/21 17:03:37 Using Daylight Saving Time (BST) when in effect.
8/08/21 17:03:37 device name: IotaWatt
8/08/21 17:03:40 Connecting with WiFiManager.

** Restart **

SD initialized.
8/08/21 07:03:42z Real Time Clock is running. Unix time 1628406222
8/08/21 07:03:42z Power failure detected.
8/08/21 07:03:42z Reset reason: External System
8/08/21 07:03:42z ESP8266 ChipID: 6346788
8/08/21 07:03:42z IoTaWatt 5.0, Firmware version 02_06_02
8/08/21 07:03:42z SPIFFS mounted.
8/08/21 17:03:42 Local time zone: +10:00
8/08/21 17:03:42 Using Daylight Saving Time (BST) when in effect.
8/08/21 17:03:42 device name: IotaWatt
8/08/21 17:03:45 Connecting with WiFiManager.
8/08/21 17:03:50 HTTP server started
8/08/21 17:03:50 emoncms: Starting, interval:10, url:http://172.16.100.20/emoncms
8/08/21 17:03:50 influxDB_v1: Starting, interval:10, url:http://172.16.100.37:8086
8/08/21 17:03:50 WiFi connected. SSID=CURTIN-MESH, IP=172.16.100.200, channel=10, RSSI -76db
8/08/21 17:03:50 MDNS responder started for hostname IotaWatt
8/08/21 17:03:50 LLMNR responder started for hostname IotaWatt
8/08/21 17:03:50 timeSync: service started.
8/08/21 17:03:50 statService: started.
8/08/21 17:03:50 Updater: service started. Auto-update class is MINOR
8/08/21 17:03:50 dataLog: service started.
8/08/21 17:03:51 dataLog: Last log entry 08/07/21 20:08:55
8/08/21 17:03:51 emoncms: Start posting at 08/07/21 20:08:50
8/08/21 17:03:52 Updater: Update from 02_06_02 to 02_06_05
8/08/21 17:03:52 Updater: download 02_06_05
8/08/21 17:03:56 Updater: Release downloaded 4387ms, size 834296
8/08/21 17:03:56 influxDB_v1: Start posting at 08/07/21 20:08:50
8/08/21 17:03:56 historyLog: service started.
8/08/21 17:03:56 historyLog: Last log entry 08/07/21 20:08:00
8/08/21 17:04:04 Updater: signature verified
8/08/21 17:04:12 Updater: firmware upgraded to version 02_06_05
8/08/21 17:04:12 Updater: Firmware updated, restarting.

** Restart **

SD initialized.
8/08/21 07:04:20z Real Time Clock is running. Unix time 1628406260
8/08/21 07:04:20z Reset reason: Software/System restart
8/08/21 07:04:20z Trace: 1:6[4], 14:0, 14:1, 14:2, 14:3, 1:6[6], 1:1[6], 1:2[7], 9:0[7], 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[2], 1:6[3], 1:5[5], 1:6[4], 5:0, 5:7
8/08/21 07:04:20z ESP8266 ChipID: 6346788
8/08/21 07:04:20z IoTaWatt 5.0, Firmware version 02_06_05
8/08/21 07:04:20z Updater: Installing update files for version 02_06_05
8/08/21 07:04:20z Updater: Installing GRAPH.HTM
8/08/21 07:04:20z Updater: Installing GRAPH.JS
8/08/21 07:04:20z Updater: Installing GRAPH2.HTM
8/08/21 07:04:20z Updater: Installing GRAPH2.JS
8/08/21 07:04:20z Updater: Installing INDEX.HTM
8/08/21 07:04:21z Updater: Installing TABLES.TXT
8/08/21 07:04:21z Updater: Installing CNFSTYLE.CSS
8/08/21 07:04:21z Updater: Installing EDIT.HTM
8/08/21 07:04:21z Updater: Installation complete.
8/08/21 07:04:21z SPIFFS mounted.
8/08/21 17:04:21 Local time zone: +10:00
8/08/21 17:04:21 Using Daylight Saving Time (BST) when in effect.
8/08/21 17:04:21 device name: IotaWatt
8/08/21 17:04:22 HTTP server started
8/08/21 17:04:22 emoncms: Starting, interval:10, url:http://172.16.100.20/emoncms
8/08/21 17:04:22 influxDB_v1: Starting, interval:10, url:http://172.16.100.37:8086
8/08/21 17:04:22 timeSync: service started.
8/08/21 17:04:22 statService: started.
8/08/21 17:04:22 dataLog: service started.
8/08/21 17:04:22 dataLog: Last log entry 08/08/21 17:03:55
8/08/21 17:04:27 historyLog: service started.
8/08/21 17:04:27 historyLog: Last log entry 08/07/21 20:08:00
8/08/21 17:04:28 WiFi connected. SSID=CURTIN-MESH, IP=172.16.100.200, channel=10, RSSI -68db
8/08/21 17:04:28 MDNS responder started for hostname IotaWatt
8/08/21 17:04:28 LLMNR responder started for hostname IotaWatt
8/08/21 17:04:28 Updater: service started. Auto-update class is MINOR
8/08/21 17:04:28 emoncms: Start posting at 08/07/21 20:08:50
8/08/21 17:04:29 influxDB_v1: Start posting at 08/07/21 20:08:50
8/08/21 17:04:29 Updater: Auto-update is current for class MINOR.

** Restart **

SD initialized.
8/08/21 12:43:05z Real Time Clock is running. Unix time 1628426585
8/08/21 12:43:05z Reset reason: Exception
8/08/21 12:43:05z 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]
8/08/21 12:43:05z ESP8266 ChipID: 6346788
8/08/21 12:43:05z IoTaWatt 5.0, Firmware version 02_06_05
8/08/21 12:43:05z SPIFFS mounted.
8/08/21 22:43:05 Local time zone: +10:00
8/08/21 22:43:05 Using Daylight Saving Time (BST) when in effect.
8/08/21 22:43:05 device name: IotaWatt
8/08/21 22:43:05 HTTP server started
8/08/21 22:43:05 emoncms: Starting, interval:10, url:http://172.16.100.20/emoncms
8/08/21 22:43:05 influxDB_v1: Starting, interval:10, url:http://172.16.100.37:8086
8/08/21 22:43:05 timeSync: service started.
8/08/21 22:43:05 statService: started.
8/08/21 22:43:06 dataLog: service started.
8/08/21 22:43:06 dataLog: Last log entry 08/08/21 22:42:50
8/08/21 22:43:10 historyLog: service started.
8/08/21 22:43:10 historyLog: Last log entry 08/08/21 22:42:00

** Restart **

SD initialized.
8/08/21 12:43:23z Real Time Clock is running. Unix time 1628426603
8/08/21 12:43:23z Reset reason: Exception
8/08/21 12:43:23z 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]
8/08/21 12:43:23z ESP8266 ChipID: 6346788
8/08/21 12:43:23z IoTaWatt 5.0, Firmware version 02_06_05
8/08/21 12:43:23z SPIFFS mounted.
8/08/21 22:43:23 Local time zone: +10:00
8/08/21 22:43:23 Using Daylight Saving Time (BST) when in effect.
8/08/21 22:43:23 device name: IotaWatt
8/08/21 22:43:23 HTTP server started
8/08/21 22:43:23 emoncms: Starting, interval:10, url:http://172.16.100.20/emoncms
8/08/21 22:43:23 influxDB_v1: Starting, interval:10, url:http://172.16.100.37:8086
8/08/21 22:43:23 timeSync: service started.
8/08/21 22:43:23 statService: started.
8/08/21 22:43:23 dataLog: service started.
8/08/21 22:43:24 dataLog: Last log entry 08/08/21 22:43:10
8/08/21 22:43:28 historyLog: service started.
8/08/21 22:43:28 historyLog: Last log entry 08/08/21 22:43:00
8/08/21 22:43:29 WiFi connected. SSID=CURTIN-MESH, IP=172.16.100.200, channel=10, RSSI -68db
8/08/21 22:43:29 MDNS responder started for hostname IotaWatt
8/08/21 22:43:29 LLMNR responder started for hostname IotaWatt
8/08/21 22:43:29 Updater: service started. Auto-update class is MINOR

** Restart **

SD initialized.
8/08/21 12:43:38z Real Time Clock is running. Unix time 1628426618
8/08/21 12:43:38z Reset reason: Exception
8/08/21 12:43:38z Trace: 8:9, 9:3, 9:5, 9:9, 1:2, 1:3, 1:3, 1:1[3], 1:2[5], 9:0[5], 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[3], 1:5[31], 1:6[4], 31:0, 31:1, 31:2[4], 3:91, 15:0[32]
8/08/21 12:43:38z ESP8266 ChipID: 6346788
8/08/21 12:43:38z IoTaWatt 5.0, Firmware version 02_06_05
8/08/21 12:43:38z SPIFFS mounted.
8/08/21 22:43:38 Local time zone: +10:00
8/08/21 22:43:38 Using Daylight Saving Time (BST) when in effect.
8/08/21 22:43:38 device name: IotaWatt

** Restart **

SD initialized.
8/09/21 03:42:06z Real Time Clock is running. Unix time 1628480526
8/09/21 03:42:06z Power failure detected.
8/09/21 03:42:06z Reset reason: External System
8/09/21 03:42:06z ESP8266 ChipID: 6346788
8/09/21 03:42:06z IoTaWatt 5.0, Firmware version 02_06_05
8/09/21 03:42:06z SPIFFS mounted.
8/09/21 13:42:06 Local time zone: +10:00
8/09/21 13:42:06 Using Daylight Saving Time (BST) when in effect.
8/09/21 13:42:06 device name: IotaWatt
8/09/21 13:42:09 Connecting with WiFiManager.
8/09/21 13:42:14 HTTP server started
8/09/21 13:42:14 emoncms: Starting, interval:10, url:http://172.16.100.20/emoncms
8/09/21 13:42:14 influxDB_v1: Starting, interval:10, url:http://172.16.100.37:8086
8/09/21 13:42:14 WiFi connected. SSID=CURTIN-MESH, IP=172.16.100.200, channel=10, RSSI -68db
8/09/21 13:42:14 MDNS responder started for hostname IotaWatt
8/09/21 13:42:14 LLMNR responder started for hostname IotaWatt
8/09/21 13:42:14 timeSync: service started.
8/09/21 13:42:14 statService: started.
8/09/21 13:42:14 Updater: service started. Auto-update class is MINOR
8/09/21 13:42:15 dataLog: service started.
8/09/21 13:42:15 dataLog: Last log entry 08/08/21 22:43:25
8/09/21 13:42:15 emoncms: Start posting at 08/08/21 22:42:50
8/09/21 13:42:15 influxDB_v1: Start posting at 08/08/21 22:42:30
8/09/21 13:42:17 Updater: Auto-update is current for class MINOR.
8/09/21 13:42:19 historyLog: service started.
8/09/21 13:42:19 historyLog: Last log entry 08/08/21 22:43:00

I’m seeing an issue with possible invalid response from Emoncms, but where do the three red flashes come in?

Each time i lose communication with the unit - i go and have a look at it and it is sitting there with th 3 red flashes.

I have had the same thing happen tonight - just restarted it and it has not come back yet - i will go down stairs and check it out.

If you are seeing an issue with EMONCMS - happy to disable that for the time being.

Craig

OK just forced another restart (removed power cable) as it was not responsive.

The LED patter ws 1 green and two red flashes - after two power downs it came back up

Just went in and deleted the ECONCMS definition and did a reboot from the web manager.

It came back - then went in and started deleted the Influx uploads definitions - deleted all the defined outputs and then did a reboot - but could not remove the actual INflux server defintiion - each time i did it just jumped back to the main menu.

It appears to have locked up again now.

WIll confirm

Craig

Here is the message log now after a couple of times of pulling the power plug

The green LED appears to have a fast flicker or fading in and out (just slightly) almost like a dodgey power supply etc - but i have already replaced all of that chain

** Restart **

SD initialized.
8/09/21 03:59:15z Real Time Clock is running. Unix time 1628481555
8/09/21 03:59:15z Reset reason: Exception
8/09/21 03:59:15z Trace: 8:9, 9:3, 9:5, 9:9, 1:2, 1:3, 1:3, 1:1[10], 1:2[11], 9:0[11], 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[3], 1:5[31], 1:6[4], 31:0, 31:1, 31:2[4], 3:91, 15:0[32]
8/09/21 03:59:15z ESP8266 ChipID: 6346788
8/09/21 03:59:15z IoTaWatt 5.0, Firmware version 02_06_05
8/09/21 03:59:15z SPIFFS mounted.
8/09/21 13:59:15 Local time zone: +10:00
8/09/21 13:59:15 Using Daylight Saving Time (BST) when in effect.
8/09/21 13:59:15 device name: IotaWatt
8/09/21 13:59:15 HTTP server started
8/09/21 13:59:15 emoncms: Starting, interval:10, url:http://172.16.100.20/emoncms
8/09/21 13:59:15 influxDB_v1: Starting, interval:10, url:http://172.16.100.37:8086
8/09/21 13:59:15 timeSync: service started.
8/09/21 13:59:15 statService: started.
8/09/21 13:59:15 dataLog: service started.
8/09/21 13:59:16 dataLog: Last log entry 08/09/21 13:59:05
8/09/21 13:59:20 historyLog: service started.
8/09/21 13:59:20 historyLog: Last log entry 08/09/21 13:58:00
8/09/21 13:59:21 WiFi connected. SSID=CURTIN-MESH, IP=172.16.100.200, channel=10, RSSI -69db
8/09/21 13:59:21 MDNS responder started for hostname IotaWatt
8/09/21 13:59:21 LLMNR responder started for hostname IotaWatt
8/09/21 13:59:21 Updater: service started. Auto-update class is MINOR
8/09/21 13:59:21 emoncms: Start posting at 08/09/21 13:58:50
8/09/21 13:59:21 influxDB_v1: Start posting at 08/09/21 13:58:40
8/09/21 13:59:23 Updater: Auto-update is current for class MINOR.
SD initialized.
8/09/21 04:02:53z Real Time Clock is running. Unix time 1628481773
8/09/21 04:02:53z Reset reason: Exception
8/09/21 04:02:53z 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]
8/09/21 04:02:53z ESP8266 ChipID: 6346788
8/09/21 04:02:53z IoTaWatt 5.0, Firmware version 02_06_05
8/09/21 04:02:53z SPIFFS mounted.
8/09/21 14:02:53 Local time zone: +10:00
8/09/21 14:02:53 Using Daylight Saving Time (BST) when in effect.
8/09/21 14:02:53 device name: IotaWatt
8/09/21 14:02:53 HTTP server started
SD initialized.
8/09/21 05:38:40z Real Time Clock is running. Unix time 1628487520
8/09/21 05:38:40z Power failure detected.
8/09/21 05:38:40z Reset reason: Exception
8/09/21 05:38:40z ESP8266 ChipID: 6346788
8/09/21 05:38:40z IoTaWatt 5.0, Firmware version 02_06_05
8/09/21 05:38:40z SPIFFS mounted.
8/09/21 15:38:40 Local time zone: +10:00
8/09/21 15:38:40 Using Daylight Saving Time (BST) when in effect.
8/09/21 15:38:40 device name: IotaWatt

** Restart **

SD initialized.
8/09/21 06:37:52z Real Time Clock is running. Unix time 1628491072
8/09/21 06:37:52z Power failure detected.
8/09/21 06:37:52z Reset reason: Exception
8/09/21 06:37:52z ESP8266 ChipID: 6346788
8/09/21 06:37:52z IoTaWatt 5.0, Firmware version 02_06_05
8/09/21 06:37:52z SPIFFS mounted.
8/09/21 16:37:52 Local time zone: +10:00
8/09/21 16:37:52 Using Daylight Saving Time (BST) when in effect.
8/09/21 16:37:52 device name: IotaWatt

** Restart **

SD initialized.
8/09/21 15:58:02z Real Time Clock is running. Unix time 1628
** Restart **

SD initialized.
8/09/21 16:52:25z Real Time Clock is running. Unix time 1628527945
8/09/21 16:52:25z Power failure detected.
8/09/21 16:52:25z Reset reason: External System
8/09/21 16:52:25z ESP8266 ChipID: 6346788
8/09/21 16:52:25z IoTaWatt 5.0, Firmware version 02_06_05
8/09/21 16:52:25z SPIFFS mounted.
8/10/21 02:52:25 Local time zone: +10:00
8/10/21 02:52:25 Using Daylight Saving Time (BST) when in effect.
8/10/21 02:52:25 device name: IotaWatt
8/10/21 02:52:28 Connecting with WiFiManager.
8/10/21 02:52:33 HTTP server started
8/10/21 02:52:33 emoncms: Starting, interval:10, url:http://172.16.100.20/emoncms
8/10/21 02:52:33 influxDB_v1: Starting, interval:10, url:http://172.16.100.37:8086
8/10/21 02:52:33 WiFi connected. SSID=CURTIN-MESH, IP=172.16.100.200, channel=10, RSSI -73db
8/10/21 02:52:33 MDNS responder started for hostname IotaWatt
8/10/21 02:52:33 LLMNR responder started for hostname IotaWatt
8/10/21 02:52:33 timeSync: service started.
8/10/21 02:52:33 statService: started.
8/10/21 02:52:33 Updater: service started. Auto-update class is MINOR
8/10/21 02:52:33 dataLog: service started.
8/10/21 02:52:33 dataLog: Last log entry 08/09/21 14:02:45
8/10/21 02:52:33 emoncms: Start posting at 08/09/21 14:02:40
8/10/21 02:52:35 Updater: Auto-update is current for class MINOR.
8/10/21 02:52:35 influxDB_v1: Start posting at 08/09/21 14:02:40
8/10/21 02:52:38 historyLog: service started.
8/10/21 02:52:38 historyLog: Last log entry 08/09/21 14:02:00
8/10/21 02:56:01 emoncms: stopped, Last post 08/10/21 02:55:50
8/10/21 02:57:57 influxDB_v1: stopped, Last post 08/10/21 02:57:40
8/10/21 02:58:25 Restart command received.

** Restart **

SD initialized.
8/09/21 16:58:27z Real Time Clock is running. Unix time 1628528307
8/09/21 16:58:27z Reset reason: Software/System restart
8/09/21 16:58:27z Trace: 1:3, 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, 1:3, 1:1[6], 1:2[7], 9:0[7], 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
8/09/21 16:58:27z ESP8266 ChipID: 6346788
8/09/21 16:58:27z IoTaWatt 5.0, Firmware version 02_06_05
8/09/21 16:58:27z SPIFFS mounted.
8/10/21 02:58:27 Local time zone: +10:00
8/10/21 02:58:27 Using Daylight Saving Time (BST) when in effect.
8/10/21 02:58:27 device name: IotaWatt
8/10/21 02:58:27 HTTP server started
8/10/21 02:58:27 influxDB_v1: Starting, interval:10, url:http://172.16.100.37:8086
8/10/21 02:58:27 timeSync: service started.
8/10/21 02:58:27 statService: started.
8/10/21 02:58:27 dataLog: service started.
8/10/21 02:58:28 dataLog: Last log entry 08/10/21 02:58:25
8/10/21 02:58:32 historyLog: service started.

** Restart **

SD initialized.
8/09/21 17:03:32z Real Time Clock is running. Unix time 1628528612
8/09/21 17:03:32z Reset reason: Software/System restart
8/09/21 17:03:32z Trace: 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[2], 1:6[3], 1:5[20], 1:6[4], 20:0, 20:1, 20:2, 20:3, 1:6[6], 1:3, 1:3, 1:6[1], 1:6[2], 1:6[2], 1:6[2], 1:6[2], 1:6[3], 1:5[14], 1:6[4], 14:0, 14:1, 14:2
8/09/21 17:03:32z ESP8266 ChipID: 6346788
8/09/21 17:03:32z IoTaWatt 5.0, Firmware version 02_06_05
8/09/21 17:03:32z SPIFFS mounted.
8/10/21 03:03:32 Local time zone: +10:00
8/10/21 03:03:32 Using Daylight Saving Time (BST) when in effect.
8/10/21 03:03:32 device name: IotaWatt
8/10/21 03:03:32 HTTP server started
8/10/21 03:03:32 influxDB_v1: Starting, interval:10, url:http://172.16.100.37:8086
8/10/21 03:03:32 timeSync: service started.
8/10/21 03:03:32 statService: started.
8/10/21 03:03:32 dataLog: service started.
8/10/21 03:03:33 dataLog: Last log entry 08/10/21 02:58:30
8/10/21 03:03:37 historyLog: service started.
8/10/21 03:03:37 historyLog: Last log entry 08/10/21 02:58:00

** Restart **

SD initialized.
8/09/21 17:08:46z Real Time Clock is running. Unix time 1628528926
8/09/21 17:08:46z Power failure detected.
8/09/21 17:08:46z Reset reason: External System
8/09/21 17:08:46z ESP8266 ChipID: 6346788
8/09/21 17:08:46z IoTaWatt 5.0, Firmware version 02_06_05
8/09/21 17:08:46z SPIFFS mounted.
8/10/21 03:08:46 Local time zone: +10:00
8/10/21 03:08:46 Using Daylight Saving Time (BST) when in effect.
8/10/21 03:08:46 device name: IotaWatt
8/10/21 03:08:49 Connecting with WiFiManager.
8/10/21 03:08:54 HTTP server started
8/10/21 03:08:54 influxDB_v1: Starting, interval:10, url:http://172.16.100.37:8086
8/10/21 03:08:54 WiFi connected. SSID=CURTIN-MESH, IP=172.16.100.200, channel=10, RSSI -75db
8/10/21 03:08:54 MDNS responder started for hostname IotaWatt
8/10/21 03:08:54 LLMNR responder started for hostname IotaWatt
8/10/21 03:08:54 timeSync: service started.
8/10/21 03:08:54 statService: started.
8/10/21 03:08:54 Updater: service started. Auto-update class is MINOR
8/10/21 03:08:54 influxDB_v1: stopped, Last post 08/10/21 02:57:40
8/10/21 03:08:54 dataLog: service started.
8/10/21 03:08:55 dataLog: Last log entry 08/10/21 03:03:35
8/10/21 03:08:59 historyLog: service started.
8/10/21 03:08:59 historyLog: Last log entry 08/10/21 03:01:00
8/10/21 03:08:59 Updater: Auto-update is current for class MINOR.

** Restart **

SD initialized.
8/09/21 17:09:08z Real Time Clock is running. Unix time 1628528948
8/09/21 17:09:08z Power failure detected.
8/09/21 17:09:08z Reset reason: External System
8/09/21 17:09:08z ESP8266 ChipID: 6346788
8/09/21 17:09:08z IoTaWatt 5.0, Firmware version 02_06_05
8/09/21 17:09:08z SPIFFS mounted.
8/10/21 03:09:08 Local time zone: +10:00
8/10/21 03:09:08 Using Daylight Saving Time (BST) when in effect.
8/10/21 03:09:08 device name: IotaWatt
8/10/21 03:09:11 Connecting with WiFiManager.
8/10/21 03:09:16 HTTP server started
8/10/21 03:09:16 influxDB_v1: Starting, interval:10, url:http://172.16.100.37:8086
8/10/21 03:09:16 WiFi connected. SSID=CURTIN-MESH, IP=172.16.100.200, channel=10, RSSI -70db
8/10/21 03:09:16 MDNS responder started for hostname IotaWatt
8/10/21 03:09:16 LLMNR responder started for hostname IotaWatt
8/10/21 03:09:16 timeSync: service started.
8/10/21 03:09:16 statService: started.
8/10/21 03:09:16 Updater: service started. Auto-update class is MINOR
8/10/21 03:09:16 influxDB_v1: stopped, Last post 08/10/21 02:57:40
8/10/21 03:09:16 dataLog: service started.
8/10/21 03:09:17 dataLog: Last log entry 08/10/21 03:09:00
8/10/21 03:09:17 Updater: Auto-update is current for class MINOR.
8/10/21 03:09:21 historyLog: service started.
8/10/21 03:09:21 historyLog: Last log entry 08/10/21 03:09:00

Craig

Is it possible that GRR has been the problem all along?

Thats not what i have observed each time i have been down there to reset it.

That seems to have stood out to me just now.

What does that pattern signify ?

Craig

GRR is associated with SDcard problems. RRR, as a catchall, can be the result of inability to open the datalog. There is a log entry made when that is the case, but if its caused by inability to access the SDcard, the message will not make it top the log.

Do you have another SDcard? 8GB or more, format FAT32.

Yep i have got a couple on hand and that was the next stop.

Am i just going to format them to FAT32 and then copy all files across - or do i need to image the existing card onto the new one ?

As i have now deleted the EMONCMS definition and stop the influx uploads i will leave this overnight (3AM here now) and tackle the SD card replacement in the morning if i have another lockup.

Also how do i rename the devices - as soon as i go into the Setup/Device field and put the cursor into the Device name field and type anything - the message i get is please match the requested format ?

What is the requested format ?

I usually just reference them both by IP Addresses as they have a fixed IP through my firewall DHCP server through their Mac addresses - but would be nice to be able to change it

Craig

Yes.

I’ll answer this later.

There is a possibility that the SDcard issue is with the holder on the IoTaWatt PCB. Given its Australia lets go for the easy fix first and see what happens.

OK still running OK this morning after removing the EMONCMS and disabling the Influx config

Will report back in a couple of days.

If it does lock up i have a spare SD card standing by (I assume it is a micro SD ?)

Craig

Yes, micro SD. The GRR would not have had anything to do with Emoncms. It’s in the mix with the exception restarts.

aah - so better off changing it out then - rather than waiting ?

Craig

I think so. No downside really if you can copy the old card.

OK it hung up again today before i got to it.

Doing it now.

The windows copy of the SD Card is hanging at 78% when it hits IOTAlog.log and also the history log

I have created two blank files with those names on the new card

Will setup the new card now and see what happens

Craig

OK back up and running with both the histroy files blanked out.

Not a major drama.

Thanks for the help once again

Craig

1 Like

Update

Continues to run just fine - definitely either a dodgey card or corrupt files.

Not sure what your failure rate is like on the cards Bob - but i have been using Sandisk Extreme Pro units in Raspberry Pis - for a looooong time (many of them out there for customers (like 100+) and never had a single failure.

Craig

My personal preference for high endurance microSD cards are Samsung’s. I use these in all of my Wyze Cameras with continuous recording enabled. I also use them in my Raspberry Pi computers. Very reliable and designed for continuous write cycles.

https://www.amazon.com/Samsung-Endurance-128GB-Micro-Adapter/dp/B07B98GXQT

Hey Bob,

I thought everything was fine with my unit after the replacement of the SD card but it appeared to have done a hard lockup today when i went to access it.

To summarise

  1. Move the USB power supply to a different power outlet
  2. replaced the USB power supply and USB cable
  3. replaced the SD card - deleted the log files - as they were corrupted and would not copy
  4. removed the definition for EMONCMS

I could not access the unit through the web interface today (had not attempted to for a couple of days previously) - the unit is still out of its case after replacing the SD card so i went to the basement and the onboard LED on the ESP module (that you would not normally see with the case on - was flashing a fast blue.

I have powered it off and on and here are the message logs

8/09/21 06:37:52z Power failure detected.
8/09/21 06:37:52z Reset reason: Exception
8/09/21 06:37:52z ESP8266 ChipID: 6346788
8/09/21 06:37:52z IoTaWatt 5.0, Firmware version 02_06_05
8/09/21 06:37:52z SPIFFS mounted.
8/09/21 16:37:52 Local time zone: +10:00
8/09/21 16:37:52 Using Daylight Saving Time (BST) when in effect.
8/09/21 16:37:52 device name: IotaWatt

** Restart **

SD initialized.
8/09/21 15:58:02z Real Time Clock is running. Unix time 1628
** Restart **

SD initialized.
8/09/21 16:52:25z Real Time Clock is running. Unix time 1628527945
8/09/21 16:52:25z Power failure detected.
8/09/21 16:52:25z Reset reason: External System
8/09/21 16:52:25z ESP8266 ChipID: 6346788
8/09/21 16:52:25z IoTaWatt 5.0, Firmware version 02_06_05
8/09/21 16:52:25z SPIFFS mounted.
8/10/21 02:52:25 Local time zone: +10:00
8/10/21 02:52:25 Using Daylight Saving Time (BST) when in effect.
8/10/21 02:52:25 device name: IotaWatt
8/10/21 02:52:28 Connecting with WiFiManager.
8/10/21 02:52:33 HTTP server started
8/10/21 02:52:33 emoncms: Starting, interval:10, url:http://172.16.100.20/emoncms
8/10/21 02:52:33 influxDB_v1: Starting, interval:10, url:http://172.16.100.37:8086
8/10/21 02:52:33 WiFi connected. SSID=CURTIN-MESH, IP=172.16.100.200, channel=10, RSSI -73db
8/10/21 02:52:33 MDNS responder started for hostname IotaWatt
8/10/21 02:52:33 LLMNR responder started for hostname IotaWatt
8/10/21 02:52:33 timeSync: service started.
8/10/21 02:52:33 statService: started.
8/10/21 02:52:33 Updater: service started. Auto-update class is MINOR
8/10/21 02:52:33 dataLog: service started.
8/10/21 02:52:33 dataLog: Last log entry 08/09/21 14:02:45
8/10/21 02:52:33 emoncms: Start posting at 08/09/21 14:02:40
8/10/21 02:52:35 Updater: Auto-update is current for class MINOR.
8/10/21 02:52:35 influxDB_v1: Start posting at 08/09/21 14:02:40
8/10/21 02:52:38 historyLog: service started.
8/10/21 02:52:38 historyLog: Last log entry 08/09/21 14:02:00
8/10/21 02:56:01 emoncms: stopped, Last post 08/10/21 02:55:50
8/10/21 02:57:57 influxDB_v1: stopped, Last post 08/10/21 02:57:40
8/10/21 02:58:25 Restart command received.

** Restart **

SD initialized.
8/09/21 16:58:27z Real Time Clock is running. Unix time 1628528307
8/09/21 16:58:27z Reset reason: Software/System restart
8/09/21 16:58:27z Trace: 1:3, 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, 1:3, 1:1[6], 1:2[7], 9:0[7], 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
8/09/21 16:58:27z ESP8266 ChipID: 6346788
8/09/21 16:58:27z IoTaWatt 5.0, Firmware version 02_06_05
8/09/21 16:58:27z SPIFFS mounted.
8/10/21 02:58:27 Local time zone: +10:00
8/10/21 02:58:27 Using Daylight Saving Time (BST) when in effect.
8/10/21 02:58:27 device name: IotaWatt
8/10/21 02:58:27 HTTP server started
8/10/21 02:58:27 influxDB_v1: Starting, interval:10, url:http://172.16.100.37:8086
8/10/21 02:58:27 timeSync: service started.
8/10/21 02:58:27 statService: started.
8/10/21 02:58:27 dataLog: service started.
8/10/21 02:58:28 dataLog: Last log entry 08/10/21 02:58:25
8/10/21 02:58:32 historyLog: service started.

** Restart **

SD initialized.
8/09/21 17:03:32z Real Time Clock is running. Unix time 1628528612
8/09/21 17:03:32z Reset reason: Software/System restart
8/09/21 17:03:32z Trace: 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[2], 1:6[3], 1:5[20], 1:6[4], 20:0, 20:1, 20:2, 20:3, 1:6[6], 1:3, 1:3, 1:6[1], 1:6[2], 1:6[2], 1:6[2], 1:6[2], 1:6[3], 1:5[14], 1:6[4], 14:0, 14:1, 14:2
8/09/21 17:03:32z ESP8266 ChipID: 6346788
8/09/21 17:03:32z IoTaWatt 5.0, Firmware version 02_06_05
8/09/21 17:03:32z SPIFFS mounted.
8/10/21 03:03:32 Local time zone: +10:00
8/10/21 03:03:32 Using Daylight Saving Time (BST) when in effect.
8/10/21 03:03:32 device name: IotaWatt
8/10/21 03:03:32 HTTP server started
8/10/21 03:03:32 influxDB_v1: Starting, interval:10, url:http://172.16.100.37:8086
8/10/21 03:03:32 timeSync: service started.
8/10/21 03:03:32 statService: started.
8/10/21 03:03:32 dataLog: service started.
8/10/21 03:03:33 dataLog: Last log entry 08/10/21 02:58:30
8/10/21 03:03:37 historyLog: service started.
8/10/21 03:03:37 historyLog: Last log entry 08/10/21 02:58:00

** Restart **

SD initialized.
8/09/21 17:08:46z Real Time Clock is running. Unix time 1628528926
8/09/21 17:08:46z Power failure detected.
8/09/21 17:08:46z Reset reason: External System
8/09/21 17:08:46z ESP8266 ChipID: 6346788
8/09/21 17:08:46z IoTaWatt 5.0, Firmware version 02_06_05
8/09/21 17:08:46z SPIFFS mounted.
8/10/21 03:08:46 Local time zone: +10:00
8/10/21 03:08:46 Using Daylight Saving Time (BST) when in effect.
8/10/21 03:08:46 device name: IotaWatt
8/10/21 03:08:49 Connecting with WiFiManager.
8/10/21 03:08:54 HTTP server started
8/10/21 03:08:54 influxDB_v1: Starting, interval:10, url:http://172.16.100.37:8086
8/10/21 03:08:54 WiFi connected. SSID=CURTIN-MESH, IP=172.16.100.200, channel=10, RSSI -75db
8/10/21 03:08:54 MDNS responder started for hostname IotaWatt
8/10/21 03:08:54 LLMNR responder started for hostname IotaWatt
8/10/21 03:08:54 timeSync: service started.
8/10/21 03:08:54 statService: started.
8/10/21 03:08:54 Updater: service started. Auto-update class is MINOR
8/10/21 03:08:54 influxDB_v1: stopped, Last post 08/10/21 02:57:40
8/10/21 03:08:54 dataLog: service started.
8/10/21 03:08:55 dataLog: Last log entry 08/10/21 03:03:35
8/10/21 03:08:59 historyLog: service started.
8/10/21 03:08:59 historyLog: Last log entry 08/10/21 03:01:00
8/10/21 03:08:59 Updater: Auto-update is current for class MINOR.

** Restart **

SD initialized.
8/09/21 17:09:08z Real Time Clock is running. Unix time 1628528948
8/09/21 17:09:08z Power failure detected.
8/09/21 17:09:08z Reset reason: External System
8/09/21 17:09:08z ESP8266 ChipID: 6346788
8/09/21 17:09:08z IoTaWatt 5.0, Firmware version 02_06_05
8/09/21 17:09:08z SPIFFS mounted.
8/10/21 03:09:08 Local time zone: +10:00
8/10/21 03:09:08 Using Daylight Saving Time (BST) when in effect.
8/10/21 03:09:08 device name: IotaWatt
8/10/21 03:09:11 Connecting with WiFiManager.
8/10/21 03:09:16 HTTP server started
8/10/21 03:09:16 influxDB_v1: Starting, interval:10, url:http://172.16.100.37:8086
8/10/21 03:09:16 WiFi connected. SSID=CURTIN-MESH, IP=172.16.100.200, channel=10, RSSI -70db
8/10/21 03:09:16 MDNS responder started for hostname IotaWatt
8/10/21 03:09:16 LLMNR responder started for hostname IotaWatt
8/10/21 03:09:16 timeSync: service started.
8/10/21 03:09:16 statService: started.
8/10/21 03:09:16 Updater: service started. Auto-update class is MINOR
8/10/21 03:09:16 influxDB_v1: stopped, Last post 08/10/21 02:57:40
8/10/21 03:09:16 dataLog: service started.
8/10/21 03:09:17 dataLog: Last log entry 08/10/21 03:09:00
8/10/21 03:09:17 Updater: Auto-update is current for class MINOR.
8/10/21 03:09:21 historyLog: service started.
8/10/21 03:09:21 historyLog: Last log entry 08/10/21 03:09:00
8/10/21 10:10:02 Table file parse failed.

** Restart **

SD initialized.
8/10/21 06:55:45z Real Time Clock is running. Unix time 1628578545
8/10/21 06:55:45z Power failure detected.
8/10/21 06:55:45z Reset reason: External System
8/10/21 06:55:45z ESP8266 ChipID: 6346788
8/10/21 06:55:45z IoTaWatt 5.0, Firmware version 02_06_05
8/10/21 06:55:45z SPIFFS mounted.
8/10/21 16:55:45 Local time zone: +10:00
8/10/21 16:55:45 Using Daylight Saving Time (BST) when in effect.
8/10/21 16:55:45 device name: IotaWatt
8/10/21 16:55:48 Connecting with WiFiManager.
8/10/21 16:55:53 HTTP server started
8/10/21 16:55:53 influxDB_v1: Starting, interval:10, url:http://172.16.100.37:8086
8/10/21 16:55:53 WiFi connected. SSID=CURTIN-MESH, IP=172.16.100.200, channel=10, RSSI -74db
8/10/21 16:55:53 MDNS responder started for hostname IotaWatt
8/10/21 16:55:53 LLMNR responder started for hostname IotaWatt
8/10/21 16:55:53 timeSync: service started.
8/10/21 16:55:53 statService: started.
8/10/21 16:55:53 Updater: service started. Auto-update class is MINOR
8/10/21 16:55:53 Table file parse failed.
8/10/21 16:55:53 influxDB_v1: stopped, Last post 08/10/21 02:57:40
8/10/21 16:55:53 dataLog: service started.
8/10/21 16:55:53 dataLog: New current log created.
8/10/21 16:55:55 Updater: Auto-update is current for class MINOR.
8/10/21 16:55:55 Updater: update tables from invalid to 0.0.2
8/10/21 16:56:56 historyLog: service started.
8/10/21 16:56:56 historyLog: first entry 08/10/21 16:56:00

** Restart **

SD initialized.
8/16/21 04:02:06z Real Time Clock is running. Unix time 1629086526
8/16/21 04:02:06z Power failure detected.
8/16/21 04:02:06z Reset reason: External System
8/16/21 04:02:06z ESP8266 ChipID: 6346788
8/16/21 04:02:06z IoTaWatt 5.0, Firmware version 02_06_05
8/16/21 04:02:06z SPIFFS mounted.
8/16/21 14:02:06 Local time zone: +10:00
8/16/21 14:02:06 Using Daylight Saving Time (BST) when in effect.
8/16/21 14:02:06 device name: IotaWatt
8/16/21 14:02:09 Connecting with WiFiManager.
8/16/21 14:02:14 HTTP server started
8/16/21 14:02:14 influxDB_v1: Starting, interval:10, url:http://172.16.100.37:8086
8/16/21 14:02:14 WiFi connected. SSID=CURTIN-MESH, IP=172.16.100.200, channel=10, RSSI -68db
8/16/21 14:02:14 MDNS responder started for hostname IotaWatt
8/16/21 14:02:14 LLMNR responder started for hostname IotaWatt
8/16/21 14:02:14 timeSync: service started.
8/16/21 14:02:14 statService: started.
8/16/21 14:02:14 Updater: service started. Auto-update class is MINOR
8/16/21 14:02:14 dataLog: service started.
8/16/21 14:02:14 dataLog: Last log entry 08/11/21 15:48:15
8/16/21 14:02:14 influxDB_v1: stopped, Last post 08/10/21 16:55:50
8/16/21 14:02:16 Updater: Auto-update is current for class MINOR.
8/16/21 14:02:19 historyLog: service started.
8/16/21 14:02:19 historyLog: Last log entry 08/11/21 15:48:00

Craig

What was the led doing?