A Python library to control the Hatch Rest sound machine, using bluepy
Project description
Hatch Rest Python Library
This library allows an original Hatch Rest to be controlled via BLE. This library uses the bluepy library as a backend, and therefore only runs on Linux. This library is primarily intended to be run on Raspberry Pi devices.
Installation
pip install hatchrestbluepy
If you intend to use this library without elevated privileges, you will need to find bluepy-helper and run the following command to enable BLE access.
sudo setcap 'cap_net_raw,cap_net_admin+eip' bluepy-helper
Example
Credits
This library is heavily based on the pyhatchbabyrest library, written by @kjoconnor.
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 hatchrestbluepy-1.1.1.tar.gz.
File metadata
- Download URL: hatchrestbluepy-1.1.1.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d7bd7b7a6ffa9c776e0946a0df7bdaebb73a95188946cf68a834e3aa0b035fe
|
|
| MD5 |
2a0c284ada8188ef9070e337b85f0842
|
|
| BLAKE2b-256 |
3a754fc78263b3f8e3d6491a7933a9e51aec5f5a389cd019c5850328e2020326
|
File details
Details for the file hatchrestbluepy-1.1.1-py3-none-any.whl.
File metadata
- Download URL: hatchrestbluepy-1.1.1-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb4894c6762bd8ca452860a603af44568ae39cd9d7c094663de120a19fdfe56d
|
|
| MD5 |
0a322a0df14f28e051e604bcfc139dfe
|
|
| BLAKE2b-256 |
4616ea03d5cd8d4cf165ec0b5852ca97915a33b856af31d10a9266d18cfa901f
|