marcelblijleven / goodwe

Get inverter data from a Goodwe XS inverter
MIT License
125 stars 52 forks source link

How to disable battery charging? #79

Closed lubond32 closed 5 months ago

lubond32 commented 6 months ago

Great work guys! I have GW10KN-ET + Pylontech Force H2 battery pack. Library is extremely useful for me, thank you very much!

Let me a question: Is it possible to temporarily limit or completely disable battery charging from PV panels?

I am following spot prices and my idea is:

  1. To prioritize supply to the network before recharging the battery (especially in the morning) if a sunny day is expected and wholesale prices will decrease during the day.
  2. To re-enable battery charging when spot prices fall below an acceptable value or if battery capacity is critical.

Does the library support any way to achieve this?

mletenay commented 5 months ago

You should be able to achieve that by limiting 'battery_charge_current'