Just a further update… I took the new SD card I have out of the iotawatt and formatted it.
I then copied just the files from github onto the new card and put it back in the iotawatt and powered it up.
It booted ok and I could access it from my web browser (chrome)
I plugged the ref power back in with the unit on my desk and all was ok (no red leds or anything)
I let it run for about 10 minutes to be sure
After that I re-added some of my inputs (phase1/2/3 for my house and my 2 solar systems) and also setup up pvoutput to upload again.
At this point I power cycled it from the web bowser just to make sure everything was ok and I grabbed the config.txt and iotamsgs.txt using the web interface (Tools → File Manager and Editor)
File are
config.txt (1.8 KB)
iotamsgs.txt (2.7 KB)
and
At the moment I have moved it back to my garage and plugged 5 of my 14 inputs back in.
I’ll continue to keep an eye on it and look at add my other inputs back as well.
I still have the original SD card which the unit crashed with yesterday and I have a copy of its contents if they are of any help.
I am also happy to put the original card back in the unit if you want to try and get to the bottom of why it scrambled its config.
Yesterday when the unit did stop I can see that my last PV output upload was June 6th at 9:55am local time
06/06/22 9:55AM 2.340kWh 0.500kWh/kW 1,781W 1,776W 0.379kW/kW - - 0.000kWh -
The tail of the log from the failed card has the following which doesn’t appear to by until later in the day. is “12:49:54z” close to 1pm local time? (Im not sure of the significance of the ‘z’)
Also I don’t think we had a power outage around that time, I was at work although my wife was home and didn’t notice anything.
5/27/22 07:23:52 PVoutput: System New_Build, interval 5, freeload mode
5/27/22 07:23:53 PVoutput: Start status beginning 05/27/22 07:20:00
** Restart **
SD initialized.
6/06/22 12:49:54z Real Time Clock is running. Unix time 1654519794
6/06/22 12:49:54z Reset Reason: Power-fail restart.
6/06/22 12:49:54z ESP8266 ID: 440304, RTC M41T81 (68)
6/06/22 12:49:54z IoTaWatt 5.0, Firmware version 02_07_05
** Restart **
SD initialized.
6/06/22 12:50:44z Real Time Clock is running. Unix time 1654519844
6/06/22 12:50:44z Reset Reason: Power-fail restart.
6/06/22 12:50:44z ESP8266 ID: 440304, RTC M41T81 (68)
6/06/22 12:50:44z IoTaWatt 5.0, Firmware version 02_07_05
** Restart **
SD initialized.
Regards, Mark