Skip to content

zombielinux/pyextron

Repository files navigation

Python Telnet API for Extron Media Switchers

Library for Telnet serial communication to Extron Media Switchers. See below for exactly which amplifier models are supported.

beta_badge PyPi MIT license

Usage

from pyextron import get_amp_controller

zone = 2
amp = get_amp_controller('MAV88', 'hostname.fqdn.tld')

amp.set_source(zone, 3) # select source 3

See also example.py for a more complete example.

Usage with asyncio

With the asyncio flavor, all methods of the controller objects are coroutines:

import asyncio
from pyxantech import async_get_amp_controller

async def main(loop):
    amp = await async)get_amp_controller('MAV88', 'hostname.fqdn.tld', loop)
    zone_status = await amp.zone_status(2)
    if zone_status.power:
        await amp.set_power(zone_status.zone, False)

loop = asyncio.get_event_loop()
loop.run_until_complete(main(loop))

Supported Multi-Zone Amps

Manufacturer Model(s) Zones Supported Series Notes
Extron MAV88 8 YES MAV88 audio and composite video only

About

Telnet control of Extron matrix switchers.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages