GRR, replaced SD card, worked for 2hrs, then RRR

Was it a new card and what was the type and capacity?

The replacement card is a 32GB Samsung Evo Select micro SD, formatted in FAT32. I pulled it from a Raspberry Pi Zero that was working fine last time I used it.

I have another card, 32GB Samsung “Normal” Evo I can try, also from a previously used RPi0

(I don’t think I manhandled the SD card holder when removing the SD card, it seems the same style as RPi0s and I’ve yet to break one of those.)

Edit: I’m going to try to start fresh with this new new SD card using the instructions found @ Building a new SDcard and see how it does tonight.

Edit #2: Following the instructions in my last edit, Iotawatt booted up and connected to my wifi, but was using the default config.txt. For good measure I deleted the stored config.txt under esp_spiffs and restarted. Unit again connected to my wifi.

Here is the status window:

Here is contents of \config.txt

Looking at the messages log, it looks like the unit is rebooting every 30 seconds or so…


** Restart **

SD initialized.
12/16/22 00:02:48z Real Time Clock is running. Unix time 1671148968
12/16/22 00:02:48z Reset reason: Exception
12/16/22 00:02:48z Trace: 10:50, 25:10, 25:10, 25:10, 25:10, 25:12, 25:13, 25:13, 25:13, 25:17, 25:13, 25:13, 25:18, 25:19, 25:20, 10:52, 10:54, 10:56, 25:20, 25:40, 25:41, 25:42, 25:41, 25:50, 25:51, 25:53, 25:54, 25:60, 25:61, 25:62, 25:61, 25:64
12/16/22 00:02:48z ESP8266 ID: 16295206, RTC PCF8523 (68)
12/16/22 00:02:48z IoTaWatt 5.0, Firmware version 02_07_05
12/16/22 00:02:48z SPIFFS mounted.
12/16/22 00:02:48z Local time zone: +0:00
12/16/22 00:02:48z device name: IotaWatt
12/16/22 00:02:48z HTTP server started
12/16/22 00:02:48z timeSync: service started.
12/16/22 00:02:48z statService: started.
12/16/22 00:02:48z dataLog: service started.
12/16/22 00:02:48z dataLog: Last log entry 12/16/22 00:02:45
12/16/22 00:02:48z historyLog: service started.
12/16/22 00:02:48z historyLog: Last log entry 12/16/22 00:02:00
12/16/22 00:02:52z WiFi connected. SSID=Phoebe, IP=192.168.1.6, channel=11, RSSI -59db
12/16/22 00:02:52z MDNS responder started for hostname IotaWatt
12/16/22 00:02:52z LLMNR responder started for hostname IotaWatt
12/16/22 00:02:52z Updater: service started. Auto-update class is MINOR
12/16/22 00:02:53z Updater: Auto-update is current for class MINOR.

** Restart **

SD initialized.
12/16/22 00:03:23z Real Time Clock is running. Unix time 1671149003
12/16/22 00:03:23z Reset reason: Exception
12/16/22 00:03:23z Trace: 10:50, 25:10, 25:10, 25:10, 25:10, 25:12, 25:13, 25:13, 25:13, 25:17, 25:13, 25:13, 25:18, 25:19, 25:20, 10:52, 10:54, 10:56, 25:20, 25:40, 25:41, 25:42, 25:41, 25:50, 25:51, 25:53, 25:54, 25:60, 25:61, 25:62, 25:61, 25:64
12/16/22 00:03:23z ESP8266 ID: 16295206, RTC PCF8523 (68)
12/16/22 00:03:23z IoTaWatt 5.0, Firmware version 02_07_05
12/16/22 00:03:23z SPIFFS mounted.
12/16/22 00:03:23z Local time zone: +0:00
12/16/22 00:03:23z device name: IotaWatt
12/16/22 00:03:23z HTTP server started
12/16/22 00:03:23z timeSync: service started.
12/16/22 00:03:23z statService: started.
12/16/22 00:03:23z dataLog: service started.
12/16/22 00:03:23z dataLog: Last log entry 12/16/22 00:03:20
12/16/22 00:03:23z historyLog: service started.
12/16/22 00:03:23z historyLog: Last log entry 12/16/22 00:03:00
12/16/22 00:03:27z WiFi connected. SSID=Phoebe, IP=192.168.1.6, channel=11, RSSI -60db
12/16/22 00:03:27z MDNS responder started for hostname IotaWatt
12/16/22 00:03:27z LLMNR responder started for hostname IotaWatt
12/16/22 00:03:27z Updater: service started. Auto-update class is MINOR
12/16/22 00:03:28z Updater: Auto-update is current for class MINOR.

** Restart **

SD initialized.
12/16/22 00:03:58z Real Time Clock is running. Unix time 1671149038
12/16/22 00:03:58z Reset reason: Exception
12/16/22 00:03:58z Trace: 10:50, 25:10, 25:10, 25:10, 25:10, 25:12, 25:13, 25:13, 25:13, 25:17, 25:13, 25:13, 25:18, 25:19, 25:20, 10:52, 10:54, 10:56, 25:20, 25:40, 25:41, 25:42, 25:41, 25:50, 25:51, 25:53, 25:54, 25:60, 25:61, 25:62, 25:61, 25:64
12/16/22 00:03:58z ESP8266 ID: 16295206, RTC PCF8523 (68)
12/16/22 00:03:58z IoTaWatt 5.0, Firmware version 02_07_05
12/16/22 00:03:58z SPIFFS mounted.
12/16/22 00:03:58z Local time zone: +0:00
12/16/22 00:03:58z device name: IotaWatt
12/16/22 00:03:58z HTTP server started
12/16/22 00:03:58z timeSync: service started.
12/16/22 00:03:58z statService: started.
12/16/22 00:03:58z dataLog: service started.
12/16/22 00:03:58z dataLog: Last log entry 12/16/22 00:03:55
12/16/22 00:03:58z historyLog: service started.
12/16/22 00:03:58z historyLog: Last log entry 12/16/22 00:03:00
12/16/22 00:04:02z WiFi connected. SSID=Phoebe, IP=192.168.1.6, channel=11, RSSI -59db
12/16/22 00:04:02z MDNS responder started for hostname IotaWatt
12/16/22 00:04:02z LLMNR responder started for hostname IotaWatt
12/16/22 00:04:02z Updater: service started. Auto-update class is MINOR
12/16/22 00:04:03z Updater: Auto-update is current for class MINOR.


Well, that’s no beauno!

Edit #3: I swapped out the 5v microUSB power adapter with another one to see if maybe a failing power supply could be the culprit, but it’s still resetting every 30 seconds.

Edit #4: I found an old 8gb black SanDisk microSD card, I think it came with either a Dashcam or something, anyways I copied my original SD card’s contents to it and swapped it into the Iotawatt, and good news, it is no longer resetting every 30 seconds. Still using the swapped out 5v power adapter. I’ll update when/if anything happens.