@riddix/hamh 2.1.0-alpha.761 → 2.1.0-alpha.763
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@ of port forwarding etc.
|
|
|
37
37
|
|
|
38
38
|
| Channel | Branch | Current Version | Description |
|
|
39
39
|
|---------|--------|-----------------|-------------|
|
|
40
|
-
| **Stable** | `main` | v2.0.
|
|
40
|
+
| **Stable** | `main` | v2.0.47 | Production-ready, recommended for most users |
|
|
41
41
|
| **Alpha** | `alpha` | v2.1.0-alpha.x (next) | Currently level with Stable; next pre-release lands here first |
|
|
42
42
|
| **Testing** | `testing` | v4.1.0-testing.x | ⚠️ **Highly unstable!** Experimental features, may break |
|
|
43
43
|
|
|
@@ -47,14 +47,36 @@ of port forwarding etc.
|
|
|
47
47
|
- **Early adopters**: Use **Alpha** (`alpha` branch) - currently level with Stable until the next pre-release lands
|
|
48
48
|
- **Developers/Testers**: Use **Testing** (`testing` branch) - bleeding edge, expect breakage
|
|
49
49
|
|
|
50
|
+
### Upgrading from 2.0.46
|
|
51
|
+
|
|
52
|
+
A few entities re-pair once on the first start after the update and lose their room assignment in the controller:
|
|
53
|
+
|
|
54
|
+
- leak and freeze `binary_sensor`s (now Contact Sensors by default) and any entity using the **On/Off Switch** override
|
|
55
|
+
- a light may drop its auto power/energy readout, re-add it by mapping the sensor by hand
|
|
56
|
+
|
|
57
|
+
Re-assign the affected devices to their rooms after they reconnect. See the [docs](https://riddix.github.io/home-assistant-matter-hub/supported-device-types) for detail.
|
|
58
|
+
|
|
50
59
|
---
|
|
51
60
|
|
|
52
61
|
## 🎉 What's New
|
|
53
62
|
|
|
54
63
|
<details>
|
|
55
|
-
<summary><strong>📦 Stable Features (v2.0.
|
|
64
|
+
<summary><strong>📦 Stable Features (v2.0.47)</strong> - Click to expand</summary>
|
|
56
65
|
|
|
57
|
-
**New in v2.0.
|
|
66
|
+
**New in v2.0.47:**
|
|
67
|
+
|
|
68
|
+
- 💧 Leak and freeze `binary_sensor`s now default to a Matter 1.3 **Contact Sensor** so Alexa stays stable; the Matter 1.4 Water Leak, Water Freeze, and Rain detector types are selectable per entity through the device-type override ([#365](https://github.com/RiDDiX/home-assistant-matter-hub/issues/365))
|
|
69
|
+
- 💡 **Lights no longer auto-attach power/energy clusters**; map a light's power or energy sensor explicitly with `powerEntity`/`energyEntity` if you want the readout ([#374](https://github.com/RiDDiX/home-assistant-matter-hub/issues/374))
|
|
70
|
+
- 🔘 The **On/Off Switch** device-type override now exposes a real On/Off Light instead of a no-op plug ([#380](https://github.com/RiDDiX/home-assistant-matter-hub/issues/380))
|
|
71
|
+
- 🔍 New **`manufacturer` entity-filter matcher** ([#382](https://github.com/RiDDiX/home-assistant-matter-hub/issues/382))
|
|
72
|
+
- 🌀 Opt-in: turning the **companion fan** off now turns the AC off too ([#309](https://github.com/RiDDiX/home-assistant-matter-hub/issues/309))
|
|
73
|
+
- 🩺 **Reliability & health**: configurable auto-recovery with failure timestamps, controller-compatibility warnings on each bridge page, and per-entity device-health on the dashboard
|
|
74
|
+
- 🖥️ **Standalone (non-vacuum) devices in server mode**, plus `lawn_mower` entities exposed as a robotic mower
|
|
75
|
+
- 🪟 Cover exposed as a **dimmable light** for Alexa routines ([#372](https://github.com/RiDDiX/home-assistant-matter-hub/issues/372)), per-entity **update throttle** ([#351](https://github.com/RiDDiX/home-assistant-matter-hub/issues/351)), **charging-state sensor** mapping ([#377](https://github.com/RiDDiX/home-assistant-matter-hub/issues/377))
|
|
76
|
+
- 📷 Experimental built-in **WebRTC camera plugin** (SmartThings-only, media path not verified yet)
|
|
77
|
+
- 🧵 **matter.js 0.17.3**
|
|
78
|
+
|
|
79
|
+
**Previously in v2.0.46:**
|
|
58
80
|
|
|
59
81
|
- ❄️ Opt-in **companion fan** for climate ACs: a per-entity toggle exposes the AC's fan as its own Matter fan endpoint, the setting is persisted, and fan-speed presets are now ordered low→high ([#309](https://github.com/RiDDiX/home-assistant-matter-hub/issues/309))
|
|
60
82
|
- 🌦️ **Weather domain support**: `weather.*` entities are exposed as a composed Temperature + Humidity + Pressure sensor read from the entity's attributes (pressure converted to hPa, shown on Google Home)
|
|
@@ -296,27 +318,42 @@ Matter Bridge, Multi-Fabric support, Health Monitoring, Bridge Wizard, AirQualit
|
|
|
296
318
|
|
|
297
319
|
| Home Assistant Domain | Matter Device Type | Feature Flags |
|
|
298
320
|
|-----------------------|-------------------|---------------|
|
|
299
|
-
| `light` | On/Off, Dimmable, Color Temp, Extended Color | `powerEntity`, `energyEntity` |
|
|
321
|
+
| `light` | On/Off, Dimmable, Color Temp, Extended Color | `powerEntity`, `energyEntity` (no longer auto-mapped, set explicitly if a light's energy readout disappears, [#374](https://github.com/RiDDiX/home-assistant-matter-hub/issues/374)), `coverExposeAsDimmableLight` ([#372](https://github.com/RiDDiX/home-assistant-matter-hub/issues/372)) |
|
|
300
322
|
| `switch`, `input_boolean` | On/Off Plug-in Unit | `powerEntity`, `energyEntity` |
|
|
301
323
|
| `lock` | Door Lock | PIN Credentials, Unlatch/Unbolt |
|
|
302
324
|
| `cover` | Window Covering | `coverSwapOpenClose` |
|
|
303
|
-
| `climate` | Thermostat | Battery via `batteryEntity` |
|
|
325
|
+
| `climate` | Thermostat | Battery via `batteryEntity`, `climateExposeFan` ([#309](https://github.com/RiDDiX/home-assistant-matter-hub/issues/309)) |
|
|
304
326
|
| `fan` | Fan, Air Purifier | Oscillation, Wind Modes, `filterLifeEntity` |
|
|
305
327
|
| `alarm_control_panel` | Mode Select | Arm/Disarm modes |
|
|
306
|
-
| `binary_sensor` | Contact, OnOff, Occupancy, Smoke/CO
|
|
328
|
+
| `binary_sensor` | Contact, OnOff, Occupancy, Smoke/CO | Leak/freeze default to Contact Sensor (Alexa-safe); the Matter 1.4 Water Leak/Freeze and Rain detector types are per-entity overrides ([#365](https://github.com/RiDDiX/home-assistant-matter-hub/issues/365)) |
|
|
307
329
|
| `sensor` | Temperature, Humidity, Pressure, Flow, Light, AirQuality | `batteryEntity`, `humidityEntity`, `pressureEntity` |
|
|
308
330
|
| `event` | Generic Switch (Doorbell, Button Events) | |
|
|
309
331
|
| `button`, `input_button` | Generic Switch | |
|
|
310
332
|
| `media_player` | Speaker, Basic Video Player (TV) | |
|
|
311
333
|
| `valve` | Water Valve, Pump | |
|
|
312
334
|
| `select`, `input_select` | Mode Select | |
|
|
313
|
-
| `vacuum` | Robot Vacuum Cleaner | `serverMode`, `roomEntities`, `batteryEntity`, `cleaningModeEntity`, `suctionLevelEntity`, `mopIntensityEntity`, `customServiceAreas`, `vacuumMinimalClusters` |
|
|
335
|
+
| `vacuum` | Robot Vacuum Cleaner | `serverMode`, `roomEntities`, `batteryEntity`, `cleaningModeEntity`, `suctionLevelEntity`, `mopIntensityEntity`, `customServiceAreas`, `vacuumMinimalClusters`, `chargingStateEntity` ([#377](https://github.com/RiDDiX/home-assistant-matter-hub/issues/377)) |
|
|
336
|
+
| `lawn_mower` | Robotic Lawn Mower (RVC-based) | reuses the robot-vacuum flags ([#301](https://github.com/RiDDiX/home-assistant-matter-hub/issues/301)) |
|
|
314
337
|
| `humidifier` | Humidifier/Dehumidifier | |
|
|
315
338
|
| `water_heater` | Thermostat (Heating) | |
|
|
316
|
-
| `automation`, `script`, `scene` | On/Off Switch | |
|
|
339
|
+
| `automation`, `script`, `scene` | On/Off Switch | The per-entity "On/Off Switch" override now produces a real `0x0100` On/Off Light (controllers render a switch), needs a one-time re-pair, and no longer carries power/energy fields ([#380](https://github.com/RiDDiX/home-assistant-matter-hub/issues/380)) |
|
|
317
340
|
|
|
318
341
|
> 📖 See [Supported Device Types Documentation](https://riddix.github.io/home-assistant-matter-hub/supported-device-types) for details
|
|
319
342
|
|
|
343
|
+
**Common per-entity flags:** `updateThrottleMs` rate-limits how often an entity pushes updates to controllers ([#351](https://github.com/RiDDiX/home-assistant-matter-hub/issues/351)), `coverExposeAsDimmableLight` exposes a cover as a dimmable light for Alexa routines ([#372](https://github.com/RiDDiX/home-assistant-matter-hub/issues/372)), `chargingStateEntity` maps a charging-state sensor ([#377](https://github.com/RiDDiX/home-assistant-matter-hub/issues/377)), `climateExposeFan` exposes a climate AC's fan as its own endpoint ([#309](https://github.com/RiDDiX/home-assistant-matter-hub/issues/309)).
|
|
344
|
+
|
|
345
|
+
### Entity Filters
|
|
346
|
+
|
|
347
|
+
Filter rules match on these matcher types: `pattern`, `regex`, `domain`, `platform`, `entity_label`, `device_label`, `entity_label_regex`, `device_label_regex`, `any_field_regex`, `area`, `entity_category`, `device_name`, `product_name`, `device_class`. The new **`manufacturer`** matcher matches the device manufacturer (or `default_manufacturer`) and supports `*` wildcards ([#382](https://github.com/RiDDiX/home-assistant-matter-hub/issues/382)).
|
|
348
|
+
|
|
349
|
+
### Reliability & Health
|
|
350
|
+
|
|
351
|
+
Configurable auto-recovery with failure timestamps in Settings, controller-compatibility warnings on each bridge page, per-entity device-health diagnostics on the health dashboard, and a warning when a bridge exposes device types its controller does not support.
|
|
352
|
+
|
|
353
|
+
### Experimental: Camera Plugin
|
|
354
|
+
|
|
355
|
+
A built-in plugin exposes Home Assistant cameras as Matter Cameras (`0x0142`). Experimental, SmartThings-only as of 2026, and the WebRTC media path is not verified end to end.
|
|
356
|
+
|
|
320
357
|
---
|
|
321
358
|
|
|
322
359
|
## 🤖 Robot Vacuum Server Mode
|
|
@@ -335,7 +372,7 @@ This is because these platforms expect robot vacuums to be **standalone Matter d
|
|
|
335
372
|
|
|
336
373
|
### The Solution: Server Mode
|
|
337
374
|
|
|
338
|
-
**Server Mode** exposes
|
|
375
|
+
**Server Mode** exposes a device as a standalone (non-bridged) Matter endpoint without the bridge wrapper. It works for any device type, not just vacuums, and a bridge can host standalone devices. For a robot vacuum this makes it fully compatible with Apple Home and Alexa.
|
|
339
376
|
|
|
340
377
|
### Setup Instructions
|
|
341
378
|
|
|
@@ -347,9 +384,9 @@ This is because these platforms expect robot vacuums to be **standalone Matter d
|
|
|
347
384
|
|
|
348
385
|
### Important Notes
|
|
349
386
|
|
|
350
|
-
- Server Mode
|
|
351
|
-
-
|
|
352
|
-
- Other device types (lights, switches, sensors) work
|
|
387
|
+
- A Server Mode node exposes each device as a standalone endpoint, up to 10 per node; extra entities are skipped
|
|
388
|
+
- For best results give a robot vacuum its own dedicated Server Mode bridge
|
|
389
|
+
- Other device types (lights, switches, sensors) also work on regular bridges
|
|
353
390
|
- After switching to Server Mode, Siri commands like "Hey Siri, start the vacuum" will work
|
|
354
391
|
|
|
355
392
|
### Documentation
|
package/dist/backend/cli.js
CHANGED
|
@@ -129885,6 +129885,18 @@ function detectEnvironment2() {
|
|
|
129885
129885
|
}
|
|
129886
129886
|
return "Standalone";
|
|
129887
129887
|
}
|
|
129888
|
+
function toUpdateCheckResponse(version2, data, environment) {
|
|
129889
|
+
const latestVersion = data.tag_name.replace(/^v/, "");
|
|
129890
|
+
return {
|
|
129891
|
+
currentVersion: version2,
|
|
129892
|
+
latestVersion,
|
|
129893
|
+
updateAvailable: version2 !== "0.0.0-dev" && latestVersion !== version2,
|
|
129894
|
+
releaseUrl: data.html_url,
|
|
129895
|
+
publishedAt: data.published_at,
|
|
129896
|
+
releaseNotes: data.body || void 0,
|
|
129897
|
+
environment
|
|
129898
|
+
};
|
|
129899
|
+
}
|
|
129888
129900
|
function systemApi(version2) {
|
|
129889
129901
|
const router = express15.Router();
|
|
129890
129902
|
router.get("/update-check", async (_req, res) => {
|
|
@@ -129901,17 +129913,7 @@ function systemApi(version2) {
|
|
|
129901
129913
|
return;
|
|
129902
129914
|
}
|
|
129903
129915
|
const data = await response.json();
|
|
129904
|
-
|
|
129905
|
-
const updateAvailable = version2 !== "0.0.0-dev" && latestVersion !== version2;
|
|
129906
|
-
res.json({
|
|
129907
|
-
currentVersion: version2,
|
|
129908
|
-
latestVersion,
|
|
129909
|
-
updateAvailable,
|
|
129910
|
-
releaseUrl: data.html_url,
|
|
129911
|
-
publishedAt: data.published_at,
|
|
129912
|
-
releaseNotes: data.body ? data.body.substring(0, 500) : void 0,
|
|
129913
|
-
environment: detectEnvironment2()
|
|
129914
|
-
});
|
|
129916
|
+
res.json(toUpdateCheckResponse(version2, data, detectEnvironment2()));
|
|
129915
129917
|
} catch (error) {
|
|
129916
129918
|
logger169.error("Failed to check for updates:", error);
|
|
129917
129919
|
res.status(500).json({ error: "Failed to check for updates" });
|