SolisCloud API wrapper for python
Project description
soliscloud-api
Python implementation for the SolisCloud API
Supports all endpoints specified in SolisCloud API spec 2.0 for reading Solis PV monitoring data from the SolisCloud service.
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 API ID, secret and API URL
Supported API calls
NOTE: The spec uses the terms Plant, Station and Power Station interchangeably. In this document we will use plant.
| Call | Description |
|---|---|
| /v1/api/inverterList | Obtain list of all inverters under account or a specific plant. |
| /v1/api/inverterDetail | Obtain details for a single inverter. |
| /v1/api/inverterDetailList | Obtain list of details of all inverters under account. |
| /v1/api/inverterDay | Obtain real-time data of a single inverter on the specified day. |
| /v1/api/inverterMonth | Obtain daily data of a single inverter for the specified month. |
| /v1/api/inverterYear | Obtain monthly data of a single inverter for the specified year. |
| /v1/api/inverterAll | Obtain cumulative data of a single inverter for the current year. |
| /v1/api/inverter/shelfTime :new: | Warranty data of a single inverter. |
| /v1/api/alarmList | Obtain device alarm list of all or specific inverter under account. |
| /v1/api/collectorList | Obtain list of all collectors under account or for a specific plant. |
| /v1/api/collectorDetail | Obtain details for a single collector. |
| /v1/api/collector/day :new: | Obtain daily data for a single collector. |
| /v1/api/epmList | Obtain list of all EPM's under account or for a specific plant. |
| /v1/api/epmDetail | Obtain details for a single EPM. |
| /v1/api/epm/day | Obtain real-time data of a single EPM on the specified day. |
| /v1/api/epm/month | Obtain daily data of a single EPM for the specified month. |
| /v1/api/epm/year | Obtain monthly data of a single EPM for the specified year. |
| /v1/api/epm/all | Obtain cumulative data of a single EPM for the current year. |
| /v1/api/weatherList :new: | Obtain list of all meteorological instruments under account or for a specific plant. |
| /v1/api/weatherDetail :new: | Obtain details for a single meteorological instrument. |
| /v1/api/userStationList | Obtain list of all plants under account. |
| /v1/api/stationDetail | Obtain details for a single plant. |
| /v1/api/stationDetailList | Obtain details for a all plants under account. |
| /v1/api/stationDayEnergyList | Obtain real-time data of a single or all plants on the specified day. |
| /v1/api/stationMonthEnergyList | Obtain daily data of a single or all plants for the specified month. |
| /v1/api/stationYearEnergyList | Obtain monthly data of a single or all plants for the specified year. |
| /v1/api/stationDay | Obtain real-time data of a single plant on the specified day. |
| /v1/api/stationMonth | Obtain daily data of a single plant for the specified month. |
| /v1/api/stationYear | Obtain monthly data of a single plant for the specified year. |
| /v1/api/stationAll | Obtain cumulative data of a single plant for the current year. |
Currently unsupported API calls
| Call | Description |
|---|---|
| /v1/api/addStation | Add a plant to the account. |
| /v1/api/stationUpdate | Update plant information. |
| /v1/api/addStationBindCollector | Binding a new collector to the plant. |
| /v1/api/delCollector | Unbind a collector from the plant. |
| /v1/api/addDevice | Binding a new inverter to the plant. |
Known issues
- If the local time deviates more than 15 minutes from SolisCloud server time then the server will respond with HTTP 408.
- When calls to the API return with error message "数据异常 请联系管理员" (English: abnormal data, please contact administrator.), then SolisCloud helpdesk needs to fix your account, raise a ticket via soliscloud.com
- I could not test the use of the NMI parameter for AUS use cases, please create a ticket or pull request if you experience issues
Project details
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_api-1.3.0.tar.gz.
File metadata
- Download URL: soliscloud_api-1.3.0.tar.gz
- Upload date:
- Size: 684.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3921948d2e1c49568fab13de421c5b97a40979065aee1fe8b6b5a1dac71c2b17
|
|
| MD5 |
f90a36d95d3f2738558d3411abd3b4c9
|
|
| BLAKE2b-256 |
2741f59e8a04710c859062d56c16746aec5d064b00aaa368c9747fd7d136a9fa
|
Provenance
The following attestation bundles were made for soliscloud_api-1.3.0.tar.gz:
Publisher:
python-publish.yml on hultenvp/soliscloud_api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
soliscloud_api-1.3.0.tar.gz -
Subject digest:
3921948d2e1c49568fab13de421c5b97a40979065aee1fe8b6b5a1dac71c2b17 - Sigstore transparency entry: 741004422
- Sigstore integration time:
-
Permalink:
hultenvp/soliscloud_api@54083da7062b2f2ccc236a7541250c67cc17bd2b -
Branch / Tag:
refs/tags/v1.3.0 - Owner: https://github.com/hultenvp
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@54083da7062b2f2ccc236a7541250c67cc17bd2b -
Trigger Event:
release
-
Statement type:
File details
Details for the file soliscloud_api-1.3.0-py3-none-any.whl.
File metadata
- Download URL: soliscloud_api-1.3.0-py3-none-any.whl
- Upload date:
- Size: 19.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff23354b23e8b44a6e1c2f4d044c31c87c6cdfbc0e7471d522c9ece10d25c67f
|
|
| MD5 |
0d7ebe54611fa8f83b31eb42f2f3fb1a
|
|
| BLAKE2b-256 |
038fd05a1ef135e009ae743b0346ba58060e770cfc98ea6d5089bc779153e9f8
|
Provenance
The following attestation bundles were made for soliscloud_api-1.3.0-py3-none-any.whl:
Publisher:
python-publish.yml on hultenvp/soliscloud_api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
soliscloud_api-1.3.0-py3-none-any.whl -
Subject digest:
ff23354b23e8b44a6e1c2f4d044c31c87c6cdfbc0e7471d522c9ece10d25c67f - Sigstore transparency entry: 741004433
- Sigstore integration time:
-
Permalink:
hultenvp/soliscloud_api@54083da7062b2f2ccc236a7541250c67cc17bd2b -
Branch / Tag:
refs/tags/v1.3.0 - Owner: https://github.com/hultenvp
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@54083da7062b2f2ccc236a7541250c67cc17bd2b -
Trigger Event:
release
-
Statement type: