A bridge for python to the YouLess sensor
Project description
YouLess Python Data Bridge
This package contains support classes to fetch data from the YouLess sensors. The current implementation supports the following YouLess devices:
- LS120, both the Enologic and the PVOutput firmware
- LS110
Experimental support for authentication was added in v0.15 of the youless-python-bridge.
Getting started
To use the API use the following code:
from youless_api.youless_api import YoulessAPI
if __name__ == '__main__':
api = YoulessAPI("192.168.1.2") # use the ip address of the YouLess device
api.initialize()
api.update()
# from this point on on you should be able to access the sensors through the YouLess bridge
gasUsage = api.gas_meter.value
To use authentication please use the snippet below (this is still experimental):
from youless_api.youless_api import YoulessAPI
if __name__ == '__main__':
api = YoulessAPI("192.168.1.2", "my-user-name", "my-password") # use the ip address of the YouLess device
api.initialize()
api.update()
# from this point on on you should be able to access the sensors through the YouLess bridge
gasUsage = api.gas_meter.value
Contributing
The Youless Python Data Bridge is an open-source project and welcomes any additions by the community.
If you would like to contribute, please fork this repository and make your desired changes. You can then offer those changes using a pull request into this repository.
The contributors :star2:
Project details
Release history Release notifications | RSS feed
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
Hashes for youless_api-2.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f969ea762ff7eaeb1682ef0895c327e038e68aef87b440b21c58f1bd53fb0f12 |
|
MD5 | 8726eacaabe4fee601d39e60fb21c22d |
|
BLAKE2b-256 | 0573947d8e1cd97a37c4d9f267613e3a43cab8873df21f56c931f9dacd11a59d |