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
345 stars 92 forks source link

Input via slider "battery forced charge_discharge power" gets resettet immediately to zero #115

Open Matze-aaa opened 1 year ago

Matze-aaa commented 1 year ago

I have inserted all patch-lines in the modbus_sungrow.yaml. Now, when I set a value via slider "forced charging/discharging power", it will be resetted immediately to zero. When I remove line 2572-2587, everything works fine.

mkaiser commented 1 year ago

sorry, I completely missed this issue

is this still an issue in the current versions? Made quiet a few changes the last month...

Matze-aaa commented 1 year ago

Hello, yes, the issue is still here... have implemented all of the changes deactivating the automation.sungrow_inverter_update_battery_forced_charge_discharge_power_input_slider_update seems to solve the problem

mkaiser commented 1 year ago

What inverter model are you using?

Matze-aaa commented 1 year ago

Sh10RT V11

mkaiser commented 1 year ago

Some of the last commits should fix this issue. Can you update and double-check?

.... but maybe wait one or two weeks with upgrading. There are a lot of issues ongoing with pymodbus <> HA <> Sungrow :)