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
hatchrestbluepy-1.1.1.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for hatchrestbluepy-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb4894c6762bd8ca452860a603af44568ae39cd9d7c094663de120a19fdfe56d |
|
MD5 | 0a322a0df14f28e051e604bcfc139dfe |
|
BLAKE2b-256 | 4616ea03d5cd8d4cf165ec0b5852ca97915a33b856af31d10a9266d18cfa901f |