Solis Cloud control battery

I wrote a bash script, which listens on MQTT (and uses HA’s autodiscovery) to control the following on a SolisCloud connected solar Inverter:

  • OverdischargeSoc from which battery percentage to start using the battery
  • ForcechargeSo if the battery drops to this %, charge from grid
  • MaxGridPower the power in W to maximum charging

You need to request write API access to SolisCloud. I use this in combination with hultenvp/solis-sensor.

The code can be found: GitHub - nathan-gs/solis-control: A bash script to control the Solis Inverter via the Solis Cloud API and MQTT.