Async Python library for controlling Aeroflex adjustable beds via Bluetooth
Project description
aioaeroflex
An async Python library for controlling Aeroflex adjustable beds via Bluetooth.
Installation
pip install aioaeroflex
Usage
import asyncio
from aioaeroflex import AeroflexBed, BedCommand
async with AeroflexBed("00000000-0000-0000-0000-000000000000") as bed:
await bed.start_movement(BedCommand.HEAD_UP)
await asyncio.sleep(3.0)
await bed.stop_movement()
Features
- Async/await support
- Automatic bed discovery
- Simple movement controls
- Context manager support
Requirements
- Python 3.7+
- Bluetooth LE support
Contributing
Contributions are welcome! Please open an issue or submit a pull request.
License
This project is licensed under the Apache License 2.0. See the LICENSE file for details.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aioaeroflex-0.1.0.tar.gz.
File metadata
- Download URL: aioaeroflex-0.1.0.tar.gz
- Upload date:
- Size: 28.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7205499fa3fb59f63d8d16b0d7d420e2a2a9594e98daaee8514c151d8982b86d
|
|
| MD5 |
f0976d2289867f89a9b260400ab43886
|
|
| BLAKE2b-256 |
f196769874a99f89f770d393e1f089698032d7b668283635bcc08c2fc6cdeee0
|
File details
Details for the file aioaeroflex-0.1.0-py3-none-any.whl.
File metadata
- Download URL: aioaeroflex-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b34706d41005ea1e7f8fa3573f3c86c8126f49d7713ad934ee948bf66bb0ca04
|
|
| MD5 |
3bbad078d60289fa460847155bcdaff3
|
|
| BLAKE2b-256 |
404e8ec49691e5350d8416a71f6eccf802b653070bb4e1ddf1326a4995e34c7d
|