A small package to work with Solis Cloud API
Project description
SolisCloud
A small library to work with the Solis Cloud API for some simple data gathering and setting.
Prerequisites
Usage of the API requires an active account on https://www.soliscloud.com and also requires an API key and secret, to be obtained via SolisCloud.
- Submit a service ticket and wait till it is resolved.
- Go to https://www.soliscloud.com/#/apiManage.
- Activate API management and agree with the usage conditions.
- After activation, click on view key tot get a pop-up window asking for the verification code.
- First click on "Verification code" after which you get an image with 2 puzzle pieces, which you need to overlap each other using the slider below.
- After that, you will receive an email with the verification code you need to enter (within 60 seconds).
- Once confirmed, you get the:
- KEY_ID
- KEY_SECRET
- API URL
Python use
Instantiation and simple use
from soliscloud import SolisCloud
s = SolisCloud(key_id="KEY_ID", key_secret="KEY_SECRET")
status, stations = s.list_stations()
first_station = stations[0]
first_station_inverters = first_station.list_inverters()
first_station_first_inverter = first_station_inverters[0]
first_station_first_inverter_schedules first_station_first_inverter.get_charge_discharge_schedules()
Charging schedules
For every inverter, there are three charging schedules.
One, two and three. Each one represents a charge and a discharge schedule.
Representation of each schedule consists of a charge start / end and current.
Just in case the schedule needs to be set on an individual inverter, the method set_charge_discharge_schedules is available on the inverter.
If you want to set the schedule at the SolisCloud level, this can be carried
out using the method set_inverter_charge_discharge_schedule.
Managing schedules can be done using individual schedules or using the same schedule across all inverters.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file soliscloud-1.1.9.tar.gz.
File metadata
- Download URL: soliscloud-1.1.9.tar.gz
- Upload date:
- Size: 25.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd58da45d184aa15ff1dce4cd674b34ff88490a296269dc39763efd2a62961ae
|
|
| MD5 |
0e6b3061d958b5defec7b7b9a2204bdd
|
|
| BLAKE2b-256 |
2d5f0b61e5efe11fe0fda0142d362020e98b2114014cdf1a4cfd89e4320138c7
|
File details
Details for the file soliscloud-1.1.9-py3-none-any.whl.
File metadata
- Download URL: soliscloud-1.1.9-py3-none-any.whl
- Upload date:
- Size: 24.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c6b9e926adda93da844020b9bcf1b1f34c36ba9d1dbfa6e8d4b22140e98d0cb
|
|
| MD5 |
517cae06eb27e4d694720860e92f403d
|
|
| BLAKE2b-256 |
c6147c4e5909356bc3318bcb44cba105d683e1bddcc7e6d6b5814d8cd278d4a7
|