Summary
Homebridge 2.5.1 is mostly a Matter fix release: 190 fixes, most of them in the Matter bridge (state restore, mode/level/toggle handlers, window coverings, robot vacuums, storage and pairing), plus child bridge stability fixes and a start-up check for damaged accessory caches. It moves to HAP-NodeJS 2.3.1 (ciao 1.4.1, bonjour-hap 3.11.1, fast-srp-hap 2.0.5) and matter.js 0.18.1. Node 22.12+, 24 and 26 are supported, as in 2.5.0.
API changes
- New
homebridge/matterentry for the Matter values; the same values on the main entry are deprecated. - More hap-nodejs enums and types exported from homebridge (for example
MDNSAdvertiser,HAPConnection). - TypeScript plugins can call
api.once,api.offandapi.removeListenerwithout a cast. - Matter: a handler can answer a mode change, vacuum, media or key command with its own status; thermostats report unoccupied setpoint changes; enums of ten more clusters are reachable through
api.matter.types. - Deprecated (docs only, no behaviour change):
api.version,MatterAccessory.getState, the Matterreadyevent. The bridgehapoption is now marked deprecated only in its boolean form.
Other changes
- Matter: many fixes to state and context restore, handler dispatch (level, toggle, mode, lock, fan, thermostat), window coverings, robot vacuums, storage locks and pairing reports; repeated error wrapping and unused helpers removed.
- Child bridges: a UI-requested restart is no longer counted as a crash; a refused accessory no longer stops the bridge; bridges stopped by hand are handled at shutdown.
- Accessory cache: start with a damaged cache file and keep the good backup when restoring.
- CI: a Validate Start workflow packs, installs and starts the bridge on Node 22 and 26 (#4055); upstream Homebridge dependencies refresh daily on alpha and beta (#4053).
- Dependencies:
@homebridge/hap-nodejs2.3.1,@matter/main/@matter/nodejs0.18.1, plus minor dependency updates.
Thanks to @zerafachris, @stalinCCCP415 and @inakietxeba for their contributions.