@homebridge-plugins/homebridge-govee 11.27.1 → 11.27.2-beta.0
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 +6 -0
- package/lib/connection/lan.js +6 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@homebridge-plugins/homebridge-govee` will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## v11.27.2 (Pending Release)
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- fix: use the sender address when a lan scan response omits the ip field (#1313) (@seandavidtm)
|
|
10
|
+
|
|
5
11
|
## v11.27.1 (2026-07-15)
|
|
6
12
|
|
|
7
13
|
### Changed
|
package/lib/connection/lan.js
CHANGED
|
@@ -106,6 +106,12 @@ export default class {
|
|
|
106
106
|
this.latestDeviceScanTimestamp = Date.now()
|
|
107
107
|
const deviceData = message.msg.data
|
|
108
108
|
|
|
109
|
+
// Some models (e.g. R16D0) omit the ip field from their scan response,
|
|
110
|
+
// so fall back to the address the response actually came from (#1313)
|
|
111
|
+
if (!deviceData.ip && rinfo?.address) {
|
|
112
|
+
deviceData.ip = rinfo.address
|
|
113
|
+
}
|
|
114
|
+
|
|
109
115
|
const existingIndex = this.lanDevices.findIndex(value => value.device === deviceData.device)
|
|
110
116
|
|
|
111
117
|
if (existingIndex === -1) {
|
package/package.json
CHANGED