@homebridge-plugins/homebridge-govee 11.32.2-beta.29 → 11.32.2-beta.30
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 -1
- package/lib/connection/ble.js +22 -19
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -45,7 +45,7 @@ All notable changes to `@homebridge-plugins/homebridge-govee` will be documented
|
|
|
45
45
|
- feat: add the H5161 power strip and give the H7184 kitchen composter an on and off switch
|
|
46
46
|
- feat: recognise three more sensors, which report what they send, and say plainly in the log why a sensor has no tile yet
|
|
47
47
|
- feat: add ble encryption for the H3001 solar string lights, which silently ignore unencrypted frames (#1328) (@dominick-han)
|
|
48
|
-
- fix:
|
|
48
|
+
- fix: mention an unrecognised bluetooth broadcast once, and only when the device is on your own account, since a scan also hears the neighbours
|
|
49
49
|
|
|
50
50
|
## v11.32.1 (2026-08-02)
|
|
51
51
|
|
package/lib/connection/ble.js
CHANGED
|
@@ -134,25 +134,28 @@ export default class BLEConnection {
|
|
|
134
134
|
? advertisement.manufacturerData.toString('hex')
|
|
135
135
|
: 'no manufacturer data'
|
|
136
136
|
|
|
137
|
-
//
|
|
138
|
-
//
|
|
139
|
-
//
|
|
140
|
-
//
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
137
|
+
// A device rebroadcasts constantly, so say this once and then stay
|
|
138
|
+
// quiet about it for the rest of the session. This has to come first:
|
|
139
|
+
// gating it on the warning below would leave every other broadcast
|
|
140
|
+
// ungoverned, and a debug log would fill with the same line.
|
|
141
|
+
if (isFirstReport(`ble|${address}|${raw}`)) {
|
|
142
|
+
const line = `[BLE] unrecognised broadcast from a govee device - please include this line if you report it: ${JSON.stringify({
|
|
143
|
+
name: unknownName,
|
|
144
|
+
address,
|
|
145
|
+
source: 'BLE',
|
|
146
|
+
kind: 'broadcast',
|
|
147
|
+
raw,
|
|
148
|
+
})}`
|
|
149
|
+
|
|
150
|
+
// Bluetooth is a broadcast medium, so this scan hears every Govee
|
|
151
|
+
// device in range - including a neighbour's, which is not something
|
|
152
|
+
// the owner can do anything about. Only a device on this account is
|
|
153
|
+
// worth putting in front of them.
|
|
154
|
+
if (this.platform.hasBleDevice(address)) {
|
|
155
|
+
this.log.warn(line)
|
|
156
|
+
} else {
|
|
157
|
+
this.log.debug(line)
|
|
158
|
+
}
|
|
156
159
|
}
|
|
157
160
|
}
|
|
158
161
|
return
|
package/package.json
CHANGED