mkaiser / Sungrow-SHx-Inverter-Modbus-Home-Assistant

Sungrow SH Integration for Home Assistant for SH3K6, SH4K6, SH5K-20, SH5K-V13, SH3K6-30, SH4K6-30, SH5K-30, SH3.RS, SH3.6RS, SH4.0RS, SH5.0RS, SH6.0RS, SH5.0RT, SH6.0RT, SH8.0RT, SH10RT, SH5.0RT-20, SH6.0RT-20, SH8.0RT-20, SH10RT-20, SH5.0RT-V112, SH6.0RT-V112, SH8.0RT-V112, SH10RT-V112, SH5.0RT-V122, SH6.0RT-V122, SH8.0RT-V122, SH10RT-V122, SH4.6R
336 stars 88 forks source link

How to map the sensors to energy dashboard #3

Closed johschmitz closed 2 years ago

johschmitz commented 2 years ago

Is there a way to map the sensors to the energy dashboard like with this add-on: https://github.com/TenySmart/ModbusTCP2MQTT Then it could look like this: https://github.com/TenySmart/ModbusTCP2MQTT/blob/main/images/diagram.gif

I find your way of implementing it is easier but I just couldn't get it to work with the nice dashboard..

mkaiser commented 2 years ago

totally missed this Issue... :/

do you mean the HA integrated Energy Dashboard?

Bild_2022-01-07_092630

for this you need to set the highlighted values in "Configuration" --> "Energy" Bild_2022-01-07_092725

johschmitz commented 2 years ago

Okay but how to display the current PV generation in W instead of the total?

mkaiser commented 2 years ago

It seems that in Home Assistant the "Energy" dashboard is only meant to be showing the Energy (including the energy flow) in kWh.

For me, I summarized the momentary / current electrical power (in W) in an extra dashboard, to know if I should start heating / washing / whatever :)

johschmitz commented 2 years ago

Then could you explain how to do that?

mkaiser commented 2 years ago

Use the dashboard config file I provided in #2

When this works, I will add that to the README

johschmitz commented 2 years ago

So which sensor in there is the current PV production in W? I couldn't find a good documentation.

mkaiser commented 2 years ago

look for "total_dc_power" Bild_2022-01-07_165405

johschmitz commented 2 years ago

Could you add the screenshot of the energy configuration with the different sensors also to the readme? For us everything works now. I hope with the extra information about the dashboard setup and the energy setup it will also become easier for other people.

mkaiser commented 2 years ago

Updated the readme. Thanks!