Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aioaeroflex-0.1.0.tar.gz (28.2 kB view details)

Uploaded Source

Built Distribution

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

aioaeroflex-0.1.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

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

Hashes for aioaeroflex-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7205499fa3fb59f63d8d16b0d7d420e2a2a9594e98daaee8514c151d8982b86d
MD5 f0976d2289867f89a9b260400ab43886
BLAKE2b-256 f196769874a99f89f770d393e1f089698032d7b668283635bcc08c2fc6cdeee0

See more details on using hashes here.

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

Hashes for aioaeroflex-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b34706d41005ea1e7f8fa3573f3c86c8126f49d7713ad934ee948bf66bb0ca04
MD5 3bbad078d60289fa460847155bcdaff3
BLAKE2b-256 404e8ec49691e5350d8416a71f6eccf802b653070bb4e1ddf1326a4995e34c7d

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