Amazing, thank you! So with that running from the battery to the power feed of the pi it should all just sit happily outside with the battery/inverter in a waterproof housing then.
Finally (hopefully!), is there any potential warranty issue with growatt using solar assistant/raspberry pi...