wimb0/home-assistant-saj-r5-modbus

Improve Energy dashboard compatability

Closed this issue · 6 comments

wimb0 commented

I've been playing with the new Energy dashboard in Home Assistant 2021.8 and integration v1.5.0.
Apparently for the Solar production sensor to work, a new sensor which outputs kWh instead of W is needed.
It's not possible to select a live production value at the moment.
Will add a new sensor to fix this. Other ideas welcome!

image

The Total power generation works for me. It's in kWh

Is the sensor active? Looks like it's disabled in your screenshot.

IMG_20210808_130012
Here it's correctly selectable

Named the integration zonneplan so the selected one is the one from the SAJ modbus

wimb0 commented

Yes, the sensor is active, but my Energy dashboard is weird.
image

The Total power generation is the total of what the Inverter has generated over its lifetime.
Maybe I'm wrong, but isn't the Energy dashboard based on live usage and production values?

My idea was to have high/low tariff values (From DSMR Reader via MQTT) as usage and Active power of inverter total output as production.

Here the info you should see in the developers tool

Screenshot_2021-08-08-13-09-53-120_com android chrome

wimb0 commented

I guess I misunderstood how the Energy dashboard works, documentation is not really helpful.
I think you also have the meter totals as usage values?

wimb0 commented

image

Think I've got it working. Thanks @fsaris for the replies, they sent me in the right way.

I'll close this issue, as does not seem to be needed.

(The value for Solar seems to be incorrect in the image, but the totals are correct. Must be an error in the Energy dashboard)