Growatt Inverter Mode Switch

Hello guys. Great job on the progress here. Really pleased to see contributions.

I use SA day to day for my control and rarely look at the shine app any more. It’s fantastic. Personally I don’t have too many automations to respond to dynamic pricing, so I keep it simple in SA with an overnight window setting.

The only thing I have in HA is to set battery discharge rate to zero when it detects my car is charging outside the off-peak window, by default this will pull from the grid as needed.

hmm.
I have issue with SA - it does not connect to inverter (via RS485).
I am not sure where my culprit is… is it USB dongle or what.

Anyone willing to help to to troubleshoot the SPH 6000\ with SA?

Have you enabled the RS485 setting?
This thread might be useful…
Solar Assistant with Growatt SPH6000 | DIY Solar Power Forum (diysolarforum.com)

yes. it is enabled

started my thread:

looks like USB adapter I have which only D+ and D- does not work and needs ground :confused:

I’ve got SPH6000 and have all the SA stuff ready, including the adapter which has ground too. I’m going to try and get it running over the weekend.

Ah… that’s unfortunate.
The SA documentation threw me a few times around cabling.
The image below is what I ended up using. My adapter pinout said D+ was orange, D- is yellow.

hmmm

well I cut the existing RJ45 cable (I had spare) and tried to pin of the option… unless I did something wrong.

for me maybe one procedural question is - do you actually clean tips of the cat 6 wire of insulation (separate coloured wires) or not…

I’ve got an RJ45 breakout board, so I can experiment until I get it working then make up a proper cable.

wow, let me know your result. :confused:
by the way - any chance to post picture of bottom of your inverter with port labeling?

mine is different from what SA posts in their instructions :confused:

P.S @Snux when you connect wires to USB adapter - do you clean end of cable from the isolation or not?

@snu-snu-snu - for ref, I used https://www.amazon.co.uk/dp/B07JVG6H2K and crimped yellow to Pin 4 and orange to Pin 5. I connected the cable to my inverter’s (Growatt SPH-6000TL) 485-2 port. For a while I was testing a simple COM connection through PuTTy, but that didn’t work. It needs SA to poll data. Once I had SA on the other side of the connection it worked first time. I did try to crimp also the black/ground wire to Pin 2, but that wasn’t necessary (or even prevented the connection).

So it worked first time. Used the RS482-2 port on the bottom of the inverter, connected pins 4 and 5 like in the photo of the cable earlier. No other wire. Only pain was getting a wifi signal in the attic where the inverter is. @snu-snu-snu - yes, you need to remove the plastic sleeve from the wires, so you are connecting metal/metal on the USB adapter thing.

I can see the various time slots for the inverter charge options, so looks like I’m in control. I also got the connection to Home Assistant working, now I just need to spend some time updating some dashboards

1 Like

When it comes to HA dashboards with live data, one thing I found really useful (for others in the house to monitor from) was to display the instantaneous green power / inverter capacity as a percentage of what’s available. With the SPH + batteries, this moves around a lot during the day and was a challenge to communicate to the family.

I think I set up a calculated sensor for max output, which in my case reduced to 3kW (batteries alone) to 5kW when the sun was out (full inverter capacity). This was applied to the max value of a bar chart. Then my instantaneous usage is calculated as a percentage of this, I dont think I factored in grid usage, hence why my numbers dont align. It always gives a feel for what’s left (I dropped a cheeky pun in my dashboard too… wife still hasnt noticed)

I joined the Solar Assistant club. Raspberry Zero 2 W with this USB: USB interface converter | Elektronik Lavpris Aps
(local shop for me, can be found for $5 online, search for SBC-TTL-RS485)

So far it runs great and wifi range for the Zero 2 W is about the same as the Shine-X stick.

Solar Assistant does not support Power Management for my SPH-10000. Will make all the power management in HA anyway, so not a big issue. But would be nice if it’s supported in a later version.

update:

yup, changed the USB adapter and all works as intended… running on Raspberry pi Zero 2 W as well, feeding it from inverter’s USB. all good so far.




last remaining bit - to fix the MQTT in the HA and have all systems running as intended… all good…

apart from the situation that for whatever reason my batteries stopped working. but this is with installer now.

it actually supports in Beta version I think.

Yes, I just found out that SPH 3 Phase is now fully supported.
There’s a problem with “CT mode” unavailable in Solar Assistant. But support is very helpful and working on it. Seems to be a problem specific dor SPH inverters.

Must say that Solar Assistant is so much better than the Growatt API. I’ll not be looking back :slight_smile:

i just wonder what is the est way to set up the MQTT - there are two options if I understand.

one is bridge mode… is it better, or what?

My strategy is to have one ‘master’ MQTT service, next to my HA (both on docker), and connect all relevant services to it (Zigbee2mqtt, Glow, Grott, Home Assistant, Espaltherma, Espresense, GivTCP). If the other system brings its own MQTT (Solar Assistant, Emon), then I ‘bridge’ it to the master. Seems logical to me this way.

Since integration is not working anymore (sadly) - @KasperHolchKragelund maybe you could also provide noob friendly guide on how to remove this integration?

My integration is working again! - i have not done anything since growatt changed the system… but now i can apparently read and save settings.