homebridge-lib 7.0.7 → 7.0.9
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/lib/MyHomeKitTypes.js +40 -3
- package/package.json +3 -3
package/lib/MyHomeKitTypes.js
CHANGED
|
@@ -66,6 +66,8 @@ class MyHomeKitTypes extends CustomHomeKitTypes {
|
|
|
66
66
|
* <br>Used by: homebridge-hue.
|
|
67
67
|
* @property {Class} ColorLoopSpeed - Speed (in sec) of color loop effect.
|
|
68
68
|
* <br>Used by: homebridge-hue.
|
|
69
|
+
* @property {Class} CosmosEffect - Enabled/disable cosmos dynamic effect.
|
|
70
|
+
* <br>Used by: homebridge-deconz, homebridge-hue2.
|
|
69
71
|
* @property {Class} ContinuousMode - Continuous Mode active.
|
|
70
72
|
* <br>Used by: homebridge-nb.
|
|
71
73
|
* @property {Class} CpuFrequency - CPU clock speed (in MHz).
|
|
@@ -98,6 +100,8 @@ class MyHomeKitTypes extends CustomHomeKitTypes {
|
|
|
98
100
|
* <br>Used by: homebridge-hue.
|
|
99
101
|
* @property {Class} Enabled - Enable/disable service.
|
|
100
102
|
* <br>Used by: homebridge-hue.
|
|
103
|
+
* @property {Class} EnchantEffect - Enabled/disable enchant dynamic effect.
|
|
104
|
+
* <br>Used by: homebridge-deconz, homebridge-hue2.
|
|
101
105
|
* @property {Class} Expose - Expose device to HomeKit.
|
|
102
106
|
* <br>Used by: homebridge-deconz, homebridge-hue2.
|
|
103
107
|
* @property {Class} ExposeGroups - Expose groups to HomeKit.
|
|
@@ -108,7 +112,10 @@ class MyHomeKitTypes extends CustomHomeKitTypes {
|
|
|
108
112
|
* <br>Used by: homebridge-deconz, homebridge-hue2.
|
|
109
113
|
* @property {Class} ExposeSensors - Expose sensors devices to HomeKit.
|
|
110
114
|
* <br>Used by: homebridge-deconz, homebridge-hue2.
|
|
111
|
-
* @property {Class}
|
|
115
|
+
* @property {Class} FireEffect - Enabled/disable fire dynamic effect.
|
|
116
|
+
* <br>Used by: homebridge-deconz, homebridge-hue2.
|
|
117
|
+
* @property {Class} FireplaceEffect - Enabled/disable fire dynamic effect.
|
|
118
|
+
* <br>Deprecated - use `FireEffect`.
|
|
112
119
|
* <br>Used by: homebridge-deconz, homebridge-hue2.
|
|
113
120
|
* @property {Class} GlistenEffect - Enabled/disable glisten dynamic effect.
|
|
114
121
|
* <br>Used by: homebridge-deconz, homebridge-hue2.
|
|
@@ -134,7 +141,7 @@ class MyHomeKitTypes extends CustomHomeKitTypes {
|
|
|
134
141
|
* <br>Deprecated - use `hap.LockPhysicalControls`.
|
|
135
142
|
* <br>Previously used by homebridge-hue for Thermostat sensor.
|
|
136
143
|
* @property {Class} LogLevel - Level of logging.
|
|
137
|
-
* @property {Class} LoopEffect - Enabled/disable
|
|
144
|
+
* @property {Class} LoopEffect - Enabled/disable prism dynamic effect.
|
|
138
145
|
* <br>Deprecated - use `PrismEffect`.
|
|
139
146
|
* <br>Used by: homebridge-deconz, homebridge-hue2.
|
|
140
147
|
* @property {Class} Loudness - Audio loudness.
|
|
@@ -212,6 +219,8 @@ class MyHomeKitTypes extends CustomHomeKitTypes {
|
|
|
212
219
|
* <br>Used by: homebridge-zp in Speaker service.
|
|
213
220
|
* @property {Class} SubLevel - Level for the Sub.
|
|
214
221
|
* <br>Used by: homebridge-zp in Speaker service.
|
|
222
|
+
* @property {Class} SunbeamEffect - Enabled/disable sunbeam dynamic effect.
|
|
223
|
+
* <br>Used by: homebridge-deconz, homebridge-hue2.
|
|
215
224
|
* @property {Class} Sunrise - Date/time of today's sun rise.
|
|
216
225
|
* <br>Used by: homebridge-hue, homebridge-ws.
|
|
217
226
|
* @property {Class} SunriseEffect - Enabled/disable sunrise dynamic effect.
|
|
@@ -251,6 +260,8 @@ class MyHomeKitTypes extends CustomHomeKitTypes {
|
|
|
251
260
|
* <br>Used by: homebridge-zp in Sonos service.
|
|
252
261
|
* @property {Class} TvLevel - TV surround level.
|
|
253
262
|
* <br>Used by: homebridge-zp in Speaker service.
|
|
263
|
+
* @property {Class} UnderwaterEffect - Enabled/disable underwater dynamic effect.
|
|
264
|
+
* <br>Used by: homebridge-deconz, homebridge-hue2.
|
|
254
265
|
* @property {Class} UniqueID - Used by Hue app to sync room assignments
|
|
255
266
|
* for lights.
|
|
256
267
|
* @property {Class} Unlatch - Unlatch the door.
|
|
@@ -832,7 +843,12 @@ class MyHomeKitTypes extends CustomHomeKitTypes {
|
|
|
832
843
|
this.createCharacteristicClass('FireplaceEffect', uuid('080'), {
|
|
833
844
|
format: this.Formats.BOOL,
|
|
834
845
|
perms: [this.Perms.PAIRED_READ, this.Perms.NOTIFY, this.Perms.PAIRED_WRITE]
|
|
835
|
-
}, 'Fire
|
|
846
|
+
}, 'Fire')
|
|
847
|
+
|
|
848
|
+
this.createCharacteristicClass('FireEffect', uuid('080'), {
|
|
849
|
+
format: this.Formats.BOOL,
|
|
850
|
+
perms: [this.Perms.PAIRED_READ, this.Perms.NOTIFY, this.Perms.PAIRED_WRITE]
|
|
851
|
+
}, 'Fire')
|
|
836
852
|
|
|
837
853
|
this.createCharacteristicClass('LoopEffect', uuid('081'), {
|
|
838
854
|
format: this.Formats.BOOL,
|
|
@@ -951,6 +967,7 @@ class MyHomeKitTypes extends CustomHomeKitTypes {
|
|
|
951
967
|
|
|
952
968
|
this.createCharacteristicClass('SwapUsage', uuid('093'), {
|
|
953
969
|
format: this.Formats.INT,
|
|
970
|
+
unit: this.Units.PERCENTAGE,
|
|
954
971
|
minValue: 0,
|
|
955
972
|
maxValue: 100,
|
|
956
973
|
minStep: 1,
|
|
@@ -963,6 +980,26 @@ class MyHomeKitTypes extends CustomHomeKitTypes {
|
|
|
963
980
|
adminOnlyAccess: [this.Access.WRITE]
|
|
964
981
|
})
|
|
965
982
|
|
|
983
|
+
this.createCharacteristicClass('CosmosEffect', uuid('095'), {
|
|
984
|
+
format: this.Formats.BOOL,
|
|
985
|
+
perms: [this.Perms.PAIRED_READ, this.Perms.NOTIFY, this.Perms.PAIRED_WRITE]
|
|
986
|
+
}, 'Cosmos')
|
|
987
|
+
|
|
988
|
+
this.createCharacteristicClass('EnchantEffect', uuid('096'), {
|
|
989
|
+
format: this.Formats.BOOL,
|
|
990
|
+
perms: [this.Perms.PAIRED_READ, this.Perms.NOTIFY, this.Perms.PAIRED_WRITE]
|
|
991
|
+
}, 'Enchant')
|
|
992
|
+
|
|
993
|
+
this.createCharacteristicClass('SunbeamEffect', uuid('097'), {
|
|
994
|
+
format: this.Formats.BOOL,
|
|
995
|
+
perms: [this.Perms.PAIRED_READ, this.Perms.NOTIFY, this.Perms.PAIRED_WRITE]
|
|
996
|
+
}, 'Sunbeam')
|
|
997
|
+
|
|
998
|
+
this.createCharacteristicClass('UnderwaterEffect', uuid('098'), {
|
|
999
|
+
format: this.Formats.BOOL,
|
|
1000
|
+
perms: [this.Perms.PAIRED_READ, this.Perms.NOTIFY, this.Perms.PAIRED_WRITE]
|
|
1001
|
+
}, 'Underwater')
|
|
1002
|
+
|
|
966
1003
|
// Characteristic for Unique ID, used by homebridge-hue.
|
|
967
1004
|
// Source: as exposed by the Philips Hue bridge. This characteristic is
|
|
968
1005
|
// used by the Hue app to select the accessories when syncing Hue bridge
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"ebaauw"
|
|
7
7
|
],
|
|
8
8
|
"license": "Apache-2.0",
|
|
9
|
-
"version": "7.0.
|
|
9
|
+
"version": "7.0.9",
|
|
10
10
|
"keywords": [
|
|
11
11
|
"homekit",
|
|
12
12
|
"homebridge"
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
},
|
|
31
31
|
"engines": {
|
|
32
32
|
"homebridge": "^1.8.4||^2.0.0-beta",
|
|
33
|
-
"node": "20.
|
|
33
|
+
"node": "20.18.0||^22||^20||^18"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@homebridge/plugin-ui-utils": "~1.0.3",
|
|
37
|
-
"hb-lib-tools": "~2.0.
|
|
37
|
+
"hb-lib-tools": "~2.0.6"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"prepare": "standard && rm -rf out && jsdoc -c jsdoc.json",
|