homebridge-lib 6.7.0 → 6.7.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/lib/MyHomeKitTypes.js +34 -0
- package/package.json +3 -3
package/lib/MyHomeKitTypes.js
CHANGED
|
@@ -135,6 +135,10 @@ class MyHomeKitTypes extends CustomHomeKitTypes {
|
|
|
135
135
|
* @property {Class} MorningMode - Move the blinds slowly, making less
|
|
136
136
|
* noise.
|
|
137
137
|
* <br>Used by: homebridge-sc, homebridge-soma in Window Covering service.
|
|
138
|
+
* @property {Class} MusicLevel - Music surround level.
|
|
139
|
+
* <br>Used by: homebridge-zp in Speaker service.
|
|
140
|
+
* @property {Class} MusicPlaybackFull - Surround music playback full.
|
|
141
|
+
* <br>Used by: homebridge-zp in Speaker service.
|
|
138
142
|
* @property {Class} NightlightEffect - Enabled/disable nightlight dynamic effect.
|
|
139
143
|
* <br>Used by: homebridge-deconz.
|
|
140
144
|
* @property {Class} NightSound - Audio night sound.
|
|
@@ -203,6 +207,8 @@ class MyHomeKitTypes extends CustomHomeKitTypes {
|
|
|
203
207
|
* <br>Used by: homebridge-hue, homebridge-ws.
|
|
204
208
|
* @property {Class} SunsetEffect - Enabled/disable sunset dynamic effect.
|
|
205
209
|
* <br>Used by: homebridge-deconz.
|
|
210
|
+
* @property {Class} SurroundEnabled - Enabled/disable surround speakers.
|
|
211
|
+
* <br>Used by: homebridge-zp in Speaker service.
|
|
206
212
|
* @property {Class} Tariff - Electricity tariff (normal vs low).
|
|
207
213
|
* <br>Used by: homebridge-p1 in Electricity service.
|
|
208
214
|
* @property {Class} TemperatureMax - Maximum temperature.
|
|
@@ -228,6 +234,8 @@ class MyHomeKitTypes extends CustomHomeKitTypes {
|
|
|
228
234
|
* <br>Used by: homebridge-zp in Speaker service.
|
|
229
235
|
* @property {Class} Tv - TV input active.
|
|
230
236
|
* <br>Used by: homebridge-zp in Sonos service.
|
|
237
|
+
* @property {Class} TvLevel - TV surround level.
|
|
238
|
+
* <br>Used by: homebridge-zp in Speaker service.
|
|
231
239
|
* @property {Class} UniqueID - Used by Hue app to sync room assignments
|
|
232
240
|
* for lights.
|
|
233
241
|
* @property {Class} Unlatch - Unlatch the door.
|
|
@@ -875,6 +883,32 @@ class MyHomeKitTypes extends CustomHomeKitTypes {
|
|
|
875
883
|
perms: [this.Perms.PAIRED_READ, this.Perms.NOTIFY, this.Perms.PAIRED_WRITE]
|
|
876
884
|
}, 'Glisten')
|
|
877
885
|
|
|
886
|
+
this.createCharacteristicClass('SurroundEnabled', uuid('08C'), {
|
|
887
|
+
format: this.Formats.BOOL,
|
|
888
|
+
perms: [this.Perms.PAIRED_READ, this.Perms.NOTIFY, this.Perms.PAIRED_WRITE]
|
|
889
|
+
}, 'Surround Enabled')
|
|
890
|
+
|
|
891
|
+
this.createCharacteristicClass('TvLevel', uuid('08D'), {
|
|
892
|
+
format: this.Formats.INT,
|
|
893
|
+
minValue: -15,
|
|
894
|
+
maxValue: 15,
|
|
895
|
+
minStep: 1,
|
|
896
|
+
perms: [this.Perms.PAIRED_READ, this.Perms.NOTIFY, this.Perms.PAIRED_WRITE]
|
|
897
|
+
}, 'TV Level')
|
|
898
|
+
|
|
899
|
+
this.createCharacteristicClass('MusicLevel', uuid('08E'), {
|
|
900
|
+
format: this.Formats.INT,
|
|
901
|
+
minValue: -15,
|
|
902
|
+
maxValue: 15,
|
|
903
|
+
minStep: 1,
|
|
904
|
+
perms: [this.Perms.PAIRED_READ, this.Perms.NOTIFY, this.Perms.PAIRED_WRITE]
|
|
905
|
+
}, 'Music Level')
|
|
906
|
+
|
|
907
|
+
this.createCharacteristicClass('MusicPlaybackFull', uuid('08F'), {
|
|
908
|
+
format: this.Formats.BOOL,
|
|
909
|
+
perms: [this.Perms.PAIRED_READ, this.Perms.NOTIFY, this.Perms.PAIRED_WRITE]
|
|
910
|
+
}, 'Music Playback Full')
|
|
911
|
+
|
|
878
912
|
// Characteristic for Unique ID, used by homebridge-hue.
|
|
879
913
|
// Source: as exposed by the Philips Hue bridge. This characteristic is
|
|
880
914
|
// used by the Hue app to select the accessories when syncing Hue bridge
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Library for homebridge plugins",
|
|
4
4
|
"author": "Erik Baauw",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
|
-
"version": "6.7.
|
|
6
|
+
"version": "6.7.2",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"homekit",
|
|
9
9
|
"homebridge"
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
},
|
|
23
23
|
"engines": {
|
|
24
24
|
"homebridge": "^1.7.0",
|
|
25
|
-
"node": "20.
|
|
25
|
+
"node": "20.10.0||^20||^18"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@homebridge/plugin-ui-utils": "~1.0.0",
|
|
29
|
-
"hb-lib-tools": "~1.2.
|
|
29
|
+
"hb-lib-tools": "~1.2.1"
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
32
32
|
"prepare": "standard && rm -rf out && jsdoc -c jsdoc.json",
|