Hi, not sure if this is really the right place for this, so please move it if it isn’t.
This isn’t so much a cool project or addon, rather using things that exist to make a Growatt Inverter work. I searched for hours before finding this, so thought it would be useful to add a post.
I have now had 3 growatt invertors and got them all to work with Home Assistant, mainly using Grott which has been an excellent HACS addon for me. But my latest upgrade was an SPL-5000 TL HUB which comes with the newer Shine-WiLan-x2 dongle the absolutely doesn’t work with Grott as the new Shine X series use a different comms protocol with the Growatt Servers and Grott doesn’t understand it, it doesn’t even use the same port, so no logs or anything show up in Grott when you change the monitoring IP in the Growatt server website application.
I looked around and came across things for the Shine-WiLan-X that cover things like re-flashing the module, adding ESP devices and messing around with Modbus to IP configurations, hardware alterations etc. Too messy for me.
Then I came across a white paper from Growatt showing that the Shine-WiLan-X2 actually contains a ModBus to TCP interpreter, and it works out of the box. Whilst trying to get this to work with the inbuilt ModBus for Home Assistant (which does work BTW) I came across the SolaX Inverter Modbus HACS plugin. This is for SolaX inverters, but also handily supports Growatt too. This leads to a super simple solution.
Installation:
Find the IP address of your Shine-WiLan-X2 on the local network, you will probably need to look at the DHCP on your router for the MAC, mine started f0:24:f9 - Its host name was the serial of the dongle, would look something like VWQ0ABC0JK. I would HIGHLY recommend you then set a reservation for it do it doesn’t change in the future. You could also set the dongle to a static IP, but that’s a bit of a faff to be honest with the X2, but there are videos online if you want to do this.
In HACS search for the “SolaX Inverter Modbus” and install it
Add the integration and add the invertor, make sure you select “Select Inverter Type” as Growatt, Interface as “TCP / Ethernet”, give it a sensible name.
On the next screen put in the IP address of the Shine-WiLAN-X2 that you got earlier. leave the port as 502 and the default “Modbus TCP”
Click submit
That’s it, you then get a full feed of all the Growatt data, updated every 15 seconds over the local network without needing the cloud at all. You also get to control many aspects of the invertor including altering scheduling, operating mode etc etc, just as sliders and buttons.
Hope this helps other people