Growatt Shine WiLan X2 integrated into Home Assistant - Easy Solution

There is additional register (“vpp_allow_ac_charging” register (30410)) that you need to enable to allow charging from the grid.
nholmgaard has put in a pull request to the solax integration to add this register. Hopefully it will be added soon.
I have tested, and it looks good.

I now enable both VPP Status (30100) and AC charging (30410) permanently (as these are stored and not effected by inverter restarts).
I then control battery charging using
VPP Time, in minutes (not stored) 30408
VPP power, positive or negative (not stored) 30409
VPP Remote control (not stored) 30407
These registers are not stored and does not wear out the EEPROM

1 Like

Thanks @brad5505 - that’s really good to know. Do you know if the new register will work with Growatt inverters as well - i have the same desire to be able to charge the batteries from the grid.

That’s really, good, much better than the faffing around that I was doing :slight_smile:
I’ll find the pull request and put it into my local copy for testing.

Yes, this is only for growatt inverters.

This is the pull request.

This is the code I added to my plugin_growatt.py

GrowattModbusSelectEntityDescription(
name=“VPP Allow AC charging”,
key=“vpp_allow_ac_charging”,
register=30410,
option_dict={
0: “Disabled”,
1: “Enabled”,
},
allowedtypes=GEN3 | GEN4,
entity_category=EntityCategory.CONFIG,
entity_registry_enabled_default=True,
icon=“mdi:dip-switch”,
),
GrowattModbusSensorEntityDescription(
key=“vpp_allow_ac_charging”,
register=30410,
scale={
0: “Disabled”,
1: “Enabled”,
},
allowedtypes=GEN3 | GEN4,
internal=True,
),

Forgot to say thanks Brad, got the VPP with the charge from grid running and very happy, works perfectly and much easier than what I was trying to do.

Yes - likewise using VPP with my SPH3600 - all working nicely. Thanks very much. If only the car charger integration was as reliable .....

Hi,
I'm a complete noob with this but installing SolaX Inverter Modbus was not the difficult part.
Adding my Growatt MIN 5000TL-XH inverter to it was also easy but then.....
What part of all the entities do I need to setup the Home Assistant energy dashboard to show the daily production for my solar panels (two separate string).
How do I find the correct one?

I use these