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:
Metadata
Release files for youless-api 2.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| youless_api-2.2.0.tar.gz | 8.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| youless_api-2.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.1 kB
Release files / youless_api-2.2.0.tar.gz
| Download URL | youless_api-2.2.0.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47c8d71bb79884d0a22ed9e492e64d07d16e0fb321ad08c690acde7b5a1e1c5d
|
|
BLAKE2b-256 checksum How to use checksums |
63dd5b7a6b1b64c190a51f8fdc3e1797fdec883c5eda4e4072fcc58918e0e763
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.9.21
|
Release files / youless_api-2.2.0-py3-none-any.whl
| Download URL | youless_api-2.2.0-py3-none-any.whl |
|---|---|
| Size | 11.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5071cb3665495f3d8f07a9878810fba0dc08f08013c7573a03b9e44ee261aa14
|
|
BLAKE2b-256 checksum How to use checksums |
c948a0b7fd9e139f6357b1437ae6f51cf395f6baa9a83dcbd422b196c3307f14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.9.21
|