Skip to main content

brelpy

A Python package to communicate with the Brel DD-7002B and DD-1554 hubs. It allows you to control and read out Brel motors for blinds.

Installation

The package can be installed by running:

pip3 install brelpy

Alternatively one can clone this repository and install by running pip3 install . to get the latest (possibly unreleased) version.

Usage

A typical usage scenario looks like this:

from brelpy import BrelHub


with BrelHub("<ip-of-your-hub>", "<key-of-your-hub>") as hub:
    for device in hub.devices:
        device.close()

The key can be found by multi-tapping the version indicator in the "me"-screen in the BrelHome app. It has a form like "1ab2cd34-01ab-a1". It can also be provided in the BREL_KEY environment variable. If it is not provided, you can still connect to the Hub but not perform any actions on the devices.

Disclaimer

This package is open source software and has no affiliation with Brel.

Metadata

Release files for brelpy 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for brelpy 0.0.3
File Size Uploaded Provenance
brelpy-0.0.3.tar.gz 16.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for brelpy 0.0.3
File Interpreter ABI Platform
brelpy-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 34.0 kB

Release files / brelpy-0.0.3.tar.gz

Download URL brelpy-0.0.3.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
31859229877b7a61d97d8f96fd4c1e42d4e0eb619250cc9ba5e70bf4147c7618
BLAKE2b-256 checksum
How to use checksums
897140bc8e722ae50a232f2a8bfa25cee5418251ebda943c26e101aebc70de04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release files / brelpy-0.0.3-py3-none-any.whl

Download URL brelpy-0.0.3-py3-none-any.whl
Size 17.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
242a65f0e5924af6ed817bcec6106825e2a1029cf01f79be2fcf3e32ac7000c6
BLAKE2b-256 checksum
How to use checksums
c73d2a63a3a58b8798d44b6d57423d2076dee2218d0b51e6c6218291138d39fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Security for brelpy 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page