Skip to main content

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


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)

Uploaded Source

Built Distribution

hatchrestbluepy-1.1.1-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page