GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - michaelpm91/home-assistant-blustream: Home Assistant integration for Blustream SW-series HDMI switchers (local push)

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
custom_components/blustream
custom_components/blustream
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
hacs.json
hacs.json
 
 
pytest.ini
pytest.ini
 
 
requirements_test.txt
requirements_test.txt
 
 

Repository files navigation

Blustream for Home Assistant

Local control of Blustream SW-series HDMI switchers over their TCP control port. Changes made on the front panel, in the Web-GUI or by another controller are pushed to Home Assistant as they happen.

Developed and tested against an SW41AB-V3 (firmware V1.1.1). The SW21AB-V3 shares its command set and should work, but has not been tested here.

What you get

Entity Notes
Source Select. Options are the input names set in the Web-GUI. Selecting a source in standby powers the switcher on first.
Power, HDMI output, Auto switching Switches.
Input 1–4 connected, Output connected Whether a source or display is plugged in.
Display on, Display off Buttons that send CEC power commands to the display.
Input 1–4 EDID Config. Settable only when the rear EDID DIP switch is at 1111 (software control); otherwise unavailable, because the DIP switch sets one EDID for all inputs.
Priority input, Fallback input, Priority switching, Fallback switching, Fast switching Config, for auto switching.
Auto standby, Auto standby delay Config.
Audio breakout, Output CEC, Front panel buttons, Front panel IR Config.
Input 1–4 enable, CEC and auto switch trigger Config, disabled by default.
Input 1–4 signal, Output signal, Display Diagnostics from the Web-GUI.
Reboot Config.

Install

  1. In Home Assistant, open Settings > Marketplace, choose Custom repositories from the menu, and add this repository with type Integration. (On releases before the Marketplace was built in, do the same in HACS.)
  2. Install Blustream and restart Home Assistant.
  3. Switchers on the network are discovered. To add one by hand, go to Settings > Devices & services > Add integration > Blustream and enter its address (sw41ab-v3.local by default) and port (8000).

No login is needed: the control port and the Web-GUI's status page are open. Keep Port 8000 enabled in the Web-GUI's Settings page.

How it works

  • Commands and STATUS go over one persistent connection to port 8000. The switcher sends every reply to every connection, so any change triggers a refresh. STATUS is also polled every 30 seconds.
  • Input names, EDID slots, signal details and the DIP switch position come from the Web-GUI (POST /appdata.cgi), read alongside STATUS. If the Web-GUI does not answer, the last values are kept.

Development

python3.14 -m venv .venv
.venv/bin/pip install -r requirements_test.txt
.venv/bin/pytest

The tests run against a fake switcher (tests/fake_switcher.py) that reproduces the real one's framing; its STATUS output is checked byte for byte against a capture from a real unit (tests/fixtures/status.txt).

About

Home Assistant integration for Blustream SW-series HDMI switchers (local push)

Topics

blustreamhacshdmi-switchhome-assistant

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.