You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't see your device, or a capability is missing? [Open an issue](https://github.com/lasswellt/govee-homeassistant/issues) with a diagnostics download (see [Diagnostics](#diagnostics--debug-logging)).
39
39
@@ -70,7 +70,7 @@ The API key alone gives you device control and **polling** for state.
70
70
In the same setup flow you can enter your **Govee account email and password**. This enables:
71
71
72
72
-**Real‑time push updates** over AWS IoT MQTT (no waiting for the next poll)
73
-
-**Leak‑sensor support** (H5058 via an H5043/H5044 hub)
73
+
-**Leak‑sensor support** (H5058 / H5059, and other LoRa leak sensors, via an H5043/H5044 hub)
The Developer-API `event` capability above is only the **definition**. Live leak state does **not** arrive via the state poll — it is pushed over AWS IoT MQTT as a `multiSync` message from the **hub** (H5043/H5044), carrying BLE-format sensor packets (base64) in `op.command[]`. Each packet is 20 bytes:
-**H5059** reports wet in bytes `14`/`16`; earlier SKUs (H5058) were decoded off byte `5`. The OR keeps both working.
2322
+
- Button-press packets (`0x32`) encode the sensor MAC in bytes `2..9`**reverse byte order**, not a slot number.
2323
+
- The `(hub, sno) → sensor_id` map is built from the account/BFF device list; a sensor whose SKU is absent from `LEAK_SENSOR_SKUS` is dropped before the map is built, so its events log as "unknown sensor". Supported SKUs: `H5058`, `H5054`, `H5055`, `H5059`; hubs: `H5043`, `H5044`.
2324
+
- Full derivation: `docs/_research/2026-06-04_h5059-h5044-leak-sensor-support.md`.
2325
+
2303
2326
#### H5054 — Water Detector (NOT in Developer API)
2304
2327
2305
2328
The H5054 water detector is **not returned by the Developer API** (the API-key `/user/devices` endpoint this integration's discovery uses), so it never appears via the standard path. It is only exposed through the **app/account API** (same path the H5058 leak sensor uses). Confirmed in issue #62: a full integration diagnostics dump omitted the user's H5054s entirely, while their Homebridge account-based client enumerated all 10.
0 commit comments