Oh don’t worry… I had ruled out hardware damage by swapping inputs, etc… I knew it was a config issue but had not figured it out… then I remembered that I had bought 200A CT’s but set them to 100A…
I am using integrations for the battery and the grid.
The battery one seems OK, but I am still having some issues with the grid one:
It is always stuck at 0. I was going to ask you how could I delete all data as I do not know if any of the multiple changes in sign, etc has affected the way the integrator works (although I would not think so) (I will eventually want to do so as my logs right now have spurious data from all the experiments)
Grid import is + and export is -
My solar feed is +
My charge is + and discharge is -
I am considering solar generation, but the battery as a load, that can give me energy back. The reasoning is that all loads are + and because the battery is not 100% efficient, it is net as a load.
I will be feeding all this to HA Energy. I am just waiting for the other two IoTaWatt’s to arrive. I will do an electrical panel swap and install both of them on the new panel. I want to monitor about 40 circuits and for now I will be combining some of them… later I might buy another IoTaWatts.
And I want to aggregate all that data and feed it to HA.
I am still deciding if I should just let HA do the aggregation. Or if I should spin an influx db and use that to aggregate the data… Use HA graphna to present the aggregated data but let HA Energy to get the info directly from the IoTaWatts…
I can write up how I have everything connected once I finish with the panel if you want.
I view it as the same thing as the mains. My model of mains with net metering is that it’s a big battery with virtually unlimited capacity and charge/discharge rate. Folks with true net metering charge it up all summer and discharge it in the winter.
Grid + battery+ solar = consumption. Notwithstanding that some of those are negative from time to time.
To clear an integrator
Delete the integrator
Delete the integration file.
Recreate the integrator.
@overeasy , your thought makes sense… I might change it so that the battery is +… again, because of the battery not being 100% efficient it will always have a net negative (consumption)…
I tried deleted the integrator. But then I went to find the integration file and it was not there.
I restarted the board and now everything is really unstable.
At some point I was able to get to the status page and the grid was still there… and in the graph, the grid name was there but there was an error if you selected it…
Found a problem with accessing the second and subsequent integration in a Script. The data is being accumulated correctly; you just can’t access it. I’ll be cutting the next maintenance release in a few days. This will be fixed there.