Library for Telnet serial communication to Extron Media Switchers. See below for exactly which amplifier models are supported.
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.
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))
Manufacturer | Model(s) | Zones | Supported | Series | Notes |
---|---|---|---|---|---|
Extron | MAV88 | 8 | YES | MAV88 | audio and composite video only |