@homebridge-plugins/homebridge-govee 11.32.2-beta.1 → 11.32.2-beta.2
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/CHANGELOG.md +1 -0
- package/lib/device/fan-H7107.js +9 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,7 @@ All notable changes to `@homebridge-plugins/homebridge-govee` will be documented
|
|
|
8
8
|
|
|
9
9
|
- fix: implement the H7107's oscillation toggle, which threw a not-implemented error when tapped (#1334)
|
|
10
10
|
- fix: also send the H7107's oscillation command as the multiSync frame the fan itself uses, since the first shape only turned it off sometimes (#1334)
|
|
11
|
+
- fix: send the H7107's oscillation-off command without the swing-range bytes, matching the zero-tailed frame the fan echoes back (#1334)
|
|
11
12
|
|
|
12
13
|
## v11.32.1 (2026-08-02)
|
|
13
14
|
|
package/lib/device/fan-H7107.js
CHANGED
|
@@ -210,12 +210,15 @@ export default class {
|
|
|
210
210
|
return
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
-
// The AWS code mirrors the device's own `aa1d..` oscillation report
|
|
214
|
-
//
|
|
215
|
-
//
|
|
216
|
-
//
|
|
217
|
-
//
|
|
218
|
-
|
|
213
|
+
// The AWS code mirrors the device's own `aa1d..` oscillation report.
|
|
214
|
+
// Turning ON carries over the swing-range bytes from the last report
|
|
215
|
+
// seen, which hardware-confirmed works. Turning OFF must NOT carry
|
|
216
|
+
// them: the fan answered a parameterised off command by echoing back a
|
|
217
|
+
// zero-tailed `331d00..` frame while continuing to oscillate — its own
|
|
218
|
+
// way of showing the shape it expects (#1334). Mirroring a status code
|
|
219
|
+
// is not guaranteed on every model, so the documented OpenAPI
|
|
220
|
+
// oscillation toggle is also sent when the device advertises it
|
|
221
|
+
const tailBytes = value && this.cacheSwingCode
|
|
219
222
|
? this.cacheSwingCode.slice(6, 14).match(/.{1,2}/g).map(byte => Number.parseInt(byte, 16))
|
|
220
223
|
: []
|
|
221
224
|
await this.platform.sendDeviceUpdate(this.accessory, {
|
package/package.json
CHANGED