I think I can make a first pass at this, and maybe explain a few things along the way.
First, the principles under which this all should work. I’m struggling a little here to understand British terminology, and I may let some American terminology slip in or perhaps slightly misuse the British terminology, so feel free to comment back or ask questions if there is any doubt as to what I am saying.
You are making three measurements with the IotaWatt:
-
What you call “Consumption” which I take to be a CT connected to the main on your “consumer unit”. This should be a signed quantity, in other words, power can flow in either direction, depending on whether you are importing or exporting power. So when you configure this input on IoTaWatt, you should click the “Allown negative power value” box. So the watts indicated for this input in the status display will either be positive or negative (import vs export) and will display green when negative (exporting). I am going to recommend you rename this to “main”, and I will henceforth refer to it as such.
-
What you call “Generation” which I take to be the feed into your consumer unit from your solar PV system. Typically this is a positive number, and represents the power being added to your consumer unit. Conceptually, it is the same as the “main” except that it does not export. I am going to recommend you rename this to “solar” and I will henceforth refer to it as such.
-
What you call “Immersun” I take to mean a CT on the connection to an Immersun solar diverter unit. Don’t know much about these except what I read from their website. Essentially, this is just a load that has a smart controller regulating how much power to draw based on the export status of a separate CT that they put on your main. I am going to recommend you rename this to “divert” and will henceforth refer to it as such.
So main and solar are both supplies to your consumer unit. To determine how much power you are using at any given time, you add those two together. Remember that main is signed, so for instance if your solar is producing 2000 watts, and your main is -1200, you are using 2000 + (-1200) = 800 watts. we will create an output called “use” and define it with the calculator as main + solar.
I see that you are interested in knowing what you are using exclusive of the power diverted to the Immersun, so for that you should define an output:
house_use = main + solar - divert
Now you need to export this data to Emoncms so that you can use the My Solar Divert app.
You can leave the voltage output as is, always nice to have. So, listing by Key:
- Voltage
- main (signed power from/to grid)
- solar (solar PV output)
- divert (power used by water heater via Immersun controller)
- main + solar (net total power used in the home)
- main + solar - divert (net total power excluding Immersun water heater)
That will come in to Emoncms on the corresponding input Keys 1-6. It’s not neccessary, but for clarity you could name them:
- Voltage
- main
- solar
- divert
- use
- house_use
For each of these, you need to create power and Kwh feeds, so you will first add a “Log to feed” input process with first name I provide below, followed by a “Power to Kwh” input process using the second name I provide. So for each input:
- Voltage, (no Power to Kwh)
- import, import_kwh
- solar, solar_kwh
- divert, divert_kwh
- use, use_kwh
- house_use, house_use_kwh
So now, the easy part. If we’ve done all this correctly, you should be able to run the My Solar Divert app, or the My Solar app, or the My Electric app, using the standard defaults and get the correct results. Give it a try.
Caveat, I’ve not used this particular app before, so give me a shout if there are any problems.
If it goes, post a shot of a day’s data so I can see what it looks like and validate we got it right.