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://img.shields.io/travis/gadgetmobile/blebox_uniapi.svg 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

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-1.3.2.tar.gz (34.3 kB view details)

Uploaded Source

Built Distribution

blebox_uniapi-1.3.2-py2.py3-none-any.whl (15.5 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: blebox_uniapi-1.3.2.tar.gz
  • Upload date:
  • Size: 34.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.5

File hashes

Hashes for blebox_uniapi-1.3.2.tar.gz
Algorithm Hash digest
SHA256 30f19ce7b263634d1a833a24ad32b6cb86de52bdc984b0c3b811fc908d898a26
MD5 ca6433626485bbb640366fc43e48d3ab
BLAKE2b-256 88648895e0b2c8cf911e91216b4ec86b5d5e5fc0d16cd6286933aa150365554f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: blebox_uniapi-1.3.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 15.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.5

File hashes

Hashes for blebox_uniapi-1.3.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9733a3146efeed641d12f072915e471171706fdd9a69578db0bf3e51f1bc9d93
MD5 9aa20c247ab7fb5e164c3aebc97a99de
BLAKE2b-256 8c2540bcfc69a262f69d6522016dacff7844474254397d4c4e321be9ed094c15

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