@homebridge-plugins/homebridge-govee 11.32.2-beta.24 → 11.32.2-beta.26
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 +2 -1
- package/lib/device/sensor-basic.js +2 -4
- package/lib/utils/constants.js +4 -1
- package/lib/utils/dispatch.js +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,7 @@ All notable changes to `@homebridge-plugins/homebridge-govee` will be documented
|
|
|
6
6
|
|
|
7
7
|
### Changed
|
|
8
8
|
|
|
9
|
+
- fix: stop shipping the test files to npm, since they are only needed in the repository
|
|
9
10
|
- fix: implement the H7107's oscillation toggle, which threw a not-implemented error when tapped (#1334)
|
|
10
11
|
- 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
12
|
- fix: send the H7107's oscillation-off command without the swing-range bytes, matching the zero-tailed frame the fan echoes back (#1334)
|
|
@@ -20,7 +21,6 @@ All notable changes to `@homebridge-plugins/homebridge-govee` will be documented
|
|
|
20
21
|
- feat: add the H7103 and H7112 fans and the H5085 plug, with unknown controls saying so instead of guessing
|
|
21
22
|
- feat: give every appliance type a starting handler, so a new model works for on and off and asks for the rest
|
|
22
23
|
- refactor: point models that behave identically at one shared handler instead of copies of the same file
|
|
23
|
-
- fix: stop shipping the test files to npm, since they are only needed in the repository
|
|
24
24
|
- fix: refuse to send a bluetooth command too long to fit in a packet, rather than sending a longer one the device quietly ignores
|
|
25
25
|
- test: record what every supported model turns into, so a change can be shown to have altered nothing
|
|
26
26
|
- feat: work out what an appliance can do from what the device itself reports, so a model nobody has written down still gets the right controls
|
|
@@ -43,6 +43,7 @@ All notable changes to `@homebridge-plugins/homebridge-govee` will be documented
|
|
|
43
43
|
- refactor: give every device one shared starting point, so the way a failed command is reported and undone is decided in one place rather than a hundred
|
|
44
44
|
- feat: recognise eleven more meat thermometers, which report what they send so their readings can be worked out, and stop the one already known printing its whole update as a warning
|
|
45
45
|
- feat: add the H5161 power strip and give the H7184 kitchen composter an on and off switch
|
|
46
|
+
- feat: recognise three more sensors, which report what they send, and say plainly in the log why a sensor has no tile yet
|
|
46
47
|
|
|
47
48
|
## v11.32.1 (2026-08-02)
|
|
48
49
|
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import platformLang from '../utils/lang-en.js'
|
|
2
1
|
import { logUnknownData } from '../utils/report-unknown.js'
|
|
3
2
|
import GoveeDevice from './base.js'
|
|
4
3
|
|
|
@@ -12,9 +11,8 @@ import GoveeDevice from './base.js'
|
|
|
12
11
|
export default class GoveeSensorBasic extends GoveeDevice {
|
|
13
12
|
constructor(platform, accessory) {
|
|
14
13
|
super(platform, accessory)
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
platform.log('[%s] %s %s.', accessory.displayName, platformLang.devInitOpts, opts)
|
|
14
|
+
this.logInitOptions({})
|
|
15
|
+
this.accessory.log('this sensor\'s readings are not understood yet, so it has no tiles - the lines below are what is needed to add them')
|
|
18
16
|
}
|
|
19
17
|
|
|
20
18
|
externalUpdate(params) {
|
package/lib/utils/constants.js
CHANGED
|
@@ -691,7 +691,10 @@ export default {
|
|
|
691
691
|
diffuser: ['H7161', 'H7162'],
|
|
692
692
|
iceMaker: ['H7172', 'H717D', 'H8102', 'H8120', 'H8121', 'H8122', 'H8131'],
|
|
693
693
|
sensorButton: ['H5122'],
|
|
694
|
-
sensorContact: ['H5123'],
|
|
694
|
+
sensorContact: ['H5023', 'H5123'],
|
|
695
|
+
// Sensors whose readings are not worked out yet, so they report what
|
|
696
|
+
// they send rather than showing a tile that never changes
|
|
697
|
+
sensorUnknown: ['H5026', 'H5130'],
|
|
695
698
|
sensorPresence: ['H5127'],
|
|
696
699
|
kettle: ['H7170', 'H7171', 'H7173', 'H7175', 'H717A'],
|
|
697
700
|
template: [
|
package/lib/utils/dispatch.js
CHANGED
|
@@ -58,6 +58,7 @@ const routes = [
|
|
|
58
58
|
{ list: 'diffuser', prefix: 'deviceDiffuser', fallback: 'deviceDiffuserBasic', awsPolling: true },
|
|
59
59
|
{ list: 'sensorButton', handler: 'deviceSensorButton' },
|
|
60
60
|
{ list: 'sensorContact', handler: 'deviceSensorContact' },
|
|
61
|
+
{ list: 'sensorUnknown', handler: 'deviceSensorBasic' },
|
|
61
62
|
{ list: 'kettle', handler: 'deviceKettle' },
|
|
62
63
|
{ list: 'iceMaker', prefix: 'deviceIceMaker', fallback: 'deviceIceMakerBasic' },
|
|
63
64
|
{ list: 'template', handler: 'deviceTemplate' },
|
package/package.json
CHANGED