Can I please have some help with the integrators and outputs that stopped working?
My outputs “Grid_Export” and “Grid_Import” have started reporting 0W when my house is definitely using energy. They used to work, and I haven’t opened iotawatt.local since before the data stopped so I hadn’t changed a thing.
I’ve tried restarting a few times.
My IoTaWatt is genuine from the IoTaWatt shop. It was from the batch with the bad SD card, but I’ve already replaced the card.
My message log hasn’t had anything new since 2023 for some reason. I’m not sure why.
Home Assistant shows that the data stopped around the 19th of August, and on the 19th and 18th there were some unrealistically high peaks. However, when I try to look that far back using my IoTaWatt’s Graph+, I can’t see any data from before
Config
Note that solar is 0W because I don’t have solar yet. The CT is sitting there waiting.
I’m not sure but I think I at least copied the config file.
Could this be related to why the integrator and outputs suddenly stopped working last month? But I replaced the SD card so long ago so I’m not sure why.
Without a message log I can only guess, but given that the message log is maintained on the SDcard and you don’t have any current entries, I would start there.
I copied the files from the Github SD Directory onto a fresh SD card that’s never been used, and installed it in the IoTaWatt.
I didn’t copy over anything from the previous card.
However, it reconnected to my wifi without me telling it how.
As expected, none of the inputs, outputs or integrators are set up. But is this still a good fresh start that will help me eliminate the SD card as the problem? The IoTaWatt must have the WIFI details stored on the ESP, but I’m not sure how much else it remembers.
Correct. The ESP EEPROM. There is hardware manufacturing data about some of the components. There is also a copy of the last valid configuration before the current config on the SDcard. If you have made any updates to the config it has probably been overwritten.
You still have the old grid log. Delete the integrator and recreate it. It will take awhile before the new integrator builds the last 24 hours. See the docs about integrators.
EDIT: Thanks. I didn’t see your reply when I sent this. I’ll try that now. Why do I have the old Grid log when I started from scratch and had to recreate all the inputs, integrators and outputs?
FYI, this is with another brand new SD card, and brand new config. This is the SD card I used.
After my last reply, I created a new Integrator named Main_Line_Test (integrator: Wh = Main_Line), and a new output called Main_Line_Test_O=Main_Liner_Test.net and this output and integrator combo works.
It’s just Grid (integrator: Wh = Main_Line), Grid_Export = Grid.neg abs and Grid_Import = Grid.pos that don’t work and report only 0.
The integrator maintains its own log file (there is no room in the other logs for it). If you look at your Data Logs in the status display, you will see it. When you delete an integrator, that log is deleted as well. But you must have copied the log from your old card and implicitly deleted the integrator by deleting and recreating the config. If you had done as I suggested above, it should have solved the problem.