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 🌟
Metadata
Release files for youless-api 2.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| youless_api-2.2.1.tar.gz | 9.3 kB | Without provenance | Details for youless_api-2.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| youless_api-2.2.1-py3-none-any.whl | Python 3 | none | any | Details for youless_api-2.2.1-py3-none-any.whl |
Total release size: 20.9 kB
Release files / youless_api-2.2.1.tar.gz
| Download URL | youless_api-2.2.1.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cd390c4172ea04f274327f3fc3d911a38e92641ff14e8c5106d995e8e30368e9
|
|
BLAKE2b-256 checksum How to use checksums |
e0f0800066c5c73528c7f843861e858f9360efbcb05e3c8d470b8e023af21830
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / youless_api-2.2.1-py3-none-any.whl
| Download URL | youless_api-2.2.1-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b9626fd0af0c51f2cc3b785a8a0bf3d007eb20caf034cf63c4adf3c2fd721032
|
|
BLAKE2b-256 checksum How to use checksums |
672b60252679c9888ab036d44ceb0b1a13b2a63505deddc9bd715de8624680cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Security for youless-api 2.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.