Home Assistant integration for Extron switchers and audio processors. It uses our pyextron library under the hood.
- SSP 200 surround sound processors
- SW HD 4K PLUS Series switchers
Devices must have Telnet access enabled.
Not every single feature can be controlled, only the basics:
- Media player support
- Source selection
- Volume control (SSP 200 only)
- Reboot button
- Temperature sensor (SSP 200 only)
The communication is done using Python's asyncio
and requires no external libraries.
- SSP 200 surround sound processors seem to stop responding properly (both to commands and to physical interactions like button presses) after some time, requiring a reboot
Developing the integration and testing it locally in Home Assistant are two separate tasks.
For development, create a virtual environment (either manually or in an IDE like PyCharm), then install the
dependencies using pip install .
.
Running the integration involves setting up a Home Assistant development environment and making the integration available to it:
- Clone this repository
- Set up a Home Assistant development environment
- Open
devcontainer.json
and add something like this tomounts
:
"source=${localEnv:HOME}/Projects/ha-extron/custom_components/extron,target=${containerWorkspaceFolder}/config/custom_components/extron,type=bind",
Repeat this for any other integrations you want to make available in your local Home Assistant environment.
- Start the development environment and browse to
http://localhost:8123
. If you go to Settings -> Integrations, you should be able to see your custom integrations listed
python3 -m unittest discover -s tests/ -v
- Update the version number in
manifest.json
andpyproject.toml
- Tag the release
- Make a GitHub release
The new release should be picked up by HACS momentarily.
GNU GENERAL PUBLIC LICENSE version 3