Iāve managed to get this config up, however the on/off sensors are not working for me either, has anyone find a solution for this?
Iāve also a question regarding to charge the battery. I want to specify a certain time to charge the battery from the grid (depending on price of electricity), how do I force the system via HA to charge the battery from the grid?
Hey @mkai,
The SH10RT has a DO relay that is a part of its load control, did you see it in your modbus scan? as I canāt see it anywhere. I also donāt seem to be able to scan my inverter with any modbus tool but your integration works and gets data so it must be working.
Hello, Thank you for your work. I have an SH10RT. I can access it via LAN-Interface as āUserā and as āAdminā. But the integration isānt delivering any value.
I have triple-checked the ip-address, modbus-port and slave-settings.
There was an issue on github for that. Unfortunately the thread starter did not share his processings. Feel free to re-open it
@ [CodeRed]
Best to check the github page (especially the issues) for that.
I would start updating to the current firmware. Next step is to ensure, that you are using the SH10.RTās native LAN port, NOT the LAN port of the dongle.
Then use some modbus TCP tool (search: modbus tool, windows / linux) to check the address and slave port.
@mkai Thank you for the great work. Importing data from inverter (SH10RTV112) worked like a charme.
Saved me a lot of time and work
Only thing I would suggest for future users: Maybe you could add a hint to use the local LAN Port. Not the WiNet port. Also with current firmware the WiNet port has not all ModbusTCP capabilities. Some registers arenāt available. Even some are erroneous. E.g. grid frequency has divisor 0.01 and not 0.1 as documented.
Have you tried a shorter scanning interval fore some registers. Are there some experiences?
Why did you define the template sensors to be positive or negative depending of inverter state (e.g. sg_battery_charging_power). For this sensor comment tells it will be 0 when discharging. Maybe I am missing something?
Have you tried a shorter scanning interval fore some registers. Are there some experiences?
currently I hard-coded the modbus scan_intervals:
10s for power / voltage and current values
60s for battery parameters, which can be set via GUI
600s for values that donāt change frequently, e.g. serial number (should in fact never change), but also energy values (total daily generation)
the values can be decreased, but I donāt see a good benefit to poll the power values faster than every 10seconds.
Do you see some benefits for - lets say 5s?
Why did you define the template sensors to be positive or negative depending of inverter state (e.g. sg_battery_charging_power). For this sensor comment tells it will be 0 when discharging. Maybe I am missing something?
I recently changed the behaviours for these values:
āBattery Charging Powerā # positive value if charging else zero
āBattery Discharging Powerā # positive value if discharging else zero
they could be negative before, but that confused me sometimes
I have to admit, that several decisions are more or less random. But I am very open for disussions and change requests !
I think the most intervals are perfect. Maybe I will try if I would like shorter intervals for power sensors. Maybe its because everything is new. And so I look very often in my dashboard.
I have seen this also for my backup power sensors. They also sometimes have negative values. Likely a random measurement error when no load is applied.
My questions are only for understanding and to get some background.
Your work is a perfect point to start with integration of Sungrow inverters into HA. The idea to create a package is a very good idea. And easy to use.
I think own adjustments and optimizations are left to each individually.
Hi and thanks for this nice tool. I really like it and can skip solaranzeige and such tools now. In combination with water and gasmeter I have a very nice summary over consumption and gain. Two things maybe: I own a SH8.0RT which is recognized by solaranzeige using the very same id code as in your yaml. However, I see just āunknown device codeā. Any idea, what is going wrong? I also use eth connection on the dedicated LAN port and everything else is working fine. And one other thing might be easily achievable: I would like to see power consumption for all 3 phases as stacked plot. would that be an improvement also for other users? Thanks for considering and also for the nice work so far.
Thanks for the update. Device code works now as expected, however, I have an issue with exported power now. This is stated as not available. Is this entity deprecated now or is something wrong with my configuration?