Python API for accessing BleBox smart home devices
Project description
BleBox Python UniAPI
Python API for accessing BleBox smart home devices
Free software: Apache Software License 2.0
Documentation: https://blebox-uniapi.readthedocs.io.
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.2 (2022-10-17)
fixed CCT, CCTx2 modes for wLightBox v1 & v2
2.1.1 (2022-10-11)
- added support for thermoBox devices:
added thermoBox config to
BOX_TYPE_CONFIG
Climate
uses factory method implementationadded test coverage
2.1.0 (2022-08-05)
- added support for multiSensor API:
airQuality
moved to sensor modulenew binary_sensor module, introducing
Rain
class
2.0.2 (2022-07-06)
added
query_string
property inButton
classfixed test assertions after changes in error raised ValueError
2.0.1 (2022-06-01)
used
ValueError
type instead ofBadOnValueError
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file blebox_uniapi-2.1.2.tar.gz
.
File metadata
- Download URL: blebox_uniapi-2.1.2.tar.gz
- Upload date:
- Size: 27.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8be4fd3f2e6f41b43fcdc1bd7dc783265c7779cb893b0898ab44a1e8878b621 |
|
MD5 | ca04dcc835275b860067d2ee33511ca4 |
|
BLAKE2b-256 | b5b8645908ecdac8facc3296a76969803a462b3da9b5a6f4920524d7c4dc71b3 |
File details
Details for the file blebox_uniapi-2.1.2-py2.py3-none-any.whl
.
File metadata
- Download URL: blebox_uniapi-2.1.2-py2.py3-none-any.whl
- Upload date:
- Size: 24.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59b5ab5fd0e7c82b12a76922189a6905ac3b95597a2fb350f7b2cc161b86b0e1 |
|
MD5 | 6e4011cb30cdab44eee2929e68e9443c |
|
BLAKE2b-256 | 9fa1559dc95e80ec13a76d9d5227cf894ccfc2abaa18a2bead5855f932f8c996 |