Skip to content

rokam/sunweg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.