Skip to main content

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

https://github.com/kellerza/sunsynk

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

sunsynkloggerapi-0.0.22.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

sunsynkloggerapi-0.0.22-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file sunsynkloggerapi-0.0.22.tar.gz.

File metadata

  • Download URL: sunsynkloggerapi-0.0.22.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for sunsynkloggerapi-0.0.22.tar.gz
Algorithm Hash digest
SHA256 0ff9c57ab0b329b1ca4b1ff1fac543ede2f8ffe803ede3ba56805c24557abb33
MD5 1f26c4648f7dd1a2903b280209dd9eb1
BLAKE2b-256 c9ded58d81c0fa62775d799f95467cdaa5f2bd2a4b1b0e609848bcbf07293f63

See more details on using hashes here.

File details

Details for the file sunsynkloggerapi-0.0.22-py3-none-any.whl.

File metadata

File hashes

Hashes for sunsynkloggerapi-0.0.22-py3-none-any.whl
Algorithm Hash digest
SHA256 05136e78bd1aefa1483a34547b1782edd96a764a4e3b1b356f70fd848ae1de2c
MD5 dab58b80b75329f8285c39657ba6b6de
BLAKE2b-256 ae3959f0e690f7c956a3672063316b4e63e5976b99cc8ade4637ec96592d6e1a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page