Skip to content

Add Homebridge UI custom config, split devices into on_off/stateless sections, and UI assets#105

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

Add Homebridge UI custom config, split devices into on_off/stateless sections, and UI assets#105
pponce merged 2 commits into
betafrom
codex/refactor-configuration-ui-and-update-documentation-wil05m

Conversation

@pponce
Copy link
Copy Markdown
Owner

@pponce pponce commented May 24, 2026

Motivation

  • Provide a richer Homebridge Config UI X experience for Script2Platform by adding a custom UI and clearer separation of device types.
  • Preserve legacy devices compatibility while encouraging a more structured on_off_switches and stateless_switches configuration shape.

Description

  • Add a custom UI under homebridge-ui/ including index.html, index.js, and server.js and wire it into the plugin schema with customUi/customUiPath in config.schema.json.
  • Update config.schema.json to expose on_off_switches, stateless_switches, and a conditional legacy devices array with validation, improved form layout, and helpful defaults/constraints.
  • Revise README.md to document the new UI-driven sections, migration notes for legacy devices, examples, and an installation note; preserve backward compatibility guidance.
  • Bump package version to 0.4.3-beta.27 and add @homebridge/plugin-ui-utils as a dependency required by the UI server.

Testing

  • No automated tests were run for this change.

Codex Task

@pponce pponce merged commit 87b03c3 into beta May 24, 2026
@pponce pponce deleted the codex/refactor-configuration-ui-and-update-documentation-wil05m 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