Skip to main content

A library to retrieve data from sunweg.net

Project description

SunWeg

Python lib for WEG solar energy platform, https://sunweg.net/

Usage

from sunweg.api import APIHelper

api = APIHelper('username','password')
plants = api.listPlants()
for plant in plants:
    print(plant)
    for inverter in plant.inverters:
        print(inverter)
        for phase in inverter.phases:
            print(phase)
        for mppt in inverter.mppts:
            print(mppt)
            for string in mppt.strings:
                print(string)

Contribute

Feel free to send issues and pull requests.

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

sunweg-0.0.5.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

sunweg-0.0.5-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

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