onkelbeh / sunweg

Python lib for WEG solar platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SunWeg

Python build Python tests Python coverage Python fake8

Python lib for WEG solar energy platform, 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)

Documentation

Check the DOCs for API documentation.

Contribute

Feel free to send issues and pull requests.

About

Python lib for WEG solar platform

License:MIT License


Languages

Language:Python 100.0%