GoSolis is an access library and a set of tools for the Solis range of inverters by Ginlong. It may work with other inverters from the same company.
The main purpose of these tools is to query the status of the inverter. This can either be done as a "one off" or using a daemon that continuously polls the inverter and sends status messages to an MQTT message queue.
WARNING: This library can be used to change the configuration of the inverter. Configuration changes have not been tested on a real inverter and could potentially be very dangerous.
The control interface on the inverter uses an RS485 connection at 9600 baud. RS485 to USB adaptors are readily available, but a custom cable is needed to interface to the inverter.
The physical connector seems to be a custom 4-pin male connector with the following pinout:
--------- / \ / 1 4 \ | | \ 2 3 / \ _ / ---/ \---
- +5V
- GND
- DATA
- DATA
The easiest way to get hold of a working connector is to re-purpose an official WiFi interface. The PCB inside these interfaces is connected to the custom connector using a standard JST XH 4-pin connector. The PCB has a male connector and the custom connector is wired to a female connector. The pinout is as follows:
- GND
- RS485: A
- RS485: B
- +5V
WARNING: The PCB in the WiFi interface uses has an incredibly insecure software stack. Do NOT connect it to a network you care about.
There is a separate repository with OpenWRT source packages: https://github.com/andysan/gosolis-feed