Skip to main content

A bridge for python to the YouLess sensor

Project description

YouLess Python Data Bridge

PyPI version Python package

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:

Contributors

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

youless_api-2.2.0.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

youless_api-2.2.0-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file youless_api-2.2.0.tar.gz.

File metadata

  • Download URL: youless_api-2.2.0.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for youless_api-2.2.0.tar.gz
Algorithm Hash digest
SHA256 47c8d71bb79884d0a22ed9e492e64d07d16e0fb321ad08c690acde7b5a1e1c5d
MD5 1868ad0ba19ddbf5fbfb45bab02be189
BLAKE2b-256 63dd5b7a6b1b64c190a51f8fdc3e1797fdec883c5eda4e4072fcc58918e0e763

See more details on using hashes here.

File details

Details for the file youless_api-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: youless_api-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for youless_api-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5071cb3665495f3d8f07a9878810fba0dc08f08013c7573a03b9e44ee261aa14
MD5 c55d6ed8d1d6bc549a2867dd57cd2ef2
BLAKE2b-256 c948a0b7fd9e139f6357b1437ae6f51cf395f6baa9a83dcbd422b196c3307f14

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page