homebridge-lib 6.7.1 → 6.7.3
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 +44 -0
- package/package.json +1 -1
package/lib/MyHomeKitTypes.js
CHANGED
|
@@ -106,6 +106,8 @@ class MyHomeKitTypes extends CustomHomeKitTypes {
|
|
|
106
106
|
* @property {Class} Heartrate - Refresh rate.
|
|
107
107
|
* <br>Used by: homebridge-hue in HueBridge service,
|
|
108
108
|
* by Homebridge-soma, by Homebridge-rpi, by Homebridge-ws.
|
|
109
|
+
* @property {Class} HeightLevel - Height channel level.
|
|
110
|
+
* <br>Used by: homebridge-zp in Speaker service.
|
|
109
111
|
* @property {Class} LastBoot - Date/time of last device boot.
|
|
110
112
|
* <br>Used by: homebridge-hue, homebridge-rpi.
|
|
111
113
|
* @property {Class} LastEvent - Last Daylight event (e.g. Noon).
|
|
@@ -135,6 +137,10 @@ class MyHomeKitTypes extends CustomHomeKitTypes {
|
|
|
135
137
|
* @property {Class} MorningMode - Move the blinds slowly, making less
|
|
136
138
|
* noise.
|
|
137
139
|
* <br>Used by: homebridge-sc, homebridge-soma in Window Covering service.
|
|
140
|
+
* @property {Class} MusicLevel - Music surround level.
|
|
141
|
+
* <br>Used by: homebridge-zp in Speaker service.
|
|
142
|
+
* @property {Class} MusicPlaybackFull - Surround music playback full.
|
|
143
|
+
* <br>Used by: homebridge-zp in Speaker service.
|
|
138
144
|
* @property {Class} NightlightEffect - Enabled/disable nightlight dynamic effect.
|
|
139
145
|
* <br>Used by: homebridge-deconz.
|
|
140
146
|
* @property {Class} NightSound - Audio night sound.
|
|
@@ -203,6 +209,8 @@ class MyHomeKitTypes extends CustomHomeKitTypes {
|
|
|
203
209
|
* <br>Used by: homebridge-hue, homebridge-ws.
|
|
204
210
|
* @property {Class} SunsetEffect - Enabled/disable sunset dynamic effect.
|
|
205
211
|
* <br>Used by: homebridge-deconz.
|
|
212
|
+
* @property {Class} SurroundEnabled - Enabled/disable surround speakers.
|
|
213
|
+
* <br>Used by: homebridge-zp in Speaker service.
|
|
206
214
|
* @property {Class} Tariff - Electricity tariff (normal vs low).
|
|
207
215
|
* <br>Used by: homebridge-p1 in Electricity service.
|
|
208
216
|
* @property {Class} TemperatureMax - Maximum temperature.
|
|
@@ -228,6 +236,8 @@ class MyHomeKitTypes extends CustomHomeKitTypes {
|
|
|
228
236
|
* <br>Used by: homebridge-zp in Speaker service.
|
|
229
237
|
* @property {Class} Tv - TV input active.
|
|
230
238
|
* <br>Used by: homebridge-zp in Sonos service.
|
|
239
|
+
* @property {Class} TvLevel - TV surround level.
|
|
240
|
+
* <br>Used by: homebridge-zp in Speaker service.
|
|
231
241
|
* @property {Class} UniqueID - Used by Hue app to sync room assignments
|
|
232
242
|
* for lights.
|
|
233
243
|
* @property {Class} Unlatch - Unlatch the door.
|
|
@@ -875,6 +885,40 @@ class MyHomeKitTypes extends CustomHomeKitTypes {
|
|
|
875
885
|
perms: [this.Perms.PAIRED_READ, this.Perms.NOTIFY, this.Perms.PAIRED_WRITE]
|
|
876
886
|
}, 'Glisten')
|
|
877
887
|
|
|
888
|
+
this.createCharacteristicClass('SurroundEnabled', uuid('08C'), {
|
|
889
|
+
format: this.Formats.BOOL,
|
|
890
|
+
perms: [this.Perms.PAIRED_READ, this.Perms.NOTIFY, this.Perms.PAIRED_WRITE]
|
|
891
|
+
}, 'Surround Enabled')
|
|
892
|
+
|
|
893
|
+
this.createCharacteristicClass('TvLevel', uuid('08D'), {
|
|
894
|
+
format: this.Formats.INT,
|
|
895
|
+
minValue: -15,
|
|
896
|
+
maxValue: 15,
|
|
897
|
+
minStep: 1,
|
|
898
|
+
perms: [this.Perms.PAIRED_READ, this.Perms.NOTIFY, this.Perms.PAIRED_WRITE]
|
|
899
|
+
}, 'TV Level')
|
|
900
|
+
|
|
901
|
+
this.createCharacteristicClass('MusicLevel', uuid('08E'), {
|
|
902
|
+
format: this.Formats.INT,
|
|
903
|
+
minValue: -15,
|
|
904
|
+
maxValue: 15,
|
|
905
|
+
minStep: 1,
|
|
906
|
+
perms: [this.Perms.PAIRED_READ, this.Perms.NOTIFY, this.Perms.PAIRED_WRITE]
|
|
907
|
+
}, 'Music Level')
|
|
908
|
+
|
|
909
|
+
this.createCharacteristicClass('MusicPlaybackFull', uuid('08F'), {
|
|
910
|
+
format: this.Formats.BOOL,
|
|
911
|
+
perms: [this.Perms.PAIRED_READ, this.Perms.NOTIFY, this.Perms.PAIRED_WRITE]
|
|
912
|
+
}, 'Music Playback Full')
|
|
913
|
+
|
|
914
|
+
this.createCharacteristicClass('HeightLevel', uuid('090'), {
|
|
915
|
+
format: this.Formats.INT,
|
|
916
|
+
minValue: -10,
|
|
917
|
+
maxValue: 10,
|
|
918
|
+
minStep: 1,
|
|
919
|
+
perms: [this.Perms.PAIRED_READ, this.Perms.NOTIFY, this.Perms.PAIRED_WRITE]
|
|
920
|
+
}, 'Height Level')
|
|
921
|
+
|
|
878
922
|
// Characteristic for Unique ID, used by homebridge-hue.
|
|
879
923
|
// Source: as exposed by the Philips Hue bridge. This characteristic is
|
|
880
924
|
// used by the Hue app to select the accessories when syncing Hue bridge
|