Skip to content

Python3 interface implementation for Monoprice Blackbird 4k 8x8 HDBaseT Matrix

License

Notifications You must be signed in to change notification settings

koolsb/pyblackbird

Repository files navigation

Status

Build StatusCoverage Status

pyblackbird

Python3 interface implementation for Monoprice Blackbird 4k 8x8 HDBaseT Matrix

Notes

This is for use with Home-Assistant

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)

# 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))

# 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()

About

Python3 interface implementation for Monoprice Blackbird 4k 8x8 HDBaseT Matrix

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages