GitXplorerGitXplorer
n

solis-control

public
1 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
27ff77acef5b14a37c674afca7b286b3fab6a71e

subscribe...

nnathan-gs committed 2 months ago
Unverified
92644def5a2b1c8d53d95da4b5320c6c51cfe93c

Battery_MaxGridPower implementation

nnathan-gs committed 2 months ago
Unverified
bd1edd09aa77ee11cbcf2bef089451401c51abbb

Fix unassigned value

nnathan-gs committed 3 months ago
Unverified
5bfd58c378c64af0ded4a3f6e2e72fb961a657ce

Better handling of maxForcecharge

nnathan-gs committed 4 months ago
Unverified
c1753c105e6187be7f3e76c5ccf06a4375658046

retain flag

nnathan-gs committed 4 months ago
Unverified
b46b42b563c6858d2b3866f7756a1ba813ffe7ea

Solis Control

nnathan-gs committed 4 months ago

README

The README file for this repository.

Solis Control

A bash script to control the Solis Inverter via the Solis Cloud API and MQTT.

[!CAUTION] This script is not officially supported by Solis and may void your warranty. You are writing to the Inverter, which might be very dangerous, use at your own risk. I am not responsible for any damage, loss of live, fire, etc or loss of warranty.

Usage

./solis-control.sh --help

Functionality

This bash script connects to MQTT (and can also publish Home Assistant entities to the discovery topic), where it awaits inputs, on reaction of an input it will write to the SolisCloud API. You need to have enabled SolisCloud API write access through Solis support.

Currently it's supports following topics/functionality:

  • $MqttPrefix"battery/OverdischargeSoc/set
  • $MqttPrefix"battery/ForcechargeSoc/set
  • $MqttPrefix"selfuse/ChargeAndDischarge/set
  • $MqttPrefix"selfuse/AllowGridCharging/set

Once it receives info on a set topic, it calls the SolisCloud API to write, and reads the written value from the SolisCloud api before writing it back to the MQTT topic.