SynSynk Logger API Python Library
Project description
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
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
Hashes for sunsynkloggerapi-0.0.20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04a924145c8375ad0143b261291eaf2c9b88e9dc97ee36fe8bc5314cfeff5046 |
|
MD5 | b07e0f14608a5e8bffd5b274ad5ce31a |
|
BLAKE2b-256 | 12ff3ea79d9cefb4a1281b3eb08baf7c622914033a7df4003414044efc20f689 |