Skip to content

Flasher: make it a Control4 controller again (openhc-control4); S96ohc-extensions - #191

Merged
The1TrueJoe merged 3 commits into
mainfrom
control4-extension
Nov 20, 2026
Merged

The1TrueJoe merged 3 commits into
mainfrom
control4-extension

Conversation

@The1TrueJoe

@The1TrueJoe The1TrueJoe commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

Getting an openHC box back into a Control4 project, from the flasher, in one pass.

Flasher

  • GUI: Make it a Control4 controller again on the Install screen (on by default for HC-800 and EA). After openHC is in, it downloads openhc-control4's latest release, waits for the box to go down and come back (found again by MAC, since the DHCP lease usually changes), installs the box side, points the on-screen view at the navigator, and saves openhc.c4z to Downloads. The Done screen lists the three Composer steps with a "Show the driver" button. If the extension step fails, openHC still reports as installed, with the reason.
  • CLI: install … --control4, and control4 <ip> for a box already running openHC.
  • engine: control4.rs (supports, fetch, install, find_again); updates::latest_release_from(repo).

openHC

  • S96ohc-extensions: starts /data/extensions/*/init at boot, stops them in reverse. /data survives a reboot on every board, including the HC-800 whose root is a RAM initramfs, which is why extensions live there rather than in /opt + /etc/init.d.
  • README: an Extensions list near the top (openhc-control4, openhc-minecraft, c4-ea-homeassistant) and the flasher's Control4 option.

Tested: the flasher's whole test suite, including the GUI's headless render of every screen with the new phase and Done states; new unit tests for MAC matching across ARP spellings and board support.

Not yet: openhc-control4 has no published release, so the Control4 step fails with "no published release" until one exists (openHC itself still installs). Not run on hardware.

Also in this PR

  • The flasher's Control4 option applies to every board. On the HC-250, CA-1 and IO Extender (no on-screen view in openHC yet) it only saves the driver, for their IO, and shows the Network-tab steps.
  • gstreamer feature (EA family, HC-800; requires audio): GStreamer core with parse, plugins-base (alsa, audioconvert, audioresample, volume) and plugins-good (rtp, rtpmanager, udp, audioparsers, flac). It's the runtime openhc-control4's Control4 audio client needs to play Digital Media into audiod's shared ohc_<id> outputs. Not built yet: the image size on the HC-800's initramfs is unmeasured.

…installing; S96ohc-extensions starts /data/extensions at boot; README lists the extension projects
…here openHC has no on-screen view yet (HC-250, CA-1, IO Extender)
… to play network audio (RTP, FLAC, network clock) into audiod's shared outputs
@The1TrueJoe
The1TrueJoe merged commit 13ea656 into main Nov 20, 2026
33 checks passed
@The1TrueJoe
The1TrueJoe deleted the control4-extension branch November 20, 2026 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant