marcelblijleven / goodwe

Get inverter data from a Goodwe XS inverter
MIT License
119 stars 49 forks source link

Immediate charge to Battery is missing #37

Open XanderF opened 1 year ago

XanderF commented 1 year ago

For GW3600S-BP and GW5000S-BP models (probably other models as well) it can be useful to charge the battery on command.

The PV master app contains the option 'Immediate charge to Battery' which is used to charge the battery immediately. GoodWe's description is 'Set for battery fast charging. It will only take effect once'. There is also a related option to stop charging: 'Charge cut-off SOC'. The battery charging will stop once the battery SOC reaches the Charge cut-off SOC.

It would be very helpful if this/these option(s) would be accessible from Home Assistant. It would allow people to charge the battery when there's no sun, but strong winds, thus a low hourly energy price.

antonclaeys commented 1 year ago

Have you found out something about this in the mean time? I'm very interested in this to write something for trading on the energy market with these inverters and batteries

XanderF commented 1 year ago

A couple of days ago I read that the experimental version contains the 'fast charging' option. However it doesn't get mentioned in the readme anymore unfortunately. See https://github.com/mletenay/home-assistant-goodwe-inverter

The battery-only inverter I have, GW3600S-BP, is not very well supported yet by this integration. For example, DOD is not doing anything when changed from HA. And the state in HA ins't updated if it is changed in the PV Master app.

I'm soon going to add the requests and responses of my inverter when changing the 'fast charge' option. Maybe that helps someone in adding this feature to this project.

mletenay commented 1 year ago

Captured requests/responses would help a lot, I'll try to figure out the rest.

XanderF commented 1 year ago

There's some news on this issue, but I'm stuck. Not sure how to proceed. Here's what I did.

So now I'm confused. My SBP inverter can communicate using Modbus as well? I did a quick capture using SolarGo and it communicates with the AA55 protocol. I want to figure out how I can communicate over wifi using the Modbus protocol. Capture the data and post it here. Is that the way to go, or I'm I on the wrong track? Otherwise I'll just post the AA55 communication.

mletenay commented 1 year ago

Can we move the protocol discussion to the discord (https://discord.gg/TaXyWXT) ? It's more convenient there .. (And regarding the modbus - it seems Goodwe recently enhanced the older generation inverters with modbus support, so they now talk both aa55 and modbus protocols.)

iroger commented 8 months ago

Hi chiming in here, just installed a GW6000-ES-20 ("ESN" version = ES Gen 2) it looks like they have lower ARM version numbering compared to the other units. I'm running below versions after updating in Solar Go app: Identified inverter

With this ARM version I DO have:

However in the goodwe/et.py code I see some hard checks on ARM >19 and >22 which disables these functions. It looks like these are supported in my ARM version 8. (See attached)

IMG_4477 IMG_4478 IMG_4479