Skip to content

Add Homebridge Config UI (custom UI) with on_off/stateless config schema and UI frontend#107

Merged
pponce merged 2 commits into
betafrom
codex/refactor-configuration-ui-and-update-documentation-ohxils
May 24, 2026
Merged

Add Homebridge Config UI (custom UI) with on_off/stateless config schema and UI frontend#107
pponce merged 2 commits into
betafrom
codex/refactor-configuration-ui-and-update-documentation-ohxils

Conversation

@pponce
Copy link
Copy Markdown
Owner

@pponce pponce commented May 24, 2026

Motivation

  • Provide a native Homebridge Config UI X experience for Script2 and split legacy devices into clear on_off_switches and stateless_switches sections while preserving backward compatibility.
  • Make it easier to add and manage switches via a visual editor instead of editing raw JSON.
  • Ship a minimal custom UI and server so the plugin can render a friendly configuration page in Homebridge UI.

Description

  • Added a custom UI for the plugin under homebridge-ui/ including public/index.html, public/index.js, and a small UI server server.js using @homebridge/plugin-ui-utils.
  • Updated config.schema.json to declare customUi and customUiPath, add on_off_switches and stateless_switches array schemas, and keep a conditional legacy devices array for compatibility.
  • Updated README.md to document the new configuration shape, provide migration notes and examples for on_off_switches / stateless_switches, and add an Installation section.
  • Bumped package version and added @homebridge/plugin-ui-utils to dependencies in package.json.

Testing

  • No automated tests were added or executed as part of this change.

Codex Task

@pponce pponce merged commit d36baf5 into beta May 24, 2026
@pponce pponce deleted the codex/refactor-configuration-ui-and-update-documentation-ohxils branch May 24, 2026 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant