Skip to main content

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

https://github.com/kellerza/sunsynk

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)

Source distribution for sunsynkloggerapi 0.0.22
File Size Uploaded
sunsynkloggerapi-0.0.22.tar.gz 9.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sunsynkloggerapi 0.0.22
File Interpreter ABI Platform
sunsynkloggerapi-0.0.22-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.0.22 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page