Enhancements
- Added npm update support:
- New
checkNpmUpdatesoption to detect newer npm versions. - New
autoUpdateNpmoption to automatically update npm.
- New
- npm support is now environment-safe:
- If npm is unavailable, npm checks are skipped without crashing.
- If
autoUpdateNpmis enabled but npm is unavailable, a clear warning is logged and failure state is tracked.
- Simplified Matter selection config:
- Removed
preferMatterfrom user config and schema. - Protocol selection now auto-prefers Matter when available and
enableMatteris true.
- Removed
- Reordered Config UI fields in
config.schema.jsoninto a more logical top-to-bottom flow.
Bug Fixes
- Improved Homebridge UI action request compatibility for restart/backup flows:
- Added JSON request headers/content-length for action endpoints.
- Added restart method fallback (
PUTthenPOST) to support API variations across UI versions. - Reduces
HTTP 415 Unsupported Media Typerestart failures.
Documentation
- Updated README for new npm options and behavior when npm is not installed.
- Removed
preferMatterfrom README examples and option table.
Full Changelog: v3.0.5...v3.0.6