Blinking Red-Red-Red

I have an iotawatt from 2021 or 2022 that’s blinking Red-Red-Red. I mounted the SD card and the config file looks OK to me.

config.txt (2.3 KB)

Except… is that null at the end of the inputs section normal?

I don’t see any obvious failures in iotamsgs.txt.

iotamsgs.txt (109.6 KB)

No fsck.vfat errors.

This SD card is a 32GB Sandisk that I created in July 2023 after the Stromboli that came with the Iotawatt died.

Any suggestions on what to do next? Reformat and start from scratch? Thanks!

RRR in this case probably means that the current log has a problem. You will need to remove the card to fix this. You might want to backup the card first, but the you can try deleting the current log (/iotawatt/iotalog.log). If it starts OK, you will still have the history log.

If not, you might try building a new card. The message log doesn’t show the unit connecting to WiFi since around June except for once yesterday. Might be something more complicated as you didn’t mention that.

Removing iotalog.log didn’t help. Still Red-Red-Red.

The message log doesn’t show the unit connecting to WiFi since around June except for once yesterday

It just took me a very long time to get around to opening up the panel and digging into it. : ) The wifi’s been there the whole time; the other iotawatt has been quietly ticking along like a champ.

Sounds like Plan B.

Yep, that was it. I deleted iotalog and histlog and restored the default config file on the old card (and confirmed the rest of the files were identical to IoTaWatt/SD) … and that didn’t work.

Reformatting and restoring the old config and history database ALSO didn’t work.

So I reformatted and only restored config.txt … and that worked.

So maybe a combination of corrupted history database and some filesystem weirdness solved by the reformat?

I guess there’s no way to save the history in this potentially corrupted database?

Doesn’t sound like it. If you restore the old iotalog and it works, you will have the last year of history but it may take a long time (think days) for it to build a new history file and that will only have the last year as well. There would be about half a million entries needed for a year’s worth of history file - about 135MB.

I’d recommend just leaving well enough alone.

Gotcha, thank you for the info. I agree.

aaand a couple hours later it’s Red-Red-Red again. I have to assume this little unit has smoked it’s second SD card.

I think it would have had to restart for RRR again. Can you post the message log?

Here you go. I did restart it intentionally a few times to put the case back on and stuff it back into the panel. It went Red-Red-Red once, after a couple(?) hours of running well.

I don’t think I asked for any software/system restarts.

iotamsgs.txt (4.3 KB)

Currently at 15 hours of uptime and counting on this Samsung SD card. So far so good.