SunSynk Logger API
This Python library retrieves data on your Sunsynk Inverter (with SunSynk Logger), photovoltaic panels, and battery if you have one.
See https://www.sunsynk.org/ for more information on Sunsynk inverters.
This code was developed on a Single SunSynk 5k with Panels and 1x BMS Connected and has not been tested against any other combinations.
This implementation does not interface directly with the SunSynk logger. Instead it connects to the SunSynk API and collects the information from there.
DISCLAIMER: Use at your own risk!
SunSynk Python Library
The Python library is available through pip:
pip install sunsynkloggerapi
Example Usage
import sunsynkloggerapi
sunsynk = sunsynkloggerapi.SunSynkLoggerAPI()
username = "" # https://www.sunsynk.net Username
password = "" # https://www.sunsynk.net Pasword
if not sunsynk._isAuthenticated:
await sunsynk.Login(username, password)
await sunsynk.read()
for i in sunsynk.inverters:
print("Inverter : (" + str(i.sn) +") " + i.alias)
Credits
This library has been inspired by the amazing work of the following projects
Metadata
Release files for sunsynkloggerapi 0.0.22
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sunsynkloggerapi-0.0.22.tar.gz | 9.2 kB | Without provenance | Details for sunsynkloggerapi-0.0.22.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sunsynkloggerapi-0.0.22-py3-none-any.whl | Python 3 | none | any | Details for sunsynkloggerapi-0.0.22-py3-none-any.whl |
Total release size: 18.2 kB
Release files / sunsynkloggerapi-0.0.22.tar.gz
| Download URL | sunsynkloggerapi-0.0.22.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0ff9c57ab0b329b1ca4b1ff1fac543ede2f8ffe803ede3ba56805c24557abb33
|
|
BLAKE2b-256 checksum How to use checksums |
c9ded58d81c0fa62775d799f95467cdaa5f2bd2a4b1b0e609848bcbf07293f63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / sunsynkloggerapi-0.0.22-py3-none-any.whl
| Download URL | sunsynkloggerapi-0.0.22-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
05136e78bd1aefa1483a34547b1782edd96a764a4e3b1b356f70fd848ae1de2c
|
|
BLAKE2b-256 checksum How to use checksums |
ae3959f0e690f7c956a3672063316b4e63e5976b99cc8ade4637ec96592d6e1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Security for sunsynkloggerapi 0.0.22
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.