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
File details
Details for the file youless_api-2.1.2.tar.gz
.
File metadata
- Download URL: youless_api-2.1.2.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fdcd818a5ccf4c0913f14580d8edb8bd37904b6e4b40e98b14a30101e2cbf01 |
|
MD5 | 555965ed6c4f751cd7df3f45a48fd128 |
|
BLAKE2b-256 | fb5d6e625dbbe133f08097d81f5c64b5d61b1879a8a8b2a72c52a1e6e4311f0c |
File details
Details for the file youless_api-2.1.2-py3-none-any.whl
.
File metadata
- Download URL: youless_api-2.1.2-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5ad6f2d5b85e7d49187653f040b366f32ad2d857e7f224d1c7dba0e414112ba |
|
MD5 | 9fe0a2f8fb06c425a1a9b107cf7f1722 |
|
BLAKE2b-256 | f414c4a212f42eefb16568bd29dcfd022f6be613e0549cc8c2e041d4ff9537b9 |