Python library to access the Wiener Netze Smart Meter private API.
Project description
Vienna Smart Meter
An unofficial python wrapper for the Wiener Netze Smart Meter private API.
Features
- Access energy usage for specific meters
- Get profile information
- View, edit & delete events (Ereignisse)
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.
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
Built Distribution
File details
Details for the file vienna-smartmeter-0.3.2.tar.gz
.
File metadata
- Download URL: vienna-smartmeter-0.3.2.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1756a91217e3a54fa16a895ca40d220daaa156b7aadb2bcf3abd71ff7aa89a6b |
|
MD5 | eb87802b46ebca4f102ef177afb6d95c |
|
BLAKE2b-256 | 10a465fc1b5d614e010deca46d8798b9c3bb297409aafa1b0d6f8bd8db851215 |
File details
Details for the file vienna_smartmeter-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: vienna_smartmeter-0.3.2-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aae280f06f346af03db70ddd428bd96ce6803e483e44b2021da15f629aaff015 |
|
MD5 | dbf2486eabb670296c3235a411c5d455 |
|
BLAKE2b-256 | 4c25441429bcdb6a0673d967e232f10f0afa4f3395c267c2506cd77f7cddd9ff |