Skip to content

Server for decoding and persisting data from a Solis PV inverter

License

Notifications You must be signed in to change notification settings

planetmarshall/solis-service

Repository files navigation

Solis / Ginlong Inverter Service

Build and Run

This Python package implements a service that interprets messages from a Solis PV Inverter monitoring device and can persist them to various destinations

Here's it being used to display a Grafana dashboard on my Raspberry Pi

Grafana Dashboard

Configuration

See the example file in conf.

Persistence Clients

Currently InfluxDb is supported. Persistence clients are encapsulated such that adding new ones should be straightforward. See the configuration file for details.

Installing as a service

To install as a service, I use supervisor.

sudo pip install . supervisor
adduser solis
sudo mkdir -p /var/log/solis
sudo chown -R solis:solis /var/log/solis

Create a supervisord.conf, if you have not already done so and edit. See the example in the conf folder.

Run supervisor

sudo supervisord -c conf/supervisord.conf
supervisorctl -c conf/supervisord.conf status
supervisorctl -c conf/supervisord.conf tail solis_service

Reverse engineering the data protocol

For some details on reverse engineering the protocol, See my blog

About

Server for decoding and persisting data from a Solis PV inverter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages