Maybe a problem with the SD file system, but I have a lot of respect for them and don’t necessarily believe the card is at fault
The datalog stopped at 1526900740 which is GMT: Monday, May 21, 2018 11:05:40 AM.
So it was logging when you pulled the plug. Not that it wasn’t the thing to do at that point, just establishing the device state. We’ll never really know if the config was an empty file or a corrupted file. I’m betting on a corrupted file. The symptoms you describe, ongoing loss of the config, suggest the block allocation tables are corrupted. So a new SD card would be worthwhile trying. You can copy the contents of the whole IoTaWatt directory to the new card and recover the history to the point of failure.
For me, the number one cause of these types of problems has been removing or inserting an SD card while the device is powered on. Sometimes it takes awhile to manifest itself, and I’ve all but forgotten the seemingly successful thing I did with the card. Not saying that’s what happened, could be a bad card, but you handle a lot of devices so I thought I’d pass along my hard learned lesson.
Let me know if problems persist.
Thanks
OH, I was going to ask, how many 35A CTs are you looking for? I’m stocked up with some eChun ECS10-50.
50A input/50ma output 10.2mm opening. I’ve also got eChun solid core ECOL09-20. I haven’t tested the high end, but the cores are supposed to be good for 50A and these are 1000 turns - so same as the ECS10-50 but more accurate because they are solid core. Both have TVS diodes, 1.5m leads with 3.5mm jacks. 10-50 is CE and UR, 09-20 are UL Listed.