Skip to content

A Python-based implementation that utilizes Solis Cloud Python API library, Docker, InfluxDB, and Grafana to work with Solis Cloud data. The Python code runs inside a Docker container and periodically requests data from the Solis Cloud API, stores it in InfluxDB database, and displays it using Grafana for visualization.

Notifications You must be signed in to change notification settings

manishholla/soliscloud_api_data_store_and_visualize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SolisCloud API Data Graphing Panel

grafana_panel

How?

Python implementation of SolisCloud data using hultenvp\soliscloud_api library, Docker container, InfluxDB and Grafana. The Python code running in a Docker container will periodically request data from the Solis Cloud using the API. This code will execute within a specific time frame, for example from 07:00 to 18:00 IST, and pause. It will resume the same process again the next day.

Why?

I needed to gather and save my solar system data so I could track the power generation, check performance and monitor the drop in efficiency over time. With this approach, I am able to accomplish that.

What to Expect

The data received from the Solis Cloud API contains a lot of information like current power output, inverter status, alarm status, IGBT temperature, daily power generation and on. To extract only the essential data that I need, I have parsed the returned data into JSON and kept only the necessary parameters.

You may include any parameters that is supported by this API. For more: SolisCloud API Docs

Technical Details

Solar System

I have a Solis on-grid (grid-tie) 3kW 1Phase inverter installed, along with 5 panels of Waaree 540W mono-perc monocrystalline solar panels, adding up to a total of 2.7kW of solar capacity. There is no CT or zero-export device attached to it. I have a bi-directional meter installed by my DISCOM and no RS485 communication feature in that.

Solis inverter datasheet (GR1P3K-M): Solis Inverter Datasheet

Solar panel datasheet (WSMD540): Waaree Panel Datasheet

Inverter Data Logging

The solar inverter is connected to my home Wi-Fi network using the Solis Datalogger that came bundled with the package. The datalogger communicates with the inverter through the RS485 protocol and uploads the data to Alibaba Cloud at an interval of 300 seconds (5 minutes).

API Data Store & Visualize

For logging and storing the data, I have an old PC connected to internet running Proxmox with multiple containers, one running Docker Engine CE.

Procedure

Refer Procedure

Issues

No known issues. Create one

Credits

hultenvp for the python implementation of SolisCloud API.

Docker Community

Portainer Community

Grafana Community

InfluxDB Community

Python Community

About

A Python-based implementation that utilizes Solis Cloud Python API library, Docker, InfluxDB, and Grafana to work with Solis Cloud data. The Python code runs inside a Docker container and periodically requests data from the Solis Cloud API, stores it in InfluxDB database, and displays it using Grafana for visualization.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published