Iotawatt Integration Setup Question

Hi,
I’m looking to integrate my already existing IotaWatt setup on my home/solar/battery system into HA.
Reading the Iotawatt Integration Documents it says the for solar panels…

You will need to configure two new IoTaWatt output sensors:

Name Unit Formula
MainsConsumption Watts (Main_In_Red + Main_In_White + Main_In_Blue) max 0
MainsExport Watts ((Main_In_Red + Main_In_White + Main_In_Blue) min 0) abs

I already have outputs setup in Iotawatt but they are named differently.
Is the naming of these outputs important for the HA integration?

No it is not important. As long as you know which is the import and which is the export.

1 Like

Thanks @tom_l . I have set it up and I see all my sensors/inputs (W and Wh) in the integration. but I am not seeing the outputs I have set up in IotaWatt.
Do I need to set them up in the integrator somewhere?
Screenshots of satus and outputs in Iotawatt attached.

Digging around I have found them listed under developer tools.
I found them as a result of finding this issue on the git page
[[IoTWatt] Output sensors aren’t showing up under IotaWatt filter · Issue #55489 · home-assistant/core (github.com)]([IoTWatt] Output sensors aren't showing up under IotaWatt filter · Issue #55489 · home-assistant/core · GitHub)
It’s an old issue but doesn’t seem to have a fix. It seems it’s a feature :wink:
Not ideal IMHO. As a beginner in HA that is totally confusing. and not user friendly at all.

Yeah that’s not ideal. It just requires someone to fix the integration to add unique ids to the outputs. It seems the code owner for the iotawatt integration has not been active for a couple of years though. So this will require someone from the core team to look at it. I have opened a feature request here:

Feel free to vote for it if you want it implemented.

1 Like

Thanks @tom_l . I have voted for it. Fingers crossed it gets picked up :crossed_fingers:

1 Like

Hello,

I have 3 phase European power input. While the solar is generating to the grid, one phase might be taking power due to not event load on the phases, but that doesn’t represent in the graph:

Input_1 to 3 is the main circuit breaker CT’s
Input_4 to 6 is solar circuit breaker CT’s
the rest are other loads.

I done the output fonctions of IotaWatt a bit different then in the documentation to add up only value that are positive when taking power from grid. Add up only negative when generating to grid:
MainsConsumption Watts = ((Input_1 max 0) + (Input_2 max 0) + (Input_3 max 0))
MainsExport Watts = ((Input_1 min 0) + (Input_2 min 0) + (Input_3 min 0)) abs
SolarGen Watts = ((Input_4 + Input_5 + Input_6) min 0) abs

The second problem is that while it shows that solar is providing 200W per phase to grid and export to grid is around 100W the dashboard shows that 100% o solar is self consumed.

Maybe I’m missing something? Please advise

Apologies, it’s been a while since I looked at this. The issue raised on GitHub looks to have been closed with no action having been taken.
Do I take it we have to live with it as it is? Not great as it makes life difficult to say the least.