platysma / vienna-smartmeter

Python library to access the Wiener Netze Smart Meter private API
MIT License
71 stars 11 forks source link

Vienna Smart Meter

An unofficial python wrapper for the Wiener Netze Smart Meter private API.

PyPI Version Build Code Coverage Code Quality

Features

Installation

Install with pip:

pip install vienna-smartmeter

An async package is provided and can be installed with the 'async' extra:

pip install vienna-smartmeter[async]

How To Use

Import the Smartmeter client, provide login information and access available api functions:

from vienna_smartmeter import Smartmeter

username = 'YOUR_LOGIN_USER_NAME'
password = 'YOUR_PASSWORD'

api = Smartmeter(username, password)
print(api.profil())

The asnyc package can be imported by replacing Smartmeter with AsyncSmartmeter.

from vienna_smartmeter import AsyncSmartmeter

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Make sure to add or update tests as appropriate.

License

You can check out the full license here

This project is licensed under the terms of the MIT license.

Legal

Disclaimer: This is not affliated, endorsed or certified by Wiener Netze. This is an independent and unofficial API. Strictly not for spam. Use at your own risk.