Status
pyblackbird
Python3 interface implementation for Monoprice Blackbird HDMI matrix switches
Notes
This is for use with Home-Assistant
Tested with models 21819 (4K 8x8 HDBaseT) and 24180.
Models without IR routing, such as the 24180, use a different command to
select a source and report a shorter zone status. Pass ir_control=False
for those; the default suits the 21819.
Usage
from pyblackbird import get_blackbird
# Connect via serial port
blackbird = get_blackbird('/dev/ttyUSB0')
# Connect via IP
blackbird = get_blackbird('192.168.1.50', use_serial=False)
# Connect to a model without IR control, i.e. the 24180
blackbird = get_blackbird('/dev/ttyUSB0', ir_control=False)
blackbird = get_blackbird('192.168.1.50', use_serial=False, ir_control=False)
# Print system lock status
print('System Lock is {}'.format('On' if blackbird.lock_status() else 'Off'))
# Valid zones are 1-8
zone_status = blackbird.zone_status(1)
# Print zone status
print('Zone Number = {}'.format(zone_status.zone))
print('Zone Power is {}'.format('On' if zone_status.power else 'Off'))
print('AV Source = {}'.format(zone_status.av))
print('IR Source = {}'.format(zone_status.ir)) # None without IR control
# Turn off zone #1
blackbird.set_power(1, False)
# Set source 5 for zone #1
blackbird.set_zone_source(1, 5)
# Set all zones to source 2
blackbird.set_all_zone_source(2)
# Lock system buttons
blackbird.lock_front_buttons()
# Unlock system buttons
blackbird.unlock_front_buttons()
Metadata
Release files for pyblackbird 0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyblackbird-0.10.tar.gz | 7.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyblackbird-0.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.1 kB
Release files / pyblackbird-0.10.tar.gz
| Download URL | pyblackbird-0.10.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26a7006dba114ae51a4024f9e83df197e75e581d474c67964c0181af9e3bd3ea
|
|
BLAKE2b-256 checksum How to use checksums |
b8828b73ba327e6013a515548cd03ccda349b792d51e3ff4300f96012e7787dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.
Transparency logRelease files / pyblackbird-0.10-py3-none-any.whl
| Download URL | pyblackbird-0.10-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
47cc0072a146bf458b53b3882e0ba270d1bcfefefeeadad36b07332f241e4d9e
|
|
BLAKE2b-256 checksum How to use checksums |
b474ffb5c44e74c036c098fe1d7336b9f969779c14c03d9f1854f162826b2e30
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.
Transparency log