Question about Current output

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:
image

image

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…

It is really slow and loading weirdly:

I was able to get to the logs…
It seems that the file got deleted but not from the configuration

also note the date/time

It is more stable now


but also note the grid…

Grid is currently undefined because you deleted it. You should redefine it now.

That last image was after redefining it…

this morning:
image

after several refresh:
image

Can you run the file manager and show the file directory display on the left?

Sorry… just saw your msg now… I’ve been trying figure this one out…

I deleted the outputs and the integrator… this is what I have in the file directory:
image

It took a while to show the files… much more than before… as well as it takes longer to refresh the screen…

I am restarting again now…

OK, After this restart (no grid integrator, no grid outputs), everything seems ok now…

Reloading was fast, opening the file editor was fast… even the restart was fast

Re-adding the integrator:

image
image

One note, now I see the integrator value going up in size…

image

and now I will add the outputs
image

They are still 0… but I will blame it on the integration process running in the bg…
I will give it some time…

Yes, the integration is not available until it is synchronized (up to date). That usually takes about 10-12 minutes.

Its been a while now:

OK,
Can you post the integration setup display and your outputs display?

image

Hmmm. Message log and a plot of Main_a and Main_b today?

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.

Perfect! Thanks… I’m glad something came from this…

Thank you @overeasy for the integrator fix: