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
310 stars 80 forks source link

Total DC Power wrong #98

Closed svenschedlbauer closed 1 year ago

svenschedlbauer commented 1 year ago

Hello, There seems to be something wrong with my Total DC Power. Does anybody know what could be wrong and how can I solve it? Normally it should be now "0". image Thanks, Sven

mkaiser commented 1 year ago

wow, this is interesting :)

can you make a screenshot of the "Total DC Power" history?

svenschedlbauer commented 1 year ago

Yes, of course. See following Screenshot. image

mkaiser commented 1 year ago

If all other sensor values are in reasonable ranges, I suppose this is a sungrow firmware bug.

Did you already restart the inverter?

svenschedlbauer commented 1 year ago

The other values seems to be ok. I have switched the Sungrow 6 now off and after 20 seconds on. But the value is still at 158.728.192 W +/-.

mkaiser commented 1 year ago

How is the value now, when the sun is shining?

svenschedlbauer commented 1 year ago

It is still the same... :-( Screenshot_20230507_125114_Home Assistant

Louisbertelsmann commented 1 year ago

Something like that also happened to me, just not with Total DC Power, but with the yearly pv generation. I checked it with qmodmaster and it isn't a home assistant bug. Sungrow is known for their pretty bad implementation of MODBUS.

svenschedlbauer commented 1 year ago

But how have you solved the problem? With which sensors I can make the helper to get the right value?

Louisbertelsmann commented 1 year ago

I unfortunately wasn't able to solve it. I'm probably just going to live with it. In your case, it's pretty bad though. As a quick workaround, you could look at how much it jumped and then create a helper, that subtracts that value from the entity. It seems to have spiked a bit, so you are getting the right data, just with an offset.

svenschedlbauer commented 1 year ago

Problem is, that iDC Power shows also different very high values in the night, when there is no sun. :-(

Louisbertelsmann commented 1 year ago

Then you can probably just remove the value shown at night.

svenschedlbauer commented 1 year ago

Yes, but unfortunately this value also differs at night.

Louisbertelsmann commented 1 year ago

Hmmm... That's pretty bad. Maybe contact sungrow. Perhaps they have a solution or will forward this problem to the software developers.

elektrinis commented 1 year ago

Let us know if you manage to get a response, and from who. They have started to completely ignore me, even after having potential hardware problem with battery.

svenschedlbauer commented 1 year ago

I will inform you, when I "hopefully" get an Feedback from them.

svenschedlbauer commented 1 year ago

Is following correct?

image

Louisbertelsmann commented 1 year ago

That's correct.

dylan09 commented 1 year ago

Which port did you use to connect to your inverter? WiNet S or direct LAN port?

svenschedlbauer commented 1 year ago

Direct LAN Port

svenschedlbauer commented 1 year ago

Sorry Guys, It seems that I found now the failure in my system. I have used the wrong IP address. I have changed it and now the value looks correct. I still don't from where the other address is. May from the WiFi dongle of the Sungrow. But thank you all for your try to help.