I took the SD card out of my device, and it looks interesting.
there is this file: tables.TP
dated: 8/22/2082 7:20PM PDT
There is another one: EFIV.HTM
from: 8/22/2034 (also at 7:20PM PDT)
I was unable to delete the tables.TP* file, so I copied all the content from the SD card and then slow formatted the SD card. It is a very slow card (Kingston, class 4) with a write speed of ~5MB/sec, so that took a long time.
And putting the card back in and booted and get red-red-red.
Looks like the problem is this:
** Restart **
SD initialized.
10/07/19 06:32:59z Real Time Clock is running. Unix time 1570429979
10/07/19 06:32:59z Reset reason: External System
10/07/19 06:32:59z Trace: 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 0:0, 11:0
10/07/19 06:32:59z ESP8266 ChipID: 2222239
10/07/19 06:32:59z IoTaWatt 4.x, Firmware version 02_05_00
10/07/19 06:32:59z SPIFFS mounted.
10/06/19 23:33:00 Local time zone: -8:00
10/06/19 23:33:00 Using Daylight Saving Time (BST) when in effect.
10/06/19 23:33:00 device name: IotaWatt
10/06/19 23:33:00 MDNS responder started for hostname IotaWatt
10/06/19 23:33:00 LLMNR responder started for hostname IotaWatt
10/06/19 23:33:00 HTTP server started
10/06/19 23:33:00 timeSync: service started.
10/06/19 23:33:00 statService: started.
10/06/19 23:33:00 dataLog: service started.
mkdir failed: iotawatt
10/06/19 23:33:00 dataLog: Log file open failed. 2
10/06/19 23:33:00 Program halted.
I guess it doesn’t like the format of the SD card now