Skip to main content

Python API for accessing BleBox smart home devices

Project description

BleBox Python UniAPI

https://img.shields.io/pypi/v/blebox_uniapi.svg https://travis-ci.com/blebox/blebox_uniapi.svg?branch=master Documentation Status

Python API for accessing BleBox smart home devices

Features

  • supports 11 BleBox smart home devices

  • contains functional/integration tests

  • every device supports at least minimum functionality for most common automation needs

Contributions are most welcome!

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

2.1.0 (2022-08-05)

  • added support for multiSensor API:
    • airQuality moved to sensor module

    • new binary_sensor module, introducing Rain class

2.0.2 (2022-07-06)

  • added query_string property in Button class

  • fixed test assertions after changes in error raised ValueError

2.0.1 (2022-06-01)

  • used ValueError type instead of BadOnValueError in methods:

    • evaluate_brightness_from_rgb

    • apply_brightness

    • normalise_elements_of_rgb

    • _set_last_on_value

    • async_on

2.0.0 (2022-06-21)

  • extended support for color modes in wLightBox devices

  • initial support for tvLiftBox device

  • major backward-incompatible architectural changes to enable dynamic configuration of devices

  • removed products.py module and replaced with factory method on Box class

  • general overhaul of public interfaces

1.3.3 (2021-05-12)

  • fix support for wLightBoxS with wLightBox API

  • fix state detection in gateBox

1.3.2 (2020-04-2)

  • use proper module-level logger by default

  • fix formatting

1.3.1 (2020-04-2)

  • never skip command requests

  • improve error messages

1.2.0 (2020-03-30)

  • expose device info

  • always add ip/port in connection errors

  • fixed gateController support

  • support for sauna min/max temp

1.1.0 (2020-03-24)

  • fix bad wLightBox API path

  • wrap api calls in semaphore (to serialize reqests to each box)

  • throttle updates to 2/second (to avoid unnecessary requests)

  • rework error handling and hierarchy (for cleaner usage)

  • use actual device name (to help recognize the device)

  • handle asyncio.TimeoutError (to handle timeout-related errors nicely)

  • properly re-raise exceptions (to avoid lengthy call stacktraces)

  • rename wLightBoxS feature to “brightness”

1.1.0 (2020-03-24)

  • fix switchBox support

  • fix minimum position handling

  • drop Python 3.6 support (still may work)

  • misc fixes, cleanup and increased test coverage

1.0.0 (2020-03-24)

  • Fixed wLightBox issues

  • Fixed wLightBoxS issues

  • Fixed shutterBox issues

  • Handle unknown shutterBox position

  • Improved error handling + lots of new diagnostics

  • Increased tests and test coverage (almost 100%)

  • Lots of rework

0.1.1 (2020-03-15)

  • Fixed switchBox support (newer API versions)

0.1.0 (2020-03-10)

  • First release on PyPI.

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

blebox_uniapi-2.1.0.tar.gz (25.8 kB view details)

Uploaded Source

Built Distribution

blebox_uniapi-2.1.0-py2.py3-none-any.whl (24.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file blebox_uniapi-2.1.0.tar.gz.

File metadata

  • Download URL: blebox_uniapi-2.1.0.tar.gz
  • Upload date:
  • Size: 25.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.2

File hashes

Hashes for blebox_uniapi-2.1.0.tar.gz
Algorithm Hash digest
SHA256 fe945bc134aecd05adeb2a5e9a42687219b063e232a672f778d0319cda059649
MD5 35010ff2f015e8c9a7b916eebdd66bda
BLAKE2b-256 146dec0beab189d85b410892c3d524e677f8f37f99d0e8159789f30fead64322

See more details on using hashes here.

File details

Details for the file blebox_uniapi-2.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for blebox_uniapi-2.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c2b75a438326877d43253cabd59e3b13843692c078a3813873f56d31f24962dd
MD5 c479eb58e4eac7d354ceb1e58a591a20
BLAKE2b-256 de3bd6105d6fa32b5826c0590b345651c285ba17a565b5fdfef55fab14ac8f84

See more details on using hashes here.

Supported by

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