homebridge-cmd4 6.1.1 → 6.3.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.
@@ -163,19 +163,9 @@ switch( io )
163
163
 
164
164
  if ( c == "" ) process.stdout.write( `1` ); else process.stdout.write( `"${ c }"` );
165
165
 
166
- // UUID: 000000E5-0000-1000-8000-0026BB765291
167
- // Type: public.hap.characteristic.accessory-properties
168
- // Permissions: Paired Read, Paired Write, Notify
169
-
170
- // Format: uint16
171
-
172
- // Minimum Value: 0
173
- // Maximum Value: 2
174
- // Step Value: 1
175
- // Valid Values
176
- // 0x0000 "TBD"
177
- // 0x0001 (bit0) "TBD"
178
- // 0x0002 - 0xFFFF "Reserved"
166
+ // To avoid hard coding values, characteristic definitions can be found in:
167
+ // Cmd4 Github pages -> http://ztalbot2000.github.io/homebridge-cmd4
168
+ // Homebridge developer documentation -> https://developers.homebridge.io/#/
179
169
 
180
170
  break;
181
171
  }
@@ -185,16 +175,6 @@ switch( io )
185
175
 
186
176
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
187
177
 
188
- // UUID: 000000A6-0000-1000-8000-0026BB765291
189
- // Type: public.hap.characteristic.accessory-properties
190
- // Permissions: Paired Read, Notify
191
-
192
- // Format: uint32
193
-
194
- // Valid Values
195
- // 0x0001 (bit0) "Requires additional setup"
196
- // 0x0002 - 0xFFFF "Reserved"
197
-
198
178
  break;
199
179
  }
200
180
  case "AccessoryIdentifier": // 2
@@ -203,14 +183,6 @@ switch( io )
203
183
 
204
184
  if ( c == "" ) process.stdout.write( "TLB" ); else process.stdout.write( `"${ c }"` );
205
185
 
206
- // UUID: 00000057-0000-1000-8000-0026BB765291
207
- // Type: public.hap.characteristic.accessoryIdentifier
208
- // Permissions: Paired Read
209
-
210
- // Format: string
211
-
212
- // Maximum Length: 64
213
-
214
186
  break;
215
187
  }
216
188
  case "Active": // 3
@@ -219,20 +191,6 @@ switch( io )
219
191
 
220
192
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
221
193
 
222
- // UUID: 000000B0-0000-1000-8000-0026BB765291
223
- // Type: public.hap.characteristic.active
224
- // Permissions: Paired Write, Paired Read, Notify
225
-
226
- // Format: uint8
227
-
228
- // Minimum Value: 0
229
- // Maximum Value: 1
230
- // Step Value: 1
231
-
232
- // Valid Values
233
- // 0 - "INACTIVE"
234
- // 1 - "ACTIVE"
235
-
236
194
  break;
237
195
  }
238
196
  case "ActiveIdentifier": // 4
@@ -241,13 +199,6 @@ switch( io )
241
199
 
242
200
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
243
201
 
244
- // UUID: 000000E7-0000-1000-8000-0026BB765291
245
- // Type: public.hap.characteristic.activeIdentifier
246
- // Permissions: Paired Write, Paired Read, Notify
247
- // Found in HomeKitTypes-Television.js
248
-
249
- // Format: uint32
250
-
251
202
  break;
252
203
  }
253
204
  case "ActivityInterval": // 5
@@ -256,16 +207,6 @@ switch( io )
256
207
 
257
208
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
258
209
 
259
- // UUID: 0000021E-0000-1000-8000-0000023B
260
- // Type: public.hap.characteristic.activityInterval
261
- // Permissions: Paired Read, Notify
262
- // Found in HomeKit.js - Checked 11-19-2020
263
-
264
- // Format: uint32
265
-
266
- // Minimum Value: 0
267
- // Step Value: 1
268
-
269
210
  break;
270
211
  }
271
212
  case "AdministratorOnlyAccess": // 6
@@ -274,16 +215,6 @@ switch( io )
274
215
 
275
216
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
276
217
 
277
- // UUID: 00000001-0000-1000-8000-0026BB765291
278
- // Type: public.hap.characteristic.administrator-only-access
279
- // Permissions: Paired Read, Paired Write, Notify
280
-
281
- // Format: bool
282
-
283
- // Values
284
- // This mode implies that when enabled, the device will only accept
285
- // administrator access.
286
-
287
218
  break;
288
219
  }
289
220
  case "AirParticulateDensity": // 7
@@ -292,19 +223,6 @@ switch( io )
292
223
 
293
224
  if ( c == "" ) process.stdout.write( "30" ); else process.stdout.write( `"${ c }"` );
294
225
 
295
- // UUID: 00000064-0000-1000-8000-0026BB765291
296
- // Type: public.hap.characteristic.air-particulate.density
297
- // Permissions: Paired Read, Notify
298
-
299
- // Format: float
300
-
301
- // Minimum Value: 0
302
- // Maximum Value: 1000
303
-
304
- // Values
305
- // This characteristic indicates the current air particulate matter
306
- // density in micrograms/m3.
307
-
308
226
  break;
309
227
  }
310
228
  case "AirParticulateSize": // 8
@@ -313,21 +231,6 @@ switch( io )
313
231
 
314
232
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
315
233
 
316
- // UUID: 00000065-0000-1000-8000-0026BB765291
317
- // Type: public.hap.characteristic.air-particulate.size
318
- // Permissions: Paired Read, Notify
319
-
320
- // Format: uint8
321
-
322
- // Minimum Value: 0
323
- // Maximum Value: 1
324
- // Step Value: 1
325
-
326
- // Valid Values
327
- // 0 - "2.5 Micrometers"
328
- // 1 - "10 Micrometers"
329
- // 2-255 - "Reserved"
330
-
331
234
  break;
332
235
  }
333
236
  case "AirQuality": // 9
@@ -336,24 +239,6 @@ switch( io )
336
239
 
337
240
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
338
241
 
339
- // UUID: 00000095-0000-1000-8000-0026BB765291
340
- // Type: public.hap.characteristic.air-quality
341
- // Permissions: Paired Read, Notify
342
-
343
- // Format: uint8
344
-
345
- // Minimum Value: 0
346
- // Maximum Value: 5
347
- // Step Value: 1
348
-
349
- // Valid Values:
350
- // 0 - "UNKNOWN"
351
- // 1 - "EXCELLENT"
352
- // 2 - "GOOD"
353
- // 3 - "FAIR"
354
- // 4 - "INFERIOR"
355
- // 5 - "POOR"
356
-
357
242
  break;
358
243
  }
359
244
  case "AppMatchingIdentifier": // 10
@@ -362,14 +247,6 @@ switch( io )
362
247
 
363
248
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
364
249
 
365
- // UUID: 000000A4-0000-1000-8000-0026BB765291
366
- // Type: public.hap.characteristic.AppMatchingIdentifier
367
- // Permissions: Read
368
-
369
- // Format: TLV8
370
-
371
- // Values
372
-
373
250
  break;
374
251
  }
375
252
  case "AudioFeedback": // 11
@@ -378,16 +255,6 @@ switch( io )
378
255
 
379
256
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
380
257
 
381
- // UUID: 00000005-0000-1000-8000-0026BB765291
382
- // Type: public.hap.characteristic.audio-feedback
383
- // Permissions: Paired Read, Paired Write, Notify
384
-
385
- // Format: bool
386
-
387
- // Values
388
- // This characteristic describes whether audio feedback
389
- // (e.g. a beep, or other external sound mechanism) is enabled.
390
-
391
258
  break;
392
259
  }
393
260
  case "BatteryLevel": // 12
@@ -396,17 +263,6 @@ switch( io )
396
263
 
397
264
  if ( c == "" ) process.stdout.write( "50" ); else process.stdout.write( `"${ c }"` );
398
265
 
399
- // UUID: 00000068-0000-1000-8000-0026BB765291
400
- // Type: public.hap.characteristic.battery-level
401
- // Permissions: Paired Read, Notify
402
-
403
- // Format: uint8
404
-
405
- // Minimum Value: 0
406
- // Maximum Value: 100
407
- // Step Value: 1
408
- // Unit: percentage
409
-
410
266
  break;
411
267
  }
412
268
  case "Brightness": // 13
@@ -415,16 +271,6 @@ switch( io )
415
271
 
416
272
  if ( c == "" ) process.stdout.write( "100" ); else process.stdout.write( `"${ c }"` );
417
273
 
418
- // UUID: 00000008-0000-1000-8000-0026BB765291
419
- // Type: public.hap.characteristic.brightness
420
- // Permissions: Paired Read, Paired Write, Notify
421
-
422
- // Format: int
423
-
424
- // Min Value: 0
425
- // Max Value: 100
426
- // Unit: Percentage
427
-
428
274
  break;
429
275
  }
430
276
  case "ButtonEvent": // 14
@@ -433,12 +279,6 @@ switch( io )
433
279
 
434
280
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
435
281
 
436
- // UUID: 00000123-0000-1000-8000-0026BB765291
437
- // Type: public.hap.characteristic.battery-level
438
- // Permissions: Paired Read
439
-
440
- // Format: TLV8
441
-
442
282
  break;
443
283
  }
444
284
  case "CCAEnergyDetectThreshold": // 15
@@ -447,13 +287,6 @@ switch( io )
447
287
 
448
288
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
449
289
 
450
- // UUID: 0000021E-0000-1000-8000-00000246
451
- // Type: public.hap.characteristic.CCASignalDetectThreshold
452
- // Permissions: Paired Read
453
- // Found in HomeKit.js - Checked 11-20-2020
454
-
455
- // Format: int
456
-
457
290
  break;
458
291
  }
459
292
  case "CCASignalDetectThreshold": // 16
@@ -462,13 +295,6 @@ switch( io )
462
295
 
463
296
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
464
297
 
465
- // UUID: 0000021E-0000-1000-8000-00000245
466
- // Type: public.hap.characteristic.CCASignalDetectThreshold
467
- // Permissions: Paired Read
468
- // Found in HomeKit.js - Checked 11-20-2020
469
-
470
- // Format: int
471
-
472
298
  break;
473
299
  }
474
300
  case "CameraOperatingModeIndicator": // 17
@@ -477,17 +303,6 @@ switch( io )
477
303
 
478
304
  if ( c == "" ) process.stdout.write( "100" ); else process.stdout.write( `"${ c }"` );
479
305
 
480
- // UUID: 00000008-0000-1000-8000-0026BB765291
481
- // Type: public.hap.characteristic.brightness
482
- // Permissions: Read, Write, Notify, Timed Write
483
- // Found in HomeKit.js - Checked 11-20-2020
484
-
485
- // Format: UINT8
486
-
487
- // Valid Values:
488
- // 0 - "DISABLE"
489
- // 1 - "ENABLE"
490
-
491
306
  break;
492
307
  }
493
308
  case "CarbonDioxideDetected": // 18
@@ -496,20 +311,6 @@ switch( io )
496
311
 
497
312
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
498
313
 
499
- // UUID: 00000092-0000-1000-8000-0026BB765291
500
- // Type: public.hap.characteristic.carbon-dioxide.detected
501
- // Permissions: Paired Read, Notify
502
-
503
- // Format: uint8
504
-
505
- // Minimum Value: 0
506
- // Maximum Value: 1
507
- // Step Value: 1
508
-
509
- // Valid Values:
510
- // 0 - "CO2_LEVELS_NORMAL"
511
- // 1 - "CO2_LEVELS_ABNORMAL"
512
-
513
314
  break;
514
315
  }
515
316
  case "CarbonDioxideLevel": // 19
@@ -518,15 +319,6 @@ switch( io )
518
319
 
519
320
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
520
321
 
521
- // UUID: 00000093-0000-1000-8000-0026BB765291
522
- // Type: public.hap.characteristic.carbon-dioxide.level
523
- // Permissions: Paired Read, Notify
524
-
525
- // Format: float
526
-
527
- // Minimum Value: 0
528
- // Maximum Value: 100000
529
-
530
322
  break;
531
323
  }
532
324
  case "CarbonDioxidePeakLevel": // 20
@@ -535,15 +327,6 @@ switch( io )
535
327
 
536
328
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
537
329
 
538
- // UUID: 00000094-0000-1000-8000-0026BB765291
539
- // Type: public.hap.characteristic.carbon-dioxide.peak-level
540
- // Permissions: Paired Read, Notify
541
-
542
- // Format: float
543
-
544
- // Minimum Value: 0
545
- // Maximum Value: 100000
546
-
547
330
  break;
548
331
  }
549
332
  case "CarbonMonoxideDetected": // 21
@@ -552,19 +335,6 @@ switch( io )
552
335
 
553
336
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
554
337
 
555
- // UUID: 00000069-0000-1000-8000-0026BB765291
556
- // Type: public.hap.characteristic.carbon-monoxide.detected`
557
- // Permissions: Paired Read, Notify
558
-
559
- // Format: uint8
560
-
561
- // Min Value: 0
562
- // Max Value: 1
563
-
564
- // Valid Values:
565
- // 0 - "CO_LEVELS_NORMAL"
566
- // 1 - "CO_LEVELS_ABNORMAL"
567
-
568
338
  break;
569
339
  }
570
340
  case "CarbonMonoxideLevel": // 22
@@ -573,15 +343,6 @@ switch( io )
573
343
 
574
344
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
575
345
 
576
- // UUID: 00000090-0000-1000-8000-0026BB765291
577
- // Type: public.hap.characteristic.carbon-monoxide.level
578
- // Permissions: Paired Read, Notify
579
-
580
- // Format: float
581
-
582
- // Minimum Value: 0
583
- // Maximum Value: 100
584
-
585
346
  break;
586
347
  }
587
348
  case "CarbonMonoxidePeakLevel": // 23
@@ -590,15 +351,6 @@ switch( io )
590
351
 
591
352
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
592
353
 
593
- // UUID: 00000091-0000-1000-8000-0026BB765291
594
- // Type: public.hap.characteristic.carbon-monoxide.peak-level
595
- // Permissions: Paired Read, Notify
596
-
597
- // Format: float
598
-
599
- // Minimum Value: 0
600
- // Maximum Value: 100
601
-
602
354
  break;
603
355
  }
604
356
  case "Category": // 24
@@ -607,16 +359,6 @@ switch( io )
607
359
 
608
360
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
609
361
 
610
- // UUID: 000000A3-0000-1000-8000-0026BB765291
611
- // Type: public.hap.characteristic.category
612
- // Permissions: Paired Read, Notify
613
-
614
- // Format: uint16
615
-
616
- // Minimum Value: 1
617
- // Maximum Value: 16
618
- // Step Value: 1
619
-
620
362
  break;
621
363
  }
622
364
  case "CharacteristicValueTransitionControl": // 25
@@ -625,12 +367,6 @@ switch( io )
625
367
 
626
368
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
627
369
 
628
- // UUID: 0000021E-0000-1000-8000-00000143
629
- // Type: public.hap.characteristic.CharacteristicValueTransitionControl
630
- // Permissions: Paired Read, Paired Write, Notify
631
-
632
- // Format: tlv8
633
-
634
370
  break;
635
371
  }
636
372
  case "ChargingState": // 26
@@ -639,21 +375,6 @@ switch( io )
639
375
 
640
376
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
641
377
 
642
- // UUID: 0000008F-0000-1000-8000-0026BB765291
643
- // Type: public.hap.characteristic.charging-state
644
- // Permissions: Paired Read, Notify
645
-
646
- // Format: uint8
647
-
648
- // Minimum Value: 0
649
- // Maximum Value: 2
650
- // Step Value: 1
651
-
652
- // Valid Values:
653
- // 0 - "NOT_CHARGING"
654
- // 1 - "CHARGING"
655
- // 2 - "NOT_CHARGEABLE"
656
-
657
378
  break;
658
379
  }
659
380
  case "ClosedCaptions": // 27
@@ -662,20 +383,6 @@ switch( io )
662
383
 
663
384
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
664
385
 
665
- // UUID: 000000DD-0000-1000-8000-0026BB765291
666
- // Type: public.hap.characteristic.closedCaptions
667
- // Permissions: Paired Write, Paired Read, Notify
668
- // Found in HomeKitTypes-Television.js
669
-
670
- // Format: uint8
671
-
672
- // Minimum Value: 0
673
- // Maximum Value: 1
674
-
675
- // Valid Values
676
- // 0 - "DISABLED"
677
- // 1 - "ENSABLED"
678
-
679
386
  break;
680
387
  }
681
388
  case "ColorTemperature": // 28
@@ -684,16 +391,6 @@ switch( io )
684
391
 
685
392
  if ( c == "" ) process.stdout.write( "50" ); else process.stdout.write( `"${ c }"` );
686
393
 
687
- // UUID: 000000CE-0000-1000-8000-0026BB765291
688
- // Type: public.hap.characteristic.color-temperature
689
- // Permissions: Paired Read, Paired Write, Notify
690
-
691
- // Format: uint32
692
-
693
- // Minimum Value: 50
694
- // Maximum Value: 400
695
- // Step Value: 1
696
-
697
394
  break;
698
395
  }
699
396
  case "ConfigureBridgedAccessory": // 29
@@ -702,12 +399,6 @@ switch( io )
702
399
 
703
400
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
704
401
 
705
- // UUID: 000000A0-0000-1000-8000-0026BB765291
706
- // Type: public.hap.characteristic.configureBridgedAccessory
707
- // Permissions: Paired Write
708
-
709
- // Format: TLV8
710
-
711
402
  break;
712
403
  }
713
404
  case "ConfigureBridgedAccessoryStatus": // 30
@@ -716,12 +407,6 @@ switch( io )
716
407
 
717
408
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
718
409
 
719
- // UUID: 0000009D-0000-1000-8000-0026BB765291
720
- // Type: public.hap.characteristic.configureBridgedAccessoryStatus
721
- // Permissions: Paired Read, Notify
722
-
723
- // Format: TLV8
724
-
725
410
  break;
726
411
  }
727
412
  case "ConfiguredName": // 31
@@ -730,12 +415,6 @@ switch( io )
730
415
 
731
416
  if ( c == "" ) process.stdout.write( `"${ device }"` ); else process.stdout.write(`"${ c }"` );
732
417
 
733
- // UUID: 000000E3-0000-1000-8000-0026BB765291
734
- // Type: public.hap.characteristic.configuredName
735
- // Permissions: Paired Write, Paired Read, Notify
736
-
737
- // Format: string
738
-
739
418
  break;
740
419
  }
741
420
  case "ContactSensorState": // 32
@@ -744,20 +423,6 @@ switch( io )
744
423
 
745
424
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
746
425
 
747
- // UUID: 0000006A-0000-1000-8000-0026BB765291
748
- // Type: public.hap.characteristic.contact-state
749
- // Permissions: Paired Read, Notify
750
-
751
- // Format: uint8
752
-
753
- // Minimum Value: 0
754
- // Maximum Value: 1
755
- // Step Value: 1
756
-
757
- // Valid Values:
758
- // 0 - "CONTACT_DETECTED"
759
- // 1 - "CONTACT_NOT_DETECTED"
760
-
761
426
  break;
762
427
  }
763
428
  case "CoolingThresholdTemperature": // 33
@@ -766,17 +431,6 @@ switch( io )
766
431
 
767
432
  if ( c == "" ) process.stdout.write( "32.4" ); else process.stdout.write( `"${ c }"` );
768
433
 
769
- // UUID: 0000000D-0000-1000-8000-0026BB765291
770
- // Type: public.hap.characteristic.temperature.cooling-threshold
771
- // Permissions: Paired Read, Paired Write, Notify
772
-
773
- // Format: float
774
-
775
- // Minimum Value: 10
776
- // Maximum Value: 35
777
- // Step Value: 0.1
778
- // Unit: celcius
779
-
780
434
  break;
781
435
  }
782
436
  case "CurrentAirPurifierState": // 34
@@ -785,21 +439,6 @@ switch( io )
785
439
 
786
440
  if ( c == "" ) process.stdout.write( "2" ); else process.stdout.write( `"${ c }"` );
787
441
 
788
- // UUID: 000000A9-0000-1000-8000-0026BB765291
789
- // Type: public.hap.characteristic.air-purifier.state.current
790
- // Permissions: Paired Read, Notify
791
-
792
- // Format: uint8
793
-
794
- // Minimum Value: 0
795
- // Maximum Value: 2
796
- // Step Value: 1
797
-
798
- // Valid Values:
799
- // 0 - "INACTIVE"
800
- // 1 - "IDLE"
801
- // 2 - "PURIFYING_AIR"
802
-
803
442
  break;
804
443
  }
805
444
  case "CurrentAmbientLightLevel": // 35
@@ -808,16 +447,6 @@ switch( io )
808
447
 
809
448
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
810
449
 
811
- // UUID: 0000006B-0000-1000-8000-0026BB765291
812
- // Type: public.hap.characteristic.light-level.current
813
- // Permissions: Paired Read, Notify
814
-
815
- // Format: float
816
-
817
- // Minimum Value: 0.0001
818
- // Maximum Value: 100000
819
- // Unit: lux
820
-
821
450
  break;
822
451
  }
823
452
  case "CurrentDoorState": // 36
@@ -826,24 +455,6 @@ switch( io )
826
455
 
827
456
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
828
457
 
829
- // UUID: 0000000E-0000-1000-8000-0026BB765291
830
- // Type: public.hap.characteristic.door-state.current
831
- // Permissions: Paired Read, Notify
832
-
833
- // Format: uint8
834
- // Minimum Value: 0
835
- // Maximum Value: 4
836
- // Step Value: 1
837
-
838
- // Valid Values:
839
- // 0 - "OPEN" - The door is fully open."
840
- // 1 - "CLOSED" - The door is fully closed."
841
- // 2 - "OPENING" - The door is actively opening."
842
- // 3 - "CLOSING" - The door is actively closing."
843
- // 4 - "STOPPED" - The door is not moving, and it is not fully
844
- // open nor fully closed."
845
- // 5-255 - "Reserved"
846
-
847
458
  break;
848
459
  }
849
460
  case "CurrentFanState": // 37
@@ -852,21 +463,6 @@ switch( io )
852
463
 
853
464
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
854
465
 
855
- // UUID: 000000AF-0000-1000-8000-0026BB765291
856
- // Type: public.hap.characteristic.fan.state.current
857
- // Permissions: Paired Read, Notify
858
-
859
- // Format: uint8
860
-
861
- // Minimum Value: 0
862
- // Maximum Value: 2
863
- // Step Value: 1
864
-
865
- // Valid Values
866
- // 0 - "INACTIVE"
867
- // 1 - "IDLE"
868
- // 2 - "BLOWING_AIR"
869
-
870
466
  break;
871
467
  }
872
468
  case "CurrentHeaterCoolerState": // 38
@@ -877,22 +473,6 @@ switch( io )
877
473
 
878
474
  process.exit(0);
879
475
 
880
- // UUID: 000000B1-0000-1000-8000-0026BB765291
881
- // Type: public.hap.characteristic.heater-cooler.current
882
- // Permissions: Paired Read, Notify
883
-
884
- // Format: uint8
885
-
886
- // Minimum Value: 0
887
- // Maximum Value: 3
888
- // Step Value: 1
889
-
890
- // Valid Values:
891
- // 0 - "INACTIVE"
892
- // 1 - "IDLE"
893
- // 2 - "HEATING"
894
- // 3 - "COOLING"
895
-
896
476
  break;
897
477
  }
898
478
  case "CurrentHeatingCoolingState": // 39
@@ -903,21 +483,6 @@ switch( io )
903
483
 
904
484
  process.exit(0);
905
485
 
906
- // UUID: 0000000F-0000-1000-8000-0026BB765291
907
- // Type: public.hap.characteristic.heating-cooling.current
908
- // Permissions: Paired Read, Notify
909
-
910
- // Format: uint8
911
-
912
- // Minimum Value: 0
913
- // Maximum Value: 2
914
- // Step Value: 1
915
-
916
- // Valid Values:
917
- // 0 - "OFF" - The unit is off
918
- // 1 - "HEAT" - The Heater is currently on.
919
- // 2 - "COOL" - Cooler is currently on.
920
-
921
486
  break;
922
487
  }
923
488
  case "CurrentHorizontalTiltAngle": // 40
@@ -926,17 +491,6 @@ switch( io )
926
491
 
927
492
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
928
493
 
929
- // UUID: 0000006C-0000-1000-8000-0026BB765291
930
- // Type: public.hap.characteristic.horizontal-tilt.current
931
- // Permissions: Paired Read, Notify
932
-
933
- // Format: int
934
-
935
- // Minimum Value: -90
936
- // Maximum Value: 90
937
- // Step Value: 1
938
- // Unit: arcdegrees
939
-
940
494
  break;
941
495
  }
942
496
  case "CurrentHumidifierDehumidifierState": // 41
@@ -945,22 +499,6 @@ switch( io )
945
499
 
946
500
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
947
501
 
948
- // UUID: 000000B3-0000-1000-8000-0026BB765291
949
- // Type: public.hap.characteristic.currentHumidifierDehumidifierState
950
- // Permissions: Paired Write, Paired Read, Notify
951
- // Found in HomekitTypes.js
952
-
953
- // Format: uint8
954
-
955
- // Minimum Value: 0
956
- // Maximum Value: 3
957
-
958
- // Valid Values
959
- // 0 - "INACTIVE"
960
- // 1 - "IDLE"
961
- // 2 - "HUMIDIFYING"
962
- // 3 - "DEHUMIDIFYING"
963
-
964
502
  break;
965
503
  }
966
504
  case "CurrentMediaState": // 42
@@ -969,24 +507,6 @@ switch( io )
969
507
 
970
508
  if ( c == "" ) process.stdout.write( "2" ); else process.stdout.write( `"${ c }"` );
971
509
 
972
- // UUID: 000000E0-0000-1000-8000-0026BB765291
973
- // Type: public.hap.characteristic.currentMediaState
974
- // Permissions: Paired Read, Notify
975
- // Found in HomeKitTypes-Television.js
976
-
977
- // Format: uint32
978
-
979
- // Minimum Value: 0
980
- // Maximum Value: 3
981
-
982
- // Valid Values
983
- // 0 - "PLAY"
984
- // 1 - "PAUSE"
985
- // 2 - "STOP"
986
- // 3 - "UNKNOWN3" - Reserved ????
987
- // 4 - "LOADING"
988
- // 3 - "INTERRUPTED'
989
-
990
510
  break;
991
511
  }
992
512
  case "CurrentPosition": // 43
@@ -995,17 +515,6 @@ switch( io )
995
515
 
996
516
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
997
517
 
998
- // UUID: 0000006D-0000-1000-8000-0026BB765291
999
- // Type: public.hap.characteristic.position.current
1000
- // Permissions: Paired Read, Notify
1001
-
1002
- // Format: uint8
1003
-
1004
- // Minimum Value: 0
1005
- // Maximum Value: 100
1006
- // Step Value: 1
1007
- // Unit: percentage
1008
-
1009
518
  break;
1010
519
  }
1011
520
  case "CurrentRelativeHumidity": // 44
@@ -1014,17 +523,6 @@ switch( io )
1014
523
 
1015
524
  if ( c == "" ) process.stdout.write( "60.2" ); else process.stdout.write( `"${ c }"` );
1016
525
 
1017
- // UUID: 00000010-0000-1000-8000-0026BB765291
1018
- // Type: public.hap.characteristic.relative-humidity.current
1019
- // Permissions: Paired Read, Notify
1020
-
1021
- // Format: float
1022
-
1023
- // Minimum Value: 0
1024
- // Maximum Value: 100
1025
- // Step Value: 1
1026
- // Unit: percentage
1027
-
1028
526
  break;
1029
527
  }
1030
528
  case "CurrentSlatState": // 45
@@ -1033,21 +531,6 @@ switch( io )
1033
531
 
1034
532
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
1035
533
 
1036
- // UUID: 000000AA-0000-1000-8000-0026BB765291
1037
- // Type: public.hap.characteristic.slat.state.current
1038
- // Permissions: Paired Read, Notify
1039
-
1040
- // Format: uint8
1041
-
1042
- // Minimum Value: 0
1043
- // Maximum Value: 2
1044
- // Step Value: 1
1045
-
1046
- // Valid Values:
1047
- // 0 - "FIXED"
1048
- // 1 - "JAMMED"
1049
- // 2 - "SWINGING"
1050
-
1051
534
  break;
1052
535
  }
1053
536
  case "CurrentTemperature": // 46
@@ -1056,17 +539,6 @@ switch( io )
1056
539
 
1057
540
  if ( c == "" ) process.stdout.write( "22.2" ); else process.stdout.write( `"${ c }"` );
1058
541
 
1059
- // UUID: 00000011-0000-1000-8000-0026BB765291
1060
- // Type: public.hap.characteristic.temperature.current
1061
- // Permissions: Paired Read, Notify
1062
-
1063
- // Format: float
1064
-
1065
- // Minimum Value 0
1066
- // Maximum Value 100
1067
- // Step Value 0.1
1068
- // Unit celsius
1069
-
1070
542
  break;
1071
543
  }
1072
544
  case "CurrentTiltAngle": // 47
@@ -1075,17 +547,6 @@ switch( io )
1075
547
 
1076
548
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
1077
549
 
1078
- // UUID: 000000C1-0000-1000-8000-0026BB765291
1079
- // Type: public.hap.characteristic.tilt.current
1080
- // Permissions: Paired Read, Notify
1081
-
1082
- // Format: int
1083
-
1084
- // Minimum Value: -90
1085
- // Maximum Value: 90
1086
- // Step Value: 1
1087
- // Unit: arcdegrees
1088
-
1089
550
  break;
1090
551
  }
1091
552
  case "CurrentTime": // 48
@@ -1094,12 +555,6 @@ switch( io )
1094
555
 
1095
556
  if ( c == "" ) process.stdout.write( "11.5" ); else process.stdout.write( `"${ c }"` );
1096
557
 
1097
- // UUID: 0000009B-0000-1000-8000-0026BB765291
1098
- // Type: public.hap.characteristic.currentTime
1099
- // Permissions: Paired Read, Paired Write
1100
-
1101
- // Format: string
1102
-
1103
558
  break;
1104
559
  }
1105
560
  case "CurrentTransport": // 49
@@ -1108,13 +563,6 @@ switch( io )
1108
563
 
1109
564
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
1110
565
 
1111
- // UUID: 0000021E-0000-1000-8000-00000245
1112
- // Type: public.hap.characteristic.currentTransport
1113
- // Permissions: Read
1114
- // Found in HomeKit.js - Checked 11-19-2020
1115
-
1116
- // Format: bool, 0 (false) and 1 (true)
1117
-
1118
566
  break;
1119
567
  }
1120
568
  case "CurrentVerticalTiltAngle": // 50
@@ -1123,36 +571,14 @@ switch( io )
1123
571
 
1124
572
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
1125
573
 
1126
- // UUID: 0000006E-0000-1000-8000-0026BB765291
1127
- // Type: public.hap.characteristic.vertical-tilt.current
1128
- // Permissions: Paired Read, Notify
1129
-
1130
- // Format: int
1131
-
1132
- // Minimum Value: -90
1133
- // Maximum Value: 90
1134
- // Step Value: 1
1135
- // Unit: arcdegrees
1136
-
1137
574
  break;
1138
575
  }
1139
- case "CurrentVisibilityState": // 51
1140
- {
576
+ case "CurrentVisibilityState": // 51
577
+ {
1141
578
  c = readData( device, characteristic );
1142
579
 
1143
580
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
1144
581
 
1145
- // UUID: 00000135-0000-1000-8000-0026BB765291
1146
- // Type: public.hap.characteristic.currentVisibilityState
1147
- // Permissions: Paired Read, Notify
1148
- // Found in HomeKitTypes-Television.js
1149
-
1150
- // Format: uint8
1151
-
1152
- // Valid Values
1153
- // 0 - "SHOWN"
1154
- // 1 - "HIDDEN"
1155
-
1156
582
  break;
1157
583
  }
1158
584
  case "DataStreamHAPTransport": // 52
@@ -1161,13 +587,6 @@ switch( io )
1161
587
 
1162
588
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
1163
589
 
1164
- // UUID: 0000021E-0000-1000-8000-00000138
1165
- // Type: public.hap.characteristic.dataStreamHAPTransport
1166
- // Permissions: Read, Write, Write Response
1167
- // Found in HomeKit.js - Checked 11/19/2020
1168
-
1169
- // Format: TV8
1170
-
1171
590
  break;
1172
591
  }
1173
592
  case "DataStreamHAPTransportInterrupt": // 53
@@ -1176,13 +595,6 @@ switch( io )
1176
595
 
1177
596
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
1178
597
 
1179
- // UUID: 0000021E-0000-1000-8000-00000139
1180
- // Type: public.hap.characteristic.dataStreamHAPTransportInterrupt
1181
- // Permissions: Paired Read, Notify
1182
- // Found in HomeKit.js - Checked 11/19/2020
1183
-
1184
- // Format: TV8
1185
-
1186
598
  break;
1187
599
  }
1188
600
  case "DayoftheWeek": // 54
@@ -1191,16 +603,6 @@ switch( io )
1191
603
 
1192
604
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
1193
605
 
1194
- // UUID: 00000098-0000-1000-8000-0026BB765291
1195
- // Type: public.hap.characteristic.zoom-digital
1196
- // Permissions: Paired Write, Paired Read
1197
-
1198
- // Format: uint8
1199
-
1200
- // Minimum Value: 1
1201
- // Maximum Value: 7
1202
- // Step Value: 1
1203
-
1204
606
  break;
1205
607
  }
1206
608
  case "DiagonalFieldOfView": // 55
@@ -1209,17 +611,6 @@ switch( io )
1209
611
 
1210
612
  if ( c == "" ) process.stdout.write( "50" ); else process.stdout.write( `"${ c }"` );
1211
613
 
1212
- // UUID: 00000224-0000-1000-8000-0026BB765291
1213
- // Type: public.hap.characteristic.diagonalFieldOfView
1214
- // Permissions: Read, Notify
1215
-
1216
- // Format: float
1217
-
1218
- // Minimum Value: 0
1219
- // Maximum Value: 360
1220
- // Step Value: 1
1221
- // Unit: arcdegrees
1222
-
1223
614
  break;
1224
615
  }
1225
616
  case "DigitalZoom": // 56
@@ -1228,17 +619,6 @@ switch( io )
1228
619
 
1229
620
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
1230
621
 
1231
- // UUID: 0000011D-0000-1000-8000-0026BB765291
1232
- // Type: public.hap.characteristic.zoom-digital
1233
- // Permissions: Read, Write, Notify
1234
-
1235
- // Format: float
1236
-
1237
- // Valid Values
1238
- // The value of this characteristic represents the digital zoom
1239
- // multiplier to be applied on the image sourced by the video
1240
- // RTP service that is sourcing the input image.
1241
-
1242
622
  break;
1243
623
  }
1244
624
  case "DiscoverBridgedAccessories": // 57
@@ -1247,17 +627,6 @@ switch( io )
1247
627
 
1248
628
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
1249
629
 
1250
- // UUID: 0000009E-0000-1000-8000-0026BB765291
1251
- // Type: public.hap.characteristic.discoverBridgedAccessories
1252
- // Permissions: Paired Write, Paired Read, Notify
1253
- // Found in HomeKitTypes-Bridge.js
1254
-
1255
- // Format: uint8
1256
-
1257
- // Valid Values
1258
- // 0 - START_DISCOVERY
1259
- // 1 - STOP_DISCOVERY
1260
-
1261
630
  break;
1262
631
  }
1263
632
  case "DiscoveredBridgedAccessories": // 58
@@ -1266,15 +635,6 @@ switch( io )
1266
635
 
1267
636
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
1268
637
 
1269
- // UUID: 0000009F-0000-1000-8000-0026BB765291
1270
- // Type: public.hap.characteristic.discoveredBridgedAccessories
1271
- // Permissions: Paired Read, Notify
1272
- // Found in HomeKitTypes-Bridge.js (Values ???)
1273
-
1274
- // Format: uint16
1275
-
1276
- // Valid Values
1277
-
1278
638
  break;
1279
639
  }
1280
640
  case "DisplayOrder": // 59
@@ -1283,15 +643,6 @@ switch( io )
1283
643
 
1284
644
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
1285
645
 
1286
- // UUID: 000000E7-0000-1000-8000-0026BB765291
1287
- // Type: public.hap.characteristic.displayOrder
1288
- // Permissions: Paired Write, Paired Read, Notify
1289
- // Found in HomeKitTypes-Television.js (Values ???)
1290
-
1291
- // Format: TLV8
1292
-
1293
- // Valid Values
1294
-
1295
646
  break;
1296
647
  }
1297
648
  case "EventRetransmissionMaximum": // 60
@@ -1300,15 +651,6 @@ switch( io )
1300
651
 
1301
652
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
1302
653
 
1303
- // UUID: 0000021E-0000-1000-8000-0000023D
1304
- // Type: public.hap.characteristic.EventRetransmissionMaximum
1305
- // Permissions: Read, Write, Notify
1306
- // Found in HomeKitTypes.js - Checked 11/19/2020
1307
-
1308
- // Format: uint8
1309
-
1310
- // Valid Values
1311
-
1312
654
  break;
1313
655
  }
1314
656
  case "EventSnapshotsActive": // 61
@@ -1317,17 +659,6 @@ switch( io )
1317
659
 
1318
660
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
1319
661
 
1320
- // UUID: 00000223-0000-1000-8000-0026BB765291
1321
- // Type: public.hap.characteristic.eventSnapshotsActive
1322
- // Permissions: Read, Write, Notify
1323
- // Found in HomeKitTypes.js - Checked 11/19/2020
1324
-
1325
- // Format: uint8
1326
-
1327
- // Valid Values
1328
- // 0 - "DISABLE" - Disable Snapshot
1329
- // 1 - "ENABLE" - Enable Snapshot
1330
-
1331
662
  break;
1332
663
  }
1333
664
  case "EventTransmissionCounters": // 62
@@ -1336,15 +667,6 @@ switch( io )
1336
667
 
1337
668
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
1338
669
 
1339
- // UUID: 0000021E-0000-1000-8000-0000023E
1340
- // Type: public.hap.characteristic.EventTransmissionCounters
1341
- // Permissions: Paired Read
1342
- // Found in HomeKitTypes.js - Checked 11/19/2020
1343
-
1344
- // Format: uint32
1345
-
1346
- // Valid Values
1347
-
1348
670
  break;
1349
671
  }
1350
672
  case "FilterChangeIndication": // 63
@@ -1353,20 +675,6 @@ switch( io )
1353
675
 
1354
676
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
1355
677
 
1356
- // UUID: 000000AC-0000-1000-8000-0026BB765291
1357
- // Type: public.hap.characteristic.filter.change-indication
1358
- // Permissions: Paired Read, Notify
1359
-
1360
- // Format: uint8
1361
-
1362
- // Minimum Value: 0
1363
- // Maximum Value: 1
1364
- // Step Value: 1
1365
-
1366
- // Valid Values:
1367
- // 0 - " FILTER_OK" - Filter does not need to be changed
1368
- // 1 - "CHANGE_FILTER" - Filter needs to be changed
1369
-
1370
678
  break;
1371
679
  }
1372
680
  case "FilterLifeLevel": // 64
@@ -1375,16 +683,6 @@ switch( io )
1375
683
 
1376
684
  if ( c == "" ) process.stdout.write( "50" ); else process.stdout.write( `"${ c }"` );
1377
685
 
1378
- // UUID: 000000AB-0000-1000-8000-0026BB765291
1379
- // Type: public.hap.characteristic.filter.life-level
1380
- // Permissions: Paired Read, Notify
1381
-
1382
- // Format: float
1383
-
1384
- // Minimum Value: 0
1385
- // Maximum Value: 100
1386
- // Step Value: 1
1387
-
1388
686
  break;
1389
687
  }
1390
688
  case "FirmwareRevision": // 65
@@ -1393,29 +691,6 @@ switch( io )
1393
691
 
1394
692
  if ( c == "" ) process.stdout.write( "100.1.1" ); else process.stdout.write( `"${ c }"` );
1395
693
 
1396
- // UUID: 00000052-0000-1000-8000-0026BB765291
1397
- // Type: public.hap.characteristic.firmware.revision
1398
- // Permissions: Paired Read
1399
-
1400
- // Format: string
1401
-
1402
- // Valid Values
1403
- // This characteristic describes a hardware revision string x[.y[.z]]
1404
- // (e.g. "100.1.1") and tracked when the board or components of the same
1405
- // accessory is changed :
1406
- // <x> is the major version number, required.
1407
- // <y> is the minor version number, required if it is non-zero or
1408
- // if <z> is present. <z> is the revision version number, required if non-zero.
1409
- //
1410
- // The hardware revision must follow the below rules:
1411
- // <x> is incremented when there is significant change. e.g.,1.0.0, 2.0.0, 3.0.0, etc.
1412
- // <y> is incremented when minor changes are introduced such as 1.1.0, 2.1.0, 3.1.0 etc.
1413
- // <z> is incremented when bug-fixes are introduced such as 1.0.1, 2.0.1, 3.0.1 etc.
1414
- //
1415
- // Subsequent firmware updates can have a lower <y> version only
1416
- // if <x> is incremented Subsequent firmware updates can have a
1417
- // lower <z> version only if <x> or <y> is incremented
1418
-
1419
694
  break;
1420
695
  }
1421
696
  case "HardwareRevision": // 66
@@ -1424,29 +699,6 @@ switch( io )
1424
699
 
1425
700
  if ( c == "" ) process.stdout.write( "100.1.1" ); else process.stdout.write( `"${ c }"` );
1426
701
 
1427
- // UUID: 00000053-0000-1000-8000-0026BB765291
1428
- // Type: public.hap.characteristic.hardware.revision
1429
- // Permissions: Paired Read
1430
-
1431
- // Format: string
1432
-
1433
- // Valid Values
1434
- // This characteristic describes a hardware revision string x[.y[.z]]
1435
- // (e.g. "100.1.1") and tracked when the board or components of the same
1436
- // accessory is changed :
1437
- // <x> is the major version number, required.
1438
- // <y> is the minor version number, required if it is non-zero or
1439
- // if <z> is present. <z> is the revision version number, required if non-zero.
1440
- //
1441
- // The hardware revision must follow the below rules:
1442
- // <x> is incremented when there is significant change. e.g.,1.0.0, 2.0.0, 3.0.0, etc.
1443
- // <y> is incremented when minor changes are introduced such as 1.1.0, 2.1.0, 3.1.0 etc.
1444
- // <z> is incremented when bug-fixes are introduced such as 1.0.1, 2.0.1, 3.0.1 etc.
1445
- //
1446
- // Subsequent firmware updates can have a lower <y> version only
1447
- // if <x> is incremented Subsequent firmware updates can have a
1448
- // lower <z> version only if <x> or <y> is incremented
1449
-
1450
702
  break;
1451
703
  }
1452
704
  case "HeartBeat": // 67
@@ -1455,13 +707,6 @@ switch( io )
1455
707
 
1456
708
  if ( c == "" ) process.stdout.write( "64" ); else process.stdout.write( `"${ c }"` );
1457
709
 
1458
- // UUID: 0000021E-0000-1000-8000-0000024A
1459
- // Type: public.hap.characteristic.heartBeat
1460
- // Permissions: Notify, Paired Read
1461
- // Found in HomeKit.js - Checked 11/19/2020
1462
-
1463
- // Format: uint32
1464
-
1465
710
  break;
1466
711
  }
1467
712
  case "HeatingThresholdTemperature": // 68
@@ -1470,18 +715,6 @@ switch( io )
1470
715
 
1471
716
  if ( c == "" ) process.stdout.write( "25.2" ); else process.stdout.write( `"${ c }"` );
1472
717
 
1473
- // UUID: 00000012-0000-1000-8000-0026BB765291
1474
- // Type: public.hap.characteristic.temperature.heating-threshold
1475
- // Permissions: Read, Write, Notify
1476
- // Found in HomeKit.js - Checked 11/19/2020
1477
-
1478
- // Format: float
1479
-
1480
- // Minimum Value: 0
1481
- // Maximum Value: 25
1482
- // Step Value: 0.1
1483
- // Unit: celcius
1484
-
1485
718
  break;
1486
719
  }
1487
720
  case "HoldPosition": // 69
@@ -1490,12 +723,6 @@ switch( io )
1490
723
 
1491
724
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
1492
725
 
1493
- // UUID: 0000006F-0000-1000-8000-0026BB765291
1494
- // Type: public.hap.characteristic.position.hold
1495
- // Permissions: Paired Write
1496
-
1497
- // Format: bool, 0 (false) and 1 (true)
1498
-
1499
726
  break;
1500
727
  }
1501
728
  case "HomeKitCameraActive": // 70
@@ -1504,17 +731,6 @@ switch( io )
1504
731
 
1505
732
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
1506
733
 
1507
- // UUID: 0000006F-0000-1000-8000-0026BB765291
1508
- // Type: public.hap.characteristic.position.hold
1509
- // Permissions: Read, Write, Notify, Timed Write
1510
- // Found in HomeKit.js - Checked 11/19/2020
1511
-
1512
- // Format: uint8
1513
-
1514
- // Valid Values:
1515
- // 0 - "OFF" - The Camera is (off)
1516
- // 1 - "ON" - The Camera is (on)
1517
-
1518
734
  break;
1519
735
  }
1520
736
  case "Hue": // 71
@@ -1523,16 +739,6 @@ switch( io )
1523
739
 
1524
740
  if ( c == "" ) process.stdout.write( "50" ); else process.stdout.write( `"${ c }"` );
1525
741
 
1526
- // UUID: 00000013-0000-1000-8000-0026BB765291
1527
- // Type: public.hap.characteristic.hue
1528
- // Permissions: Paired Read, Paired Write, Notify
1529
-
1530
- // Format: float
1531
-
1532
- // Min Value: 0
1533
- // Max Value: 360
1534
- // Unit: arcdegrees
1535
-
1536
742
  break;
1537
743
  }
1538
744
  case "Identifier": // 77
@@ -1566,16 +772,6 @@ switch( io )
1566
772
  process.stdout.write( `"${ c }"` );
1567
773
  }
1568
774
 
1569
- // UUID: 000000E6-0000-1000-8000-0026BB765291
1570
- // Type: public.hap.characteristic.identifier
1571
- // Permissions: Paired Read
1572
- // Found in HomeKitTypes-Television.js
1573
-
1574
- // Format: uint32
1575
-
1576
- // Min Value: 0
1577
- // Min Step: 1
1578
-
1579
775
  break;
1580
776
  }
1581
777
  case "Identify": // 73
@@ -1584,13 +780,6 @@ switch( io )
1584
780
 
1585
781
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
1586
782
 
1587
- // UUID: 000000E6-0000-1000-8000-0026BB765291
1588
- // Type: public.hap.characteristic.identifier
1589
- // Permissions: Paired Write
1590
- // Found in HomeKitTypes.js
1591
-
1592
- // Format: Bool
1593
-
1594
783
  break;
1595
784
  }
1596
785
  case "ImageMirroring": // 74
@@ -1599,18 +788,6 @@ switch( io )
1599
788
 
1600
789
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
1601
790
 
1602
- // UUID: 0000011F-0000-1000-8000-0026BB765291
1603
- // Type: public.hap.characteristic.image-mirror
1604
- // Permissions: Paired Write, Paired Read, Notify
1605
-
1606
- // Format: uint32
1607
-
1608
- // Valid Values
1609
- // 0 - "FALSE" - Image is not mirrored
1610
- // 1 - "TRUE" - Image is mirrored
1611
-
1612
- // Unit arcdegrees
1613
-
1614
791
  break;
1615
792
  }
1616
793
  case "ImageRotation": // 75
@@ -1619,18 +796,6 @@ switch( io )
1619
796
 
1620
797
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
1621
798
 
1622
- // UUID: 0000011E-0000-1000-8000-0026BB765291
1623
- // Type: public.hap.characteristic.image-rotation
1624
- // Permissions: Paired Write, Paired Read, Notify
1625
-
1626
- // Format: float
1627
-
1628
- // Valid Values
1629
- // 0 - No rotation
1630
- // 90 - Rotated 90 degrees to the right
1631
- // 180 - Rotated 180 degrees to the right (flipped vertically)
1632
- // 270 - Rotated 270 degrees to the right
1633
-
1634
799
  break;
1635
800
  }
1636
801
  case "InUse": // 76
@@ -1639,20 +804,6 @@ switch( io )
1639
804
 
1640
805
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
1641
806
 
1642
- // UUID: 000000D2-0000-1000-8000-0026BB765291
1643
- // Type: public.hap.characteristic.inUse
1644
- // Permissions: Paired Read, Notify
1645
- // Found in HomeKitTypes.js
1646
-
1647
- // Format: uint8
1648
-
1649
- // Minimum Value: 0
1650
- // Maximum Value: 1
1651
-
1652
- // Valid Values
1653
- // 0 - "NOT_IN_USE"
1654
- // 1 - "IN_USE"
1655
-
1656
807
  break;
1657
808
  }
1658
809
  case "InputDeviceType": // 77
@@ -1661,25 +812,6 @@ switch( io )
1661
812
 
1662
813
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
1663
814
 
1664
- // UUID: 000000DC-0000-1000-8000-0026BB765291
1665
- // Type: public.hap.characteristic.inputDeviceType
1666
- // Permissions: Paired Read, Notify
1667
- // Found in HomeKitTypes-Television.js
1668
-
1669
- // Format: uint8
1670
-
1671
- // Minimum Value: 0
1672
- // Maximum Value: 6
1673
-
1674
- // Valid Values
1675
- // 0 - "OTHER"
1676
- // 1 - "TV"
1677
- // 2 - "RECORDING"
1678
- // 3 - "TUNER"
1679
- // 4 - "PLAYBACK"
1680
- // 5 - "AUDIO_SYSTEM"
1681
- // 6 - "UNKNOWN_6" - (Added in IOS 14)
1682
-
1683
815
  break;
1684
816
  }
1685
817
  case "InputSourceType": // 78
@@ -1688,29 +820,6 @@ switch( io )
1688
820
 
1689
821
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
1690
822
 
1691
- // UUID: 000000DB-0000-1000-8000-0026BB765291
1692
- // Type: public.hap.characteristic.inputSourceType
1693
- // Permissions: Paired Read, Notify
1694
- // Found in HomeKitTypes-Television.js
1695
-
1696
- // Format: uint8
1697
-
1698
- // Minimum Value: 0
1699
- // Maximum Value: 10
1700
-
1701
- // Valid Values
1702
- // 0 - "OTHER"
1703
- // 1 - "HOME_SCREEN"
1704
- // 2 - "TUNER"
1705
- // 3 - "HDMI"
1706
- // 4 - "COMPOSITE_VIDEO"
1707
- // 5 - "S_VIDEO"
1708
- // 6 - "COMPONENT_VIDEO"
1709
- // 7 - "DVI"
1710
- // 8 - "AIRPLAY"
1711
- // 9 - "USB"
1712
- // 10 - "APPLICATION"
1713
-
1714
823
  break;
1715
824
  }
1716
825
  case "IsConfigured": // 79
@@ -1719,20 +828,6 @@ switch( io )
1719
828
 
1720
829
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
1721
830
 
1722
- // UUID: 000000D6-0000-1000-8000-0026BB765291
1723
- // Type: public.hap.characteristic.isConfigured
1724
- // Permissions: Paired Write, Paired Read, Notify
1725
- // Found in HomeKitTypes.js
1726
-
1727
- // Format: uint8
1728
-
1729
- // Minimum Value: 0
1730
- // Maximum Value: 1
1731
-
1732
- // Valid Values
1733
- // 0 - "NOT_CONFIGURED"
1734
- // 1 - "CONFIGURED"
1735
-
1736
831
  break;
1737
832
  }
1738
833
  case "LeakDetected": // 80
@@ -1741,20 +836,6 @@ switch( io )
1741
836
 
1742
837
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
1743
838
 
1744
- // UUID: 00000070-0000-1000-8000-0026BB765291
1745
- // Type: public.hap.characteristic.leak-detected
1746
- // Permissions: Paired Read, Notify
1747
-
1748
- // Format: uint8
1749
-
1750
- // Minimum Value: 0
1751
- // Maximum Value: 1
1752
- // Step Value: 1
1753
-
1754
- // Valid Values:
1755
- // 0 - "LEAK_NOT_DETECTED" - Leak is not detected
1756
- // 1 - "LEAK_DETECTED" - Leak is detected
1757
-
1758
839
  break;
1759
840
  }
1760
841
  case "LinkQuality": // 81
@@ -1763,19 +844,6 @@ switch( io )
1763
844
 
1764
845
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
1765
846
 
1766
- // UUID: 0000009C-0000-1000-8000-0026BB765291
1767
- // Type: public.hap.characteristic.linkQuality
1768
- // Permissions: Paired Read, Notify
1769
- // Found in HomeKitTypes-Bridge.js (Values ???)
1770
-
1771
- // Format: uint8
1772
-
1773
- // Minimum Value: 1
1774
- // Maximum Value: 4
1775
- // Step Value: 1
1776
-
1777
- // Valid Values:
1778
-
1779
847
  break;
1780
848
  }
1781
849
  case "ListPairings": // 82
@@ -1784,13 +852,6 @@ switch( io )
1784
852
 
1785
853
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
1786
854
 
1787
- // UUID: 00000050-0000-1000-8000-0026BB765291
1788
- // Type: public.hap.characteristic.linkPairings
1789
- // Permissions: Paired Write, Paired Read
1790
- // Found in HomeKitTypes.js (Values ???)
1791
-
1792
- // Format: TLV8
1793
-
1794
855
  break;
1795
856
  }
1796
857
  case "LockControlPoint": // 83
@@ -1799,11 +860,6 @@ switch( io )
1799
860
 
1800
861
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
1801
862
 
1802
- // UUID: 00000019-0000-1000-8000-0026BB765291
1803
- // Type: public.hap.characteristic.lock-management.control-point
1804
- // Permissions: Paired Write
1805
- // Format: tlv8
1806
-
1807
863
  break;
1808
864
  }
1809
865
  case "LockCurrentState": // 84
@@ -1812,23 +868,6 @@ switch( io )
1812
868
 
1813
869
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
1814
870
 
1815
- // UUID: 0000001D-0000-1000-8000-0026BB765291
1816
- // Type: public.hap.characteristic.lock-mechanism.current-state
1817
- // Permissions: Paired Read, Notify
1818
-
1819
- // Format: uint8
1820
-
1821
- // Minimum Value: 0
1822
- // Maximum Value: 3
1823
- // Step Value: 1
1824
-
1825
- // Valid Values:
1826
- // 0 - "UNSECURED" - Unsecured
1827
- // 1 - "SECURED" - Secured
1828
- // 2 - "JAMMED" - Jammed
1829
- // 3 - "Unknown" - unknown
1830
- // 4-255 - "Reserved"
1831
-
1832
871
  break;
1833
872
  }
1834
873
  case "LockLastKnownAction": // 85
@@ -1837,26 +876,6 @@ switch( io )
1837
876
 
1838
877
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
1839
878
 
1840
- // Permissions: Paired Read, Notify
1841
-
1842
- // Format: uint8
1843
-
1844
- // Minimum Value: 0
1845
- // Maximum Value: 8
1846
- // Step Value: 1
1847
-
1848
- // Valid Values:
1849
- // 0 - "SECURED_PHYSICALLY_INTERIOR" - Secured using physical movement, interior
1850
- // 1 - "UNSECURED_PHYSICALLY_INTERIOR" - Unsecured using physical movement, interior
1851
- // 2 - "UNSECURED_PHYSICALLY_INTERIOR" - Secured using physical movement, exterior
1852
- // 3 - "UNSECURED_PHYSICALLY_EXTERIOR" - Unsecured using physical movement, exterior
1853
- // 4 - "SECURED_BY_KEYPAD" - Secured with keypad
1854
- // 5 - "UNSECURED_BY_KEYPAD" - Unsecured with keypad
1855
- // 6 - "SECURED_REMOTELY" - Secured remotely
1856
- // 7 - "UNSECURED_REMOTELY" - Unsecured remotely
1857
- // 8 - "SECURED_BY_AUTO_SECURE_TIMEOUT" - Secured with Automatic Secure timeout
1858
- // 9-255 - "Reserved"
1859
-
1860
879
  break;
1861
880
  }
1862
881
  case "LockManagementAutoSecurityTimeout": // 86
@@ -1865,12 +884,6 @@ switch( io )
1865
884
 
1866
885
  if ( c == "" ) process.stdout.write( "26" ); else process.stdout.write( `"${ c }"` );
1867
886
 
1868
- // UUID: 0000001A-0000-1000-8000-0026BB765291
1869
- // Type: public.hap.characteristic.lock-management.auto-secure-timeout
1870
- // Permissions: Paired Read, Paired Write, Notify
1871
- // Format: uint32
1872
- // Unit: seconds
1873
-
1874
887
  break;
1875
888
  }
1876
889
  case "LockPhysicalControls": // 87
@@ -1879,20 +892,6 @@ switch( io )
1879
892
 
1880
893
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
1881
894
 
1882
- // UUID: 000000A7-0000-1000-8000-0026BB765291
1883
- // Type: public.hap.characteristic.lock-physical-controls
1884
- // Permissions: Paired Write,Paired Read, Notify
1885
-
1886
- // Format: uint8
1887
-
1888
- // Minimum Value: 0
1889
- // Maximum Value: 1
1890
- // Step Value: 1
1891
-
1892
- // Valid Values:
1893
- // 0 - "CONTROL_LOCK_DISABLED" - Control lock disabled
1894
- // 1 - "CONTROL_LOCK_ENABLED" - Control lock enabled
1895
-
1896
895
  break;
1897
896
  }
1898
897
  case "LockTargetState": // 88
@@ -1901,21 +900,6 @@ switch( io )
1901
900
 
1902
901
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
1903
902
 
1904
- // UUID: 0000001E-0000-1000-8000-0026BB765291
1905
- // Type: public.hap.characteristic.lock-mechanism.target-state
1906
- // Permissions: Paired Read, Paired Write, Notify
1907
-
1908
- // Format: uint8
1909
-
1910
- // Minimum Value: 0
1911
- // Maximum Value: 1
1912
- // Step Value: 1
1913
-
1914
- // Valid Values:
1915
- // 0 - "UNSECURED"
1916
- // 1 - "SECURED"
1917
- // 2-255 - "Reserved"
1918
-
1919
903
  break;
1920
904
  }
1921
905
  case "Logs": // 89
@@ -1924,12 +908,6 @@ switch( io )
1924
908
 
1925
909
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
1926
910
 
1927
- // UUID: 0000001F-0000-1000-8000-0026BB765291
1928
- // Type: public.hap.characteristic.logs
1929
- // Permissions: Paired Read, Notify
1930
-
1931
- // Format: tlv8
1932
-
1933
911
  break;
1934
912
  }
1935
913
  case "MACRetransmissionMaximum": // 90
@@ -1938,13 +916,6 @@ switch( io )
1938
916
 
1939
917
  if ( c == "" ) process.stdout.write( "100" ); else process.stdout.write( `"${ c }"` );
1940
918
 
1941
- // UUID: 0000021E-0000-1000-8000-00000247
1942
- // Type: public.hap.characteristic.MACRetransmissionMaximum
1943
- // Permissions: Paired Read
1944
- // Found in HomeKit.js - Checked 11/19/2020
1945
-
1946
- // Format: uint8
1947
-
1948
919
  break;
1949
920
  }
1950
921
  case "MACTransmissionCounters": // 91
@@ -1953,13 +924,6 @@ switch( io )
1953
924
 
1954
925
  if ( c == "" ) process.stdout.write( "100" ); else process.stdout.write( `"${ c }"` );
1955
926
 
1956
- // UUID: 0000021E-0000-1000-8000-00000248
1957
- // Type: public.hap.characteristic.MACTransmissionCounters
1958
- // Permissions: Paired Read
1959
- // Found in HomeKit.js - Checked 11/19/2020
1960
-
1961
- // Format: DATA
1962
-
1963
927
  break;
1964
928
  }
1965
929
  case "ManagedNetworkEnable": // 92
@@ -1968,35 +932,13 @@ switch( io )
1968
932
 
1969
933
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
1970
934
 
1971
- // UUID: 00000020-0000-1000-8000-0026BB765291
1972
- // Type: public.hap.characteristic.ManagedNetworkEnable
1973
- // Permissions: Read, Write, Notify, Timed Write
1974
- // Found in HomeKit.js - Checked 11/19/2020
1975
-
1976
- // Format: uint8
1977
- // Valid Values:
1978
- // 0 - "DISABLED" - Network is Disabled
1979
- // 1 - "ENABLED" - Network is Enabled
1980
- // 2 - "UNKNOWN" - Network is unknown
1981
-
1982
935
  break;
1983
936
  }
1984
937
  case "ManuallyDisabled": // 93
1985
938
  {
1986
939
  c = readData( device, characteristic );
1987
940
 
1988
- if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
1989
-
1990
- // UUID: 00000227-0000-1000-8000-0026BB765291
1991
- // Type: public.hap.characteristic.manuallyDisabled
1992
- // Permissions: Read, Notify
1993
- // Found in HomeKit.js - Checked 11/19/2020
1994
-
1995
- // Format: Bool
1996
-
1997
- // Valid Values:
1998
- // 0 - "ENABLED" - Device has been Manually Disabled
1999
- // 1 - "DISABLED" - Device has been Manually Enabled
941
+ if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
2000
942
 
2001
943
  break;
2002
944
  }
@@ -2006,14 +948,6 @@ switch( io )
2006
948
 
2007
949
  if ( c == "" ) process.stdout.write( "Homebridge" ); else process.stdout.write( `"${ c }"` );
2008
950
 
2009
- // UUID: 00000020-0000-1000-8000-0026BB765291
2010
- // Type: public.hap.characteristic.manufacturer
2011
- // Permissions: Paired Read
2012
-
2013
- // Format: string
2014
-
2015
- // Maximum Length: 64
2016
-
2017
951
  break;
2018
952
  }
2019
953
  case "Model": // 95
@@ -2022,14 +956,6 @@ switch( io )
2022
956
 
2023
957
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
2024
958
 
2025
- // UUID: 000000E7-0000-1000-8000-0026BB765291
2026
- // Type: public.hap.characteristic.model
2027
- // Permissions: Paired Read
2028
-
2029
- // Format: string
2030
-
2031
- // Maximum Length: 64
2032
-
2033
959
  break;
2034
960
  }
2035
961
  case "MotionDetected": // 96
@@ -2038,12 +964,6 @@ switch( io )
2038
964
 
2039
965
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
2040
966
 
2041
- // UUID: 00000022-0000-1000-8000-0026BB765291
2042
- // Type: public.hap.characteristic.motion-detected
2043
- // Permissions: Paired Read, Notify
2044
-
2045
- // Format: bool
2046
-
2047
967
  break;
2048
968
  }
2049
969
  case "Mute": // 97
@@ -2052,16 +972,6 @@ switch( io )
2052
972
 
2053
973
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
2054
974
 
2055
- // UUID: 0000011A-0000-1000-8000-0026BB765291
2056
- // Type: public.hap.characteristic.mute
2057
- // Permissions: Paired Write, Paired Read, Notify
2058
-
2059
- // Format: bool
2060
-
2061
- // Valid Values:
2062
- // 0 - "FALSE - Mute is Off / Audio is On
2063
- // 1 - "TRUE" - Mute is On / There is no Audio
2064
-
2065
975
  break;
2066
976
  }
2067
977
  case "Name": // 98
@@ -2070,14 +980,6 @@ switch( io )
2070
980
 
2071
981
  if ( c == "" ) process.stdout.write( `"${ device }"` ); else process.stdout.write( `"${ c }"` );
2072
982
 
2073
- // UUID: 00000023-0000-1000-8000-0026BB765291
2074
- // Type: public.hap.characteristic.name
2075
- // Permissions: Paired Read, Notify
2076
-
2077
- // Format: string
2078
-
2079
- // Maximum Length: 64
2080
-
2081
983
  break;
2082
984
  }
2083
985
  case "NetworkAccessViolationControl": // 99
@@ -2086,13 +988,6 @@ switch( io )
2086
988
 
2087
989
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
2088
990
 
2089
- // UUID: 00000023-0000-1000-8000-0026BB765291
2090
- // Type: public.hap.characteristic.networkAccessViolationControl
2091
- // Permissions: Read, Write, Notify, Timed Write, Write Response
2092
- // Found in HomeKit.js - Checked 11/19/2020
2093
-
2094
- // Format: TLV8
2095
-
2096
991
  break;
2097
992
  }
2098
993
  case "NetworkClientProfileControl": // 100
@@ -2101,13 +996,6 @@ switch( io )
2101
996
 
2102
997
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
2103
998
 
2104
- // UUID: 0000020C-0000-1000-8000-0026BB765291
2105
- // Type: public.hap.characteristic.NetworkClientProfileControl
2106
- // Permissions: Read, Write, Notify, Timed Write, Write Response
2107
- // Found in HomeKit.js - Checked 11/19/2020
2108
-
2109
- // Format: TLV8
2110
-
2111
999
  break;
2112
1000
  }
2113
1001
  case "NetworkClientStatusControl": // 101
@@ -2116,13 +1004,6 @@ switch( io )
2116
1004
 
2117
1005
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
2118
1006
 
2119
- // UUID: 0000020D-0000-1000-8000-0026BB765291
2120
- // Type: public.hap.characteristic.NetworkClientStatusControl
2121
- // Permissions: Read, Write, Write Response
2122
- // Found in HomeKit.js - Checked 11/19/2020
2123
-
2124
- // Format: TLV8
2125
-
2126
1007
  break;
2127
1008
  }
2128
1009
  case "NightVision": // 102
@@ -2131,16 +1012,6 @@ switch( io )
2131
1012
 
2132
1013
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
2133
1014
 
2134
- // UUID: 0000011B-0000-1000-8000-0026BB765291
2135
- // Type: public.hap.characteristic.nightVision
2136
- // Permissions: Paired Write, Paired Read, Notify
2137
-
2138
- // Format: bool (false) and 1 (true)
2139
-
2140
- // Valid Values
2141
- // 0 - "FALSE" - Disable night-vision mode
2142
- // 1 - "TRUE" - Enable night-vision mode
2143
-
2144
1015
  break;
2145
1016
  }
2146
1017
  case "NitrogenDioxideDensity": // 103
@@ -2149,15 +1020,6 @@ switch( io )
2149
1020
 
2150
1021
  if ( c == "" ) process.stdout.write( "50.0" ); else process.stdout.write( `"${ c }"` );
2151
1022
 
2152
- // UUID: 000000C4-0000-1000-8000-0026BB765291
2153
- // Type: public.hap.characteristic.density.no2
2154
- // Permissions: Paired Read, Notify
2155
-
2156
- // Format: float
2157
-
2158
- // Minimum Value: 0
2159
- // Maximum Value: 1000
2160
-
2161
1023
  break;
2162
1024
  }
2163
1025
  case "ObstructionDetected": // 104
@@ -2166,12 +1028,6 @@ switch( io )
2166
1028
 
2167
1029
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
2168
1030
 
2169
- // UUID: 00000024-0000-1000-8000-0026BB765291
2170
- // Type: public.hap.characteristic.obstruction-detected
2171
- // Permissions: Paired Read, Notify
2172
-
2173
- // Format: bool, 0 (false) and 1 (true)
2174
-
2175
1031
  break;
2176
1032
  }
2177
1033
  case "OccupancyDetected": // 105
@@ -2180,20 +1036,6 @@ switch( io )
2180
1036
 
2181
1037
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
2182
1038
 
2183
- // UUID: 00000071-0000-1000-8000-0026BB765291
2184
- // Type: public.hap.characteristic.occupancy-detected
2185
- // Permissions: Paired Read, Notify
2186
-
2187
- // Format: uint8
2188
-
2189
- // Minimum Value: 0
2190
- // Maximum Value: 1
2191
- // Step Value: 1
2192
-
2193
- // Valid Values
2194
- // 0 - "FALSE" - Occupancy is not detected
2195
- // 1 - "TRUE" - Occupancy is detected
2196
-
2197
1039
  break;
2198
1040
  }
2199
1041
  case "On": // 106
@@ -2202,12 +1044,6 @@ switch( io )
2202
1044
 
2203
1045
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
2204
1046
 
2205
- // UUID: 00000025-0000-1000-8000-0026BB765291
2206
- // Type: public.hap.characteristic.on
2207
- // Permissions: Paired Read, Paired Write, Notify
2208
-
2209
- // Format: bool, 0 (false) and 1 (true)
2210
-
2211
1047
  break;
2212
1048
  }
2213
1049
  case "OperatingStateResponse": // 107
@@ -2216,13 +1052,6 @@ switch( io )
2216
1052
 
2217
1053
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
2218
1054
 
2219
- // UUID: 0000021E-0000-1000-8000-00000232
2220
- // Type: public.hap.characteristic.OperatingStateResponse
2221
- // Permissions: Paired Read, Notify
2222
- // Found in HomeKit.js - Checked 11/19/2020
2223
-
2224
- // Format: TLV8
2225
-
2226
1055
  break;
2227
1056
  }
2228
1057
  case "OpticalZoom": // 108
@@ -2231,16 +1060,6 @@ switch( io )
2231
1060
 
2232
1061
  if ( c == "" ) process.stdout.write( "1.0" ); else process.stdout.write( `"${ c }"` );
2233
1062
 
2234
- // UUID: 0000011C-0000-1000-8000-0026BB765291
2235
- // Type: public.hap.characteristic.opticalZoom
2236
- // Permissions: Paired Write, Paired Read, Notify
2237
-
2238
- // Format: float
2239
-
2240
- // Valid Values
2241
- // The value of this characteristic represents the optical zoom
2242
- // setting of the camera service that is sourcing the input image.
2243
-
2244
1063
  break;
2245
1064
  }
2246
1065
  case "OutletInUse": // 109
@@ -2249,12 +1068,6 @@ switch( io )
2249
1068
 
2250
1069
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
2251
1070
 
2252
- // UUID: 00000026-0000-1000-8000-0026BB765291
2253
- // Type: public.hap.characteristic.outlet-in-use
2254
- // Permissions: Paired Read, Notify
2255
-
2256
- // Format: bool, 0 (false) and 1 (true)
2257
-
2258
1071
  break;
2259
1072
  }
2260
1073
  case "OzoneDensity": // 110
@@ -2263,15 +1076,6 @@ switch( io )
2263
1076
 
2264
1077
  if ( c == "" ) process.stdout.write( "50.0" ); else process.stdout.write( `"${ c }"` );
2265
1078
 
2266
- // UUID: 000000C3-0000-1000-8000-0026BB765291
2267
- // Type: public.hap.characteristic.density.ozone
2268
- // Permissions: Paired Read, Notify
2269
-
2270
- // Format: float
2271
-
2272
- // Minimum Value: 0
2273
- // Maximum Value: 1000k
2274
-
2275
1079
  break;
2276
1080
  }
2277
1081
  case "PM10Density": // 111
@@ -2280,15 +1084,6 @@ switch( io )
2280
1084
 
2281
1085
  if ( c == "" ) process.stdout.write( "50.0" ); else process.stdout.write( `"${ c }"` );
2282
1086
 
2283
- // UUID: 000000C7-0000-1000-8000-0026BB765291
2284
- // Type: public.hap.characteristic.density.pm10
2285
- // Permissions: Paired Read, Notify
2286
-
2287
- // Format: float
2288
-
2289
- // Minimum Value: 0
2290
- // Maximum Value: 1000
2291
-
2292
1087
  break;
2293
1088
  }
2294
1089
  case "PM2_5Density": // 112
@@ -2297,15 +1092,6 @@ switch( io )
2297
1092
 
2298
1093
  if ( c == "" ) process.stdout.write( "50.0" ); else process.stdout.write( `"${ c }"` );
2299
1094
 
2300
- // UUID: 000000C6-0000-1000-8000-0026BB765291
2301
- // Type: public.hap.characteristic.density.pm25
2302
- // Permissions: Paired Read, Notify
2303
-
2304
- // Format: float
2305
-
2306
- // Minimum Value: 0
2307
- // Maximum Value: 1000
2308
-
2309
1095
  break;
2310
1096
  }
2311
1097
  case "PairSetup": // 113
@@ -2314,13 +1100,6 @@ switch( io )
2314
1100
 
2315
1101
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
2316
1102
 
2317
- // UUID: 0000004C-0000-1000-8000-0026BB765291
2318
- // Type: public.hap.characteristic.pairSetup
2319
- // Permissions: Paired Write, Paired Read
2320
- // Found in HomeKitTypes.js (Values ???)
2321
-
2322
- // Format: TLV8
2323
-
2324
1103
  break;
2325
1104
  }
2326
1105
  case "PairVerify": // 114
@@ -2329,13 +1108,6 @@ switch( io )
2329
1108
 
2330
1109
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
2331
1110
 
2332
- // UUID: 0000004E-0000-1000-8000-0026BB765291
2333
- // Type: public.hap.characteristic.pairVerify
2334
- // Permissions: Paired Write, Paired Read
2335
- // Found in HomeKitTypes.js (Values ???)
2336
-
2337
- // Format: TLV8
2338
-
2339
1111
  break;
2340
1112
  }
2341
1113
  case "PairingFeatures": // 115
@@ -2344,13 +1116,6 @@ switch( io )
2344
1116
 
2345
1117
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
2346
1118
 
2347
- // UUID: 0000004F-0000-1000-8000-0026BB765291
2348
- // Type: public.hap.characteristic.pairingFeatures
2349
- // Permissions: Paired Read,
2350
- // Found in HomeKitTypes.js (Values ???)
2351
-
2352
- // Format: uint8
2353
-
2354
1119
  break;
2355
1120
  }
2356
1121
  case "PairingPairings": // 116
@@ -2359,13 +1124,6 @@ switch( io )
2359
1124
 
2360
1125
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
2361
1126
 
2362
- // UUID: 00000050-0000-1000-8000-0026BB765291
2363
- // Type: public.hap.characteristic.pairingPairings
2364
- // Permissions: Paired Write, Paired Read
2365
- // Found in HomeKitTypes.js (Values ???)
2366
-
2367
- // Format: TLV8
2368
-
2369
1127
  break;
2370
1128
  }
2371
1129
  case "PasswordSetting": // 117
@@ -2374,13 +1132,6 @@ switch( io )
2374
1132
 
2375
1133
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
2376
1134
 
2377
- // UUID: 000000DA-0000-1000-8000-0026BB765291
2378
- // Type: public.hap.characteristic.passwordSetting
2379
- // Permissions: Notify, Paired Read, Paired Write
2380
- // Found in HomeKit.js - Checked 11/19/2020
2381
-
2382
- // Format: TLV8
2383
-
2384
1135
  break;
2385
1136
  }
2386
1137
  case "PeriodicSnapshotsActive": // 118
@@ -2389,17 +1140,6 @@ switch( io )
2389
1140
 
2390
1141
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
2391
1142
 
2392
- // UUID: 00000225-0000-1000-8000-0026BB765291
2393
- // Type: public.hap.characteristic.periodicSnapshotsActive
2394
- // Permissions: Read, Write, Notify
2395
- // Found in HomeKit.js - Checked 11/19/2020
2396
-
2397
- // Format: uint8
2398
-
2399
- // Valid Values:
2400
- // "DISABLE": 0 -
2401
- // "ENABLE": 1 -
2402
-
2403
1143
  break;
2404
1144
  }
2405
1145
  case "PictureMode": // 119
@@ -2408,23 +1148,6 @@ switch( io )
2408
1148
 
2409
1149
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
2410
1150
 
2411
- // UUID: 000000E2-0000-1000-8000-0026BB765291
2412
- // Type: public.hap.characteristic.pictureMode
2413
- // Permissions: Paired Write, Paired Read, Notify
2414
- // Found in HomeKitTypes-Television.js
2415
-
2416
- // Format: uint16
2417
-
2418
- // Valid Values
2419
- // 0 - "OTHER"
2420
- // 1 - "STANDARD"
2421
- // 2 - "CALIBRATED"
2422
- // 3 - "CALIBRATED_DARK"
2423
- // 4 - "VIVID"
2424
- // 5 - "GAME"
2425
- // 6 - "COMPUTER"
2426
- // 7 - "CUSTOM"
2427
-
2428
1151
  break;
2429
1152
  }
2430
1153
  case "Ping": // 120
@@ -2433,12 +1156,6 @@ switch( io )
2433
1156
 
2434
1157
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
2435
1158
 
2436
- // UUID: 0000021E-0000-1000-8000-0000023C
2437
- // Type: public.hap.characteristic.ping
2438
- // Permissions: Paired Read
2439
-
2440
- // Format: DATA ????
2441
-
2442
1159
  break;
2443
1160
  }
2444
1161
  case "PositionState": // 121
@@ -2447,22 +1164,6 @@ switch( io )
2447
1164
 
2448
1165
  if ( c == "" ) process.stdout.write( "2" ); else process.stdout.write( `"${ c }"` );
2449
1166
 
2450
- // UUID: 00000072-0000-1000-8000-0026BB765291
2451
- // Type: public.hap.characteristic.position.state
2452
- // Permissions: Paired Read, Notify
2453
-
2454
- // Format: uint8
2455
-
2456
- // Minimum Value: 0
2457
- // Maximum Value: 2
2458
- // Step Value: 1
2459
-
2460
- // Valid Values:
2461
- // 0 - "DECREASING" - Going to the minimum value specified in metadata
2462
- // 1 - "INCREASING" - Going to the maximum value specified in metadata
2463
- // 2 - "STOPPED"
2464
- // 3-255 "Reserved"
2465
-
2466
1167
  break;
2467
1168
  }
2468
1169
  case "PowerModeSelection": // 122
@@ -2471,17 +1172,6 @@ switch( io )
2471
1172
 
2472
1173
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
2473
1174
 
2474
- // UUID: 000000DF-0000-1000-8000-0026BB765291
2475
- // Type: public.hap.characteristic.powerModeSelection
2476
- // Permissions: Paired Write
2477
- // Found in HomeKitTypes-Television.js
2478
-
2479
- // Format: uint8
2480
-
2481
- // Valid Values
2482
- // 0 - "SHOW"
2483
- // 1 - "HIDE"
2484
-
2485
1175
  break;
2486
1176
  }
2487
1177
  case "ProductData": // 123
@@ -2490,15 +1180,6 @@ switch( io )
2490
1180
 
2491
1181
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
2492
1182
 
2493
- // UUID: 00000220-0000-1000-8000-0026BB765291
2494
- // Type: public.hap.characteristic.productData
2495
- // Permissions: Read
2496
- // Found in HomeKitT.js - Checked 11/19/2020
2497
-
2498
- // Format: DATA ???
2499
-
2500
- // Valid Values
2501
-
2502
1183
  break;
2503
1184
  }
2504
1185
  case "ProgramMode": // 124
@@ -2507,17 +1188,6 @@ switch( io )
2507
1188
 
2508
1189
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
2509
1190
 
2510
- // UUID: 000000E7-0000-1000-8000-0026BB765291
2511
- // Type: public.hap.characteristic.programMode
2512
- // Permissions: Paired Read, Notify
2513
-
2514
- // Format: uint8
2515
-
2516
- // Valid Values
2517
- // 0 - "NO_PROGRAM_SCHEDULED"
2518
- // 1 - "PROGRAM_SCHEDULED"
2519
- // 1 - "PROGRAM_SCHEDULED_MANUAL_MODE"
2520
-
2521
1191
  break;
2522
1192
  }
2523
1193
  case "ProgrammableSwitchEvent": // 125
@@ -2526,22 +1196,6 @@ switch( io )
2526
1196
 
2527
1197
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
2528
1198
 
2529
- // UUID: 00000073-0000-1000-8000-0026BB765291
2530
- // Type: public.hap.characteristic.input-event
2531
- // Permissions: Paired Read, Notify
2532
-
2533
- // Format: uint8
2534
-
2535
- // Minimum Value: 0
2536
- // Maximum Value: 2
2537
- // Step Value: 1
2538
-
2539
- // Valid Values:
2540
- // 0 - "SINGLE_PRESS"
2541
- // 1 - "DOUBLE_PRESS"
2542
- // 2 - "LONG_PRESS"
2543
- // 3-255 - "Reserved"
2544
-
2545
1199
  break;
2546
1200
  }
2547
1201
  case "ProgrammableSwitchOutputState": // 126
@@ -2550,19 +1204,6 @@ switch( io )
2550
1204
 
2551
1205
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
2552
1206
 
2553
- // UUID: 00000074-0000-1000-8000-0026BB765291
2554
- // Type: public.hap.characteristic.programmableSwitchOutputState
2555
- // Permissions: Paired Read, Notify
2556
- // Found in HomeKitTypes-Bridge.js (Values ???)
2557
-
2558
- // Format: uint8
2559
-
2560
- // Minimum Value: 0
2561
- // Maximum Value: 1
2562
- // Step Value: 1
2563
-
2564
- // Valid Values:
2565
-
2566
1207
  break;
2567
1208
  }
2568
1209
  case "Reachable": // 127
@@ -2571,15 +1212,6 @@ switch( io )
2571
1212
 
2572
1213
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
2573
1214
 
2574
- // UUID: 00000063-0000-1000-8000-0026BB765291
2575
- // Type: public.hap.characteristic.reachable
2576
- // Permissions: Paired Read, Notify
2577
- // Found in HomeKitTypes-Bridge.js (Values ???)
2578
-
2579
- // Format: bool
2580
-
2581
- // Valid Values:
2582
-
2583
1215
  break;
2584
1216
  }
2585
1217
  case "ReceivedSignalStrengthIndication": // 128
@@ -2588,15 +1220,6 @@ switch( io )
2588
1220
 
2589
1221
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
2590
1222
 
2591
- // UUID: 0000021E-0000-1000-8000-0000023F
2592
- // Type: public.hap.characteristic.ReceivedSignalStrengthIndication
2593
- // Permissions: Paired Read
2594
- // Found in HomeKit.js - Checked 11/19/2020
2595
-
2596
- // Format: int
2597
-
2598
- // Valid Values:
2599
-
2600
1223
  break;
2601
1224
  }
2602
1225
  case "ReceiverSensitivity": // 129
@@ -2605,15 +1228,6 @@ switch( io )
2605
1228
 
2606
1229
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
2607
1230
 
2608
- // UUID: 0000021E-0000-1000-8000-00000244
2609
- // Type: public.hap.characteristic.receiverSensitivity
2610
- // Permissions: Paired Read
2611
- // Found in HomeKit.js - Checked 11/19/2020
2612
-
2613
- // Format: int
2614
-
2615
- // Valid Values:
2616
-
2617
1231
  break;
2618
1232
  }
2619
1233
  case "RecordingAudioActive": // 130
@@ -2622,17 +1236,6 @@ switch( io )
2622
1236
 
2623
1237
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
2624
1238
 
2625
- // UUID: 0000226-0000-1000-8000-0026BB765291
2626
- // Type: public.hap.characteristic.recordingAudioActive
2627
- // Permissions: Read, Write, Notify
2628
- // Found in HomeKit.js - Checked 11/19/2020
2629
-
2630
- // Format: uint8
2631
-
2632
- // Valid Values:
2633
- // 0 - "DISABLE"
2634
- // 1 - "ENABLE"
2635
-
2636
1239
  break;
2637
1240
  }
2638
1241
  case "RelativeHumidityDehumidifierThreshold": // 131
@@ -2641,16 +1244,6 @@ switch( io )
2641
1244
 
2642
1245
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
2643
1246
 
2644
- // UUID: 000000C9-0000-1000-8000-0026BB765291
2645
- // Type: public.hap.characteristic.relativeHumidityDehumidifierThreshold
2646
- // Permissions: Paired Write, Paired Read, Notify
2647
-
2648
- // Format: float
2649
-
2650
- // Minimum Value: 0
2651
- // Maximum Value: 100
2652
- // Minimum Step: 1
2653
-
2654
1247
  break;
2655
1248
  }
2656
1249
  case "RelativeHumidityHumidifierThreshold": // 132
@@ -2659,18 +1252,6 @@ switch( io )
2659
1252
 
2660
1253
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
2661
1254
 
2662
- // UUID: 000000CA-0000-1000-8000-0026BB765291
2663
- // Type: public.hap.characteristic.relativeHumidityHumidifierThreshold
2664
- // Permissions: Paired Write, Paired Read, Notify
2665
-
2666
- // Format: uint32
2667
-
2668
- // Units: Percentage
2669
-
2670
- // Minimum Value: 0
2671
- // Maximum Value: 100
2672
- // Minimum Step: 1
2673
-
2674
1255
  break;
2675
1256
  }
2676
1257
  case "RelayControlPoint": // 133
@@ -2679,13 +1260,6 @@ switch( io )
2679
1260
 
2680
1261
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
2681
1262
 
2682
- // UUID: 0000005E-0000-1000-8000-0026BB765291
2683
- // Type: public.hap.characteristic.reachable
2684
- // Permissions: Paired Read, Notify
2685
- // Found in HomeKitTypes-Bridge.js (Values ???)
2686
-
2687
- // Format: TLV8
2688
-
2689
1263
  break;
2690
1264
  }
2691
1265
  case "RelayEnabled": // 134
@@ -2694,15 +1268,6 @@ switch( io )
2694
1268
 
2695
1269
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
2696
1270
 
2697
- // UUID: 0000005B-0000-1000-8000-0026BB765291
2698
- // Type: public.hap.characteristic.relayEnabled
2699
- // Permissions: Paired Write, Paired Read, Notify
2700
- // Found in HomeKitTypes-Bridge.js (Values ???)
2701
-
2702
- // Format: bool
2703
-
2704
- // Valid Values:
2705
-
2706
1271
  break;
2707
1272
  }
2708
1273
  case "RelayState": // 135
@@ -2711,15 +1276,6 @@ switch( io )
2711
1276
 
2712
1277
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
2713
1278
 
2714
- // UUID: 0000005C-0000-1000-8000-0026BB765291
2715
- // Type: public.hap.characteristic.relayState
2716
- // Permissions: Paired Read, Notify
2717
- // Found in HomeKitTypes-Bridge.js (Values ???)
2718
-
2719
- // Format: uint8
2720
-
2721
- // Valid Values:
2722
-
2723
1279
  break;
2724
1280
  }
2725
1281
  case "RemainingDuration": // 136
@@ -2728,17 +1284,6 @@ switch( io )
2728
1284
 
2729
1285
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
2730
1286
 
2731
- // UUID: 000000D4-0000-1000-8000-0026BB765291
2732
- // Type: public.hap.characteristic.remainingDuration
2733
- // Permissions: Paired Read, Notify
2734
- // Found in HomeKitTypes.js
2735
-
2736
- // Format: uint32
2737
-
2738
- // Minimum Value: 0
2739
- // Maximum Value: 3600
2740
- // Minimum Step: 1
2741
-
2742
1287
  break;
2743
1288
  }
2744
1289
  case "RemoteKey": // 137
@@ -2747,28 +1292,6 @@ switch( io )
2747
1292
 
2748
1293
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
2749
1294
 
2750
- // UUID: 000000E1-0000-1000-8000-0026BB765291
2751
- // Type: public.hap.characteristic.remoteKey
2752
- // Permissions: Paired Write
2753
- // Found in HomeKitTypes-Television.js
2754
-
2755
- // Format: uint8
2756
-
2757
- // Valid Values
2758
- // 0 - "REWIND"
2759
- // 1 - "FAST_FORWARD"
2760
- // 2 - "NEXT_TRACK"
2761
- // 3 - "PREVIOUS_TRACK"
2762
- // 4 - "ARROW_UP"
2763
- // 5 - "ARROW_DOWN"
2764
- // 6 - "ARROW_LEFT"
2765
- // 7 - "ARROW_RIGHT"
2766
- // 8 - "SELECT"
2767
- // 9 - "BACK"
2768
- // 10 - "EXIT"
2769
- // 11 - "PLAY_PAUSE"
2770
- // 12 - "INFORMATION"
2771
-
2772
1295
  break;
2773
1296
  }
2774
1297
  case "ResetFilterIndication": // 138
@@ -2777,15 +1300,6 @@ switch( io )
2777
1300
 
2778
1301
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
2779
1302
 
2780
- // UUID: 000000AD-0000-1000-8000-0026BB765291
2781
- // Type: public.hap.characteristic.filter.reset-indication
2782
- // Permissions: Paired Write
2783
-
2784
- // Format: uint8
2785
-
2786
- // Minimum Value: 1
2787
- // Maximum Value: 1
2788
-
2789
1303
  break;
2790
1304
  }
2791
1305
  case "RotationDirection": // 139
@@ -2794,17 +1308,6 @@ switch( io )
2794
1308
 
2795
1309
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
2796
1310
 
2797
- // UUID:00000028-0000-1000-8000-0026BB765291
2798
- // Type: public.hap.characteristic.rotation.direction
2799
- // Permissions: Paired Read, Paired Write, Notify
2800
- // Format: int
2801
-
2802
- // Step Value: 1
2803
- // Valid Values
2804
- // 0 - "CLOCKWISE"
2805
- // 1 - "COUNTER_CLOCKWISE"
2806
- // 2-255 "Reserved"
2807
-
2808
1311
  break;
2809
1312
  }
2810
1313
  case "RotationSpeed": // 140
@@ -2813,17 +1316,6 @@ switch( io )
2813
1316
 
2814
1317
  if ( c == "" ) process.stdout.write( "100" ); else process.stdout.write( `"${ c }"` );
2815
1318
 
2816
- // UUID: 00000029-0000-1000-8000-0026BB765291
2817
- // Type: public.hap.characteristic.rotation.speed
2818
- // Permissions: Paired Read, Paired Write, Notify
2819
-
2820
- // Format: float
2821
-
2822
- // Minimum Value: 0
2823
- // Maximum Value: 100
2824
- // Step Value: 1
2825
- // Unit: percentage
2826
-
2827
1319
  break;
2828
1320
  }
2829
1321
  case "RouterStatus": // 141
@@ -2832,20 +1324,6 @@ switch( io )
2832
1324
 
2833
1325
  if ( c == "" ) process.stdout.write( "100" ); else process.stdout.write( `"${ c }"` );
2834
1326
 
2835
- // UUID: 0000020E-0000-1000-8000-0026BB765291
2836
- // Type: public.hap.characteristic.routerStatus
2837
- // Permissions: Read, Notify
2838
- // Found in HomeKit.js - Checked 11/19/2020
2839
-
2840
- // Format: uint8
2841
-
2842
- // Minimum Value: 0
2843
- // Maximum Value: 1
2844
-
2845
- // Valid Values:
2846
- // 0 - "READY"
2847
- // 1 - "NOT_READY"
2848
-
2849
1327
  break;
2850
1328
  }
2851
1329
  case "Saturation": // 142
@@ -2854,17 +1332,6 @@ switch( io )
2854
1332
 
2855
1333
  if ( c == "" ) process.stdout.write( "50" ); else process.stdout.write( `"${ c }"` );
2856
1334
 
2857
- // UUID: 0000002F-0000-1000-8000-0026BB765291
2858
- // Type: public.hap.characteristic.saturation
2859
- // Permissions: Paired Read, Paired Write, Notify
2860
-
2861
- // Format: float
2862
-
2863
- // Minimum Value: 0
2864
- // Maximum Value: 100
2865
- // Step Value: 1
2866
- // Unit: percentage
2867
-
2868
1335
  break;
2869
1336
  }
2870
1337
  case "SecuritySystemAlarmType": // 143
@@ -2873,20 +1340,6 @@ switch( io )
2873
1340
 
2874
1341
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
2875
1342
 
2876
- // UUID: 0000008E-0000-1000-8000-0026BB765291
2877
- // Type: public.hap.characteristic.security-system.alarm-type
2878
- // Permissions: Paired Read, Notify
2879
-
2880
- // Format: uint8
2881
-
2882
- // Minimum Value: 0
2883
- // Maximum Value: 1
2884
- // Step Value: 1
2885
-
2886
- // Valid Values:
2887
- // 0 - When alert cleared
2888
- // 1 - Unknown Cause
2889
-
2890
1343
  break;
2891
1344
  }
2892
1345
  case "SecuritySystemCurrentState": // 144
@@ -2895,25 +1348,6 @@ switch( io )
2895
1348
 
2896
1349
  if ( c == "" ) process.stdout.write( "3" ); else process.stdout.write( `"${ c }"` );
2897
1350
 
2898
- // UUID: 00000066-0000-1000-8000-0026BB765291
2899
- // Type: public.hap.characteristic.security-system-state.current
2900
- // Permissions: Paired Read, Notify
2901
-
2902
- // Format: uint8
2903
-
2904
- // Minimum Value: 0
2905
- // Maximum Value: 4
2906
- // Step Value: 1
2907
-
2908
- // Valid Values:
2909
- // 0 - "STAY_ARM" - The home is occupied and the residents are
2910
- // active. e.g. morning or evenings"
2911
- // 1 - "AWAY_ARM" - The home is unoccupied"
2912
- // 2 - "NIGHT ARM" - The home is occupied and the residents are sleeping"
2913
- // 3 - "DISARMED"
2914
- // 4 - "ALARM_TRIGGERED"
2915
- // 5 - 255 - Reserved
2916
-
2917
1351
  break;
2918
1352
  }
2919
1353
  case "SecuritySystemTargetState": // 145
@@ -2922,24 +1356,6 @@ switch( io )
2922
1356
 
2923
1357
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
2924
1358
 
2925
- // UUID: 00000067-0000-1000-8000-0026BB765291
2926
- // Type: public.hap.characteristic.security-system-state.target
2927
- // Permissions: Paired Read, Paired Write, Notify
2928
-
2929
- // Format: uint8
2930
-
2931
- // Minimum Value: 0
2932
- // Maximum Value: 3
2933
- // Step Value: 1
2934
-
2935
- // Valid Values:
2936
- // 0 - "StAY_ARM" - The home is occupied and the residents
2937
- // are active. e.g. morning or evenings
2938
- // 1 - "AWAY_ARM" - The home is unoccupied
2939
- // 2 - "NIGHT_ARM" - The home is occupied and the residents are sleeping
2940
- //
2941
- // 3 - 255 - Reserved
2942
-
2943
1359
  break;
2944
1360
  }
2945
1361
  case "SelectedAudioStreamConfiguration": // 146
@@ -2948,13 +1364,6 @@ switch( io )
2948
1364
 
2949
1365
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
2950
1366
 
2951
- // UUID: SelectedAudioStreamConfiguration
2952
- // Type: public.hap.characteristic.SelectedAudioStreamConfiguration
2953
- // Permissions: Paired Read, Paired Write
2954
- // Found in HomeKitTypes.js - Checked 11/19/2020
2955
-
2956
- // Format: TLV8
2957
-
2958
1367
  break;
2959
1368
  }
2960
1369
  case "SelectedCameraRecordingConfiguration": // 147
@@ -2963,13 +1372,6 @@ switch( io )
2963
1372
 
2964
1373
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
2965
1374
 
2966
- // UUID: 00000209-0000-1000-8000-0026BB765291
2967
- // Type: public.hap.characteristic.selectedCameraRecordingConfiguration
2968
- // Permissions: Read, Write
2969
- // Found in HomeKitTypes.js - Checked 11/19/2020
2970
-
2971
- // Format: TLV8
2972
-
2973
1375
  break;
2974
1376
  }
2975
1377
  case "SelectedRTPStreamConfiguration": // 148
@@ -2978,12 +1380,6 @@ switch( io )
2978
1380
 
2979
1381
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
2980
1382
 
2981
- // UUID: 00000117-0000-1000-8000-0026BB765291
2982
- // Type: public.hap.characteristic.selected-rtp-stream-configuration
2983
- // Permissions: Paired Write
2984
-
2985
- // Format: TLV8
2986
-
2987
1383
  break;
2988
1384
  }
2989
1385
  case "SerialNumber": // 149
@@ -2992,14 +1388,6 @@ switch( io )
2992
1388
 
2993
1389
  if ( c == "" ) process.stdout.write( "ABC001" ); else process.stdout.write( `"${ c }"` );
2994
1390
 
2995
- // UUID: 00000030-0000-1000-8000-0026BB765291
2996
- // Type: public.hap.characteristic.serial-number
2997
- // Permissions: Paired Read
2998
-
2999
- // Format: string
3000
-
3001
- // Max Length: 64
3002
-
3003
1391
  break;
3004
1392
  }
3005
1393
  case "ServiceLabelIndex": // 150
@@ -3008,15 +1396,6 @@ switch( io )
3008
1396
 
3009
1397
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3010
1398
 
3011
- // UUID: 000000CB-0000-1000-8000-0026BB765291
3012
- // Type: public.hap.characteristic.service-label-index
3013
- // Permissions: Paired Read
3014
-
3015
- // Format: uint8
3016
-
3017
- // Minimum Value: 1
3018
- // Step Value: 1
3019
-
3020
1399
  break;
3021
1400
  }
3022
1401
  case "ServiceLabelNamespace": // 151
@@ -3025,21 +1404,6 @@ switch( io )
3025
1404
 
3026
1405
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3027
1406
 
3028
- // UUID: 000000CD-0000-1000-8000-0026BB765291
3029
- // Type: public.hap.characteristic.service-label-namespace
3030
- // Permissions: Paired Read
3031
-
3032
- // Format: uint8
3033
-
3034
- // Minimum Value: 0
3035
- // Maximum Value: 1
3036
- // Step Value: 1
3037
-
3038
- // Valid Values:
3039
- // 0 - "DOTS" - For example, "." ".." "..." "....""
3040
- // 1 - "ARABIC_NUMERALS" . For example, "0,1,2,3"
3041
- // 2-255 - "Reserved"
3042
-
3043
1407
  break;
3044
1408
  }
3045
1409
  case "SetDuration": // 152
@@ -3048,16 +1412,6 @@ switch( io )
3048
1412
 
3049
1413
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
3050
1414
 
3051
- // UUID: 000000D3-0000-1000-8000-0026BB765291
3052
- // Type: public.hap.characteristic.setDuration
3053
- // Permissions: Paired Write, Paired Read, Notify
3054
-
3055
- // Format: uint32
3056
-
3057
- // Minimum Value: 0
3058
- // Maximum Value: 3600
3059
- // Step Value: 1
3060
-
3061
1415
  break;
3062
1416
  }
3063
1417
  case "SetupDataStreamTransport": // 153
@@ -3066,15 +1420,6 @@ switch( io )
3066
1420
 
3067
1421
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3068
1422
 
3069
- // UUID: SetupDataStreamTransport
3070
- // Type: public.hap.characteristic.SetupDataStreamTransport
3071
- // Permissions: Paired Read, Paired Write, Write Response
3072
- // Found in HomeKit.js - Checked 11/19/2020
3073
-
3074
- // Format: TLV8
3075
-
3076
- // Valid Values:
3077
-
3078
1423
  break;
3079
1424
  }
3080
1425
  case "SetupEndpoints": // 154
@@ -3083,15 +1428,6 @@ switch( io )
3083
1428
 
3084
1429
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3085
1430
 
3086
- // UUID: 00000118-0000-1000-8000-0026BB765291
3087
- // Type: public.hap.characteristic.setup-endpoints
3088
- // Permissions: Paired Write, Paired Read
3089
-
3090
- // Format: TLV8
3091
-
3092
- // Valid Values:
3093
- // See Hap Spec
3094
-
3095
1431
  break;
3096
1432
  }
3097
1433
  case "SetupTransferTransport": // 155
@@ -3100,15 +1436,6 @@ switch( io )
3100
1436
 
3101
1437
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3102
1438
 
3103
- // UUID: 00000201-0000-1000-8000-0026BB765291
3104
- // Type: public.hap.characteristic.setupTransferTransport
3105
- // Permissions: Paired Write, Write Response
3106
- // Found in HomeKit.js - Checked 11/19/2020
3107
-
3108
- // Format: TLV8
3109
-
3110
- // Valid Values:
3111
-
3112
1439
  break;
3113
1440
  }
3114
1441
  case "SignalToNoiseRatio": // 156
@@ -3117,12 +1444,6 @@ switch( io )
3117
1444
 
3118
1445
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3119
1446
 
3120
- // UUID: SignalToNoiseRatio
3121
- // Type: public.hap.characteristic.SignalToNoiseRatio
3122
- // Permissions: Paired Read
3123
-
3124
- // Format: int
3125
-
3126
1447
  break;
3127
1448
  }
3128
1449
  case "SiriInputType": // 157
@@ -3131,18 +1452,6 @@ switch( io )
3131
1452
 
3132
1453
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3133
1454
 
3134
- // UUID: 00000068-0000-1000-8000-0026BB765291
3135
- // Type: public.hap.characteristic.SiriInputType
3136
- // Permissions: Paired Read
3137
-
3138
- // Format: uint8
3139
-
3140
- // minValue: 0
3141
- // maxValue: 0
3142
-
3143
- // Valid Values:
3144
- // 0 - "PUSH_BUTTON_TRIGGERED_APPLE_TV"
3145
-
3146
1455
  break;
3147
1456
  }
3148
1457
  case "SlatType": // 158
@@ -3151,20 +1460,6 @@ switch( io )
3151
1460
 
3152
1461
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3153
1462
 
3154
- // UUID: 000000C0-0000-1000-8000-0026BB765291
3155
- // Type: public.hap.characteristic.type.slat
3156
- // Permissions: Paired Read
3157
-
3158
- // Format: uint8
3159
-
3160
- // Minimum Value: 0
3161
- // Maximum Value: 1
3162
- // Step Value: 1
3163
-
3164
- // Valid Values:
3165
- // 0 - "HORIZONTAL"
3166
- // 1 - "VERTICAL"
3167
-
3168
1463
  break;
3169
1464
  }
3170
1465
  case "SleepDiscoveryMode": // 159
@@ -3173,19 +1468,6 @@ switch( io )
3173
1468
 
3174
1469
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
3175
1470
 
3176
- // UUID: 000000E8-0000-1000-8000-0026BB765291
3177
- // Type: public.hap.characteristic.sleepDiscoveryMode
3178
- // Permissions: Paired Write, Paired Read, Notify
3179
-
3180
- // Format: uint8
3181
-
3182
- // Minimum Value: 0
3183
- // Maximum Value: 1
3184
-
3185
- // Valid Values
3186
- // 0 - "NOT_DISCOVERABLE"
3187
- // 1 - "ALWAYS_DISCOVERABLE"
3188
-
3189
1471
  break;
3190
1472
  }
3191
1473
  case "SleepInterval": // 160
@@ -3194,17 +1476,6 @@ switch( io )
3194
1476
 
3195
1477
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
3196
1478
 
3197
- // UUID: 000000E8-0000-1000-8000-0026BB765291
3198
- // Type: public.hap.characteristic.sleepInterval
3199
- // Permissions: Paired Read, Notify
3200
-
3201
- // Format: uint32
3202
-
3203
- // Minimum Value: 0
3204
- // Min Step: 1
3205
-
3206
- // Valid Values
3207
-
3208
1479
  break;
3209
1480
  }
3210
1481
  case "SmokeDetected": // 161
@@ -3213,20 +1484,6 @@ switch( io )
3213
1484
 
3214
1485
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3215
1486
 
3216
- // UUID: 00000076-0000-1000-8000-0026BB765291
3217
- // Type: public.hap.characteristic.smoke-detected
3218
- // Permissions: Paired Read, Notify
3219
-
3220
- // Format: uint8
3221
-
3222
- // Minimum Value: 0
3223
- // Maximum Value: 1
3224
- // Step Value: 1
3225
-
3226
- // Valid Values:
3227
- // 0 - "SMOKE_NOT_DETECTED" - Smoke is not detected
3228
- // 1 - "SMOKE_DETECTED" - Smoke is detected
3229
-
3230
1487
  break;
3231
1488
  }
3232
1489
  case "SoftwareRevision": // 162
@@ -3235,12 +1492,6 @@ switch( io )
3235
1492
 
3236
1493
  if ( c == "" ) process.stdout.write( "50" ); else process.stdout.write( `"${ c }"` );
3237
1494
 
3238
- // UUID: SoftwareRevision
3239
- // Type: public.hap.characteristic.SoftwareRevision
3240
- // Permissions: Read
3241
-
3242
- // Format: string
3243
-
3244
1495
  break;
3245
1496
  }
3246
1497
  case "StatusActive": // 163
@@ -3249,12 +1500,6 @@ switch( io )
3249
1500
 
3250
1501
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
3251
1502
 
3252
- // UUID: 00000075-0000-1000-8000-0026BB765291
3253
- // Type: public.hap.characteristic.status-active
3254
- // Permissions: Paired Read, Notify
3255
-
3256
- // Format: bool, 0 (false) and 1 (true)
3257
-
3258
1503
  break;
3259
1504
  }
3260
1505
  case "StatusFault": // 164
@@ -3263,18 +1508,6 @@ switch( io )
3263
1508
 
3264
1509
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3265
1510
 
3266
- // UUID: 00000077-0000-1000-8000-0026BB765291
3267
- // Type: public.hap.characteristic.status-fault
3268
- // Permissions: Paired Read, Notify
3269
- // Format: uint8
3270
- // Minimum Value: 0
3271
- // Maximum Value: 1
3272
- // Step Value: 1
3273
-
3274
- // Valid Values:
3275
- // 0 - "NO_FAULT"
3276
- // 1 - "GENERAL_FAULT"
3277
-
3278
1511
  break;
3279
1512
  }
3280
1513
  case "StatusJammed": // 165
@@ -3283,17 +1516,6 @@ switch( io )
3283
1516
 
3284
1517
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3285
1518
 
3286
- // UUID: 00000078-0000-1000-8000-0026BB765291
3287
- // Type: public.hap.characteristic.statusJammed
3288
- // Permissions: Paired Read, Notify
3289
- // Found in HomeKitTypes.js
3290
-
3291
- // Format: uint8
3292
-
3293
- // Valid Values
3294
- // 0 - "NOT_JAMMED"
3295
- // 1 - "JAMMED"
3296
-
3297
1519
  break;
3298
1520
  }
3299
1521
  case "StatusLowBattery": // 166
@@ -3302,20 +1524,6 @@ switch( io )
3302
1524
 
3303
1525
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3304
1526
 
3305
- // UUID: 00000079-0000-1000-8000-0026BB765291
3306
- // Type: public.hap.characteristic.status-lo-batt
3307
- // Permissions: Paired Read, Notify
3308
-
3309
- // Format: uint8
3310
-
3311
- // Minimum Value: 0
3312
- // Maximum Value: 1
3313
- // Step Value: 1
3314
-
3315
- // Valid Values:
3316
- // 0 - "BATTERY_LEVEL_NORMAL" - Battery level is normal
3317
- // 1 - "BATTERY_LEVEL_LOW" - Battery level is low
3318
-
3319
1527
  break;
3320
1528
  }
3321
1529
  case "StatusTampered": // 167
@@ -3324,16 +1532,6 @@ switch( io )
3324
1532
 
3325
1533
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3326
1534
 
3327
- // UUID: 0000007A-0000-1000-8000-0026BB765291
3328
- // Type: public.hap.characteristic.status-tampered
3329
- // Permissions: Paired Read, Notify
3330
-
3331
- // Format: uint8
3332
-
3333
- // Valid Values:
3334
- // 0 - "NOT_TAMPERED" - Accessory is not tampered"
3335
- // 1 - "TAMPERED" - Accessory is tampered with
3336
-
3337
1535
  break;
3338
1536
  }
3339
1537
  case "StreamingStatus": // 168
@@ -3342,16 +1540,6 @@ switch( io )
3342
1540
 
3343
1541
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3344
1542
 
3345
- // UUID: 00000120-0000-1000-8000-0026BB765291
3346
- // Type: public.hap.characteristic.streamingStatus
3347
- // Permissions: Paired Read, Notify
3348
- // Found in HomeKitTypes.js (Values ???)
3349
-
3350
- // Format: TLV8
3351
-
3352
- // Valid Values
3353
- //
3354
-
3355
1543
  break;
3356
1544
  }
3357
1545
  case "SulphurDioxideDensity": // 169
@@ -3360,15 +1548,6 @@ switch( io )
3360
1548
 
3361
1549
  if ( c == "" ) process.stdout.write( "50.0" ); else process.stdout.write( `"${ c }"` );
3362
1550
 
3363
- // UUID: 000000C5-0000-1000-8000-0026BB765291
3364
- // Type: public.hap.characteristic.density.so2
3365
- // Permissions: Paired Read, Notify
3366
-
3367
- // Format: float
3368
-
3369
- // Minimum Value: 0
3370
- // Maximum Value: 1000
3371
-
3372
1551
  break;
3373
1552
  }
3374
1553
  case "SupportedAudioRecordingConfiguration": // 170
@@ -3377,13 +1556,6 @@ switch( io )
3377
1556
 
3378
1557
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3379
1558
 
3380
- // UUID: 00000207-0000-1000-8000-0026BB765291
3381
- // Type: public.hap.characteristic.SupportedAudioRecordingConfiguration
3382
- // Permissions: Paired Read, notify
3383
- // Found in HomeKit
3384
-
3385
- // Format: TLV8
3386
-
3387
1559
  break;
3388
1560
  }
3389
1561
  case "SupportedAudioStreamConfiguration": // 171
@@ -3392,15 +1564,6 @@ switch( io )
3392
1564
 
3393
1565
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3394
1566
 
3395
- // UUID: 00000115-0000-1000-8000-0026BB765291
3396
- // Type: public.hap.characteristic.supportedAudioStreamConfiguration
3397
- // Permissions: Paired Read
3398
- // Found in HomeKit
3399
-
3400
- // Format: TLV8
3401
-
3402
- // Valid Values
3403
-
3404
1567
  break;
3405
1568
  }
3406
1569
  case "SupportedCameraRecordingConfiguration": // 172
@@ -3409,15 +1572,6 @@ switch( io )
3409
1572
 
3410
1573
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3411
1574
 
3412
- // UUID: 00000205-0000-1000-8000-0026BB765291
3413
- // Type: public.hap.characteristic.SupportedCameraRecordingConfiguration
3414
- // Permissions: Paired Read, Notify
3415
- // Found in HomeKit
3416
-
3417
- // Format: TLV8
3418
-
3419
- // Valid Values
3420
-
3421
1575
  break;
3422
1576
  }
3423
1577
  case "SupportedDataStreamTransportConfiguration": // 173
@@ -3426,15 +1580,6 @@ switch( io )
3426
1580
 
3427
1581
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3428
1582
 
3429
- // UUID: 00000130-0000-1000-8000-0026BB765291
3430
- // Type: public.hap.characteristic.SupportedDataStreamTransportConfiguration
3431
- // Permissions: Paired Read
3432
- // Found in HomeKit
3433
-
3434
- // Format: TLV8
3435
-
3436
- // Valid Values
3437
-
3438
1583
  break;
3439
1584
  }
3440
1585
  case "SupportedCharacteristicValueTransitionConfiguration": // 174
@@ -3443,15 +1588,6 @@ switch( io )
3443
1588
 
3444
1589
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3445
1590
 
3446
- // UUID: 0000021E-0000-1000-8000-00000144
3447
- // Type: public.hap.characteristic.SupportedCharacteristicValueTransitionConfiguration
3448
- // Permissions: Paired Read
3449
- // Found in HomeKit
3450
-
3451
- // Format: TLV8
3452
-
3453
- // Valid Values
3454
-
3455
1591
  break;
3456
1592
  }
3457
1593
  case "SupportedDiagnosticsSnapshot": // 175
@@ -3460,15 +1596,6 @@ switch( io )
3460
1596
 
3461
1597
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3462
1598
 
3463
- // UUID: 0000021E-0000-1000-8000-00000238
3464
- // Type: public.hap.characteristic.SupportedDiagnosticsSnapshot
3465
- // Permissions: Paired Read
3466
- // Found in HomeKit
3467
-
3468
- // Format: TLV8
3469
-
3470
- // Valid Values
3471
-
3472
1599
  break;
3473
1600
  }
3474
1601
  case "SupportedRTPConfiguration": // 176
@@ -3477,13 +1604,6 @@ switch( io )
3477
1604
 
3478
1605
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3479
1606
 
3480
- // UUID: 00000116-0000-1000-8000-0026BB765291
3481
- // Type: public.hap.characteristic.supportedRTPConfiguration
3482
- // Permissions: Paired Read,
3483
- // Found in HomeKitTypes.js
3484
-
3485
- // Format: TLV8
3486
-
3487
1607
  break;
3488
1608
  }
3489
1609
  case "SupportedRouterConfiguration": // 177
@@ -3492,13 +1612,6 @@ switch( io )
3492
1612
 
3493
1613
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3494
1614
 
3495
- // UUID: 00000210-0000-1000-8000-0026BB765291
3496
- // Type: public.hap.characteristic.supportedRouterConfiguration
3497
- // Permissions: Read,
3498
- // Found in HomeKitTypes.js - Checked 11/19/2020
3499
-
3500
- // Format: TLV8
3501
-
3502
1615
  break;
3503
1616
  }
3504
1617
  case "SupportedTransferTransportConfiguration": // 178
@@ -3507,13 +1620,6 @@ switch( io )
3507
1620
 
3508
1621
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3509
1622
 
3510
- // UUID: 00000202-0000-1000-8000-0026BB765291'
3511
- // Type: public.hap.characteristic.supportedTransferTransportConfiguration
3512
- // Permissions: Paired Read,
3513
- // Found in HomeKitTypes.js
3514
-
3515
- // Format: TLV8
3516
-
3517
1623
  break;
3518
1624
  }
3519
1625
  case "SupportedVideoRecordingConfiguration": // 179
@@ -3522,13 +1628,6 @@ switch( io )
3522
1628
 
3523
1629
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3524
1630
 
3525
- // UUID: 00000206-0000-1000-8000-0026BB765291
3526
- // Type: public.hap.characteristic.SupportedVideoRecordingConfiguration
3527
- // Permissions: Paired Read, Notify
3528
- // Found in HomeKit
3529
-
3530
- // Format: TLV8
3531
-
3532
1631
  break;
3533
1632
  }
3534
1633
  case "SupportedVideoStreamConfiguration": // 180
@@ -3537,34 +1636,13 @@ switch( io )
3537
1636
 
3538
1637
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3539
1638
 
3540
- // UUID: 000000E7-0000-1000-8000-0026BB765291
3541
- // Type: public.hap.characteristic.supportedVideoStreamConfiguration
3542
- // Permissions: Paired Read
3543
- // Found in HomeKitTypes.js (Values ???)
3544
-
3545
- // Format: TLV8
3546
-
3547
1639
  break;
3548
1640
  }
3549
1641
  case "SwingMode": // 181
3550
- {
3551
- c = readData( device, characteristic );
3552
-
3553
- if ( c == "" ) process.stdout.write( "100" ); else process.stdout.write( `"${ c }"` );
3554
-
3555
- // UUID: 000000B6-0000-1000-8000-0026BB765291
3556
- // Type: public.hap.characteristic.swing-mode
3557
- // Permissions: Paired Read, Notify, Paired Write
3558
-
3559
- // Format: uint8
3560
-
3561
- // Minimum Value: 0
3562
- // Maximum Value: 1
3563
- // Step Value: 1
1642
+ {
1643
+ c = readData( device, characteristic );
3564
1644
 
3565
- // Valid Values:
3566
- // 0 - "SWING_DISABLED"
3567
- // 1 - "SWING_ENABLED"
1645
+ if ( c == "" ) process.stdout.write( "100" ); else process.stdout.write( `"${ c }"` );
3568
1646
 
3569
1647
  break;
3570
1648
  }
@@ -3574,20 +1652,6 @@ switch( io )
3574
1652
 
3575
1653
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
3576
1654
 
3577
- // UUID: 000000A8-0000-1000-8000-0026BB765291
3578
- // Type: public.hap.characteristic.air-purifier.state.target
3579
- // Permissions: Paired Write,Paired Read, Notify
3580
-
3581
- // Format: uint8
3582
-
3583
- // Minimum Value: 0
3584
- // Maximum Value: 1
3585
- // Step Value: 1
3586
-
3587
- // Valid Values:
3588
- // 0 - "MANUAL"
3589
- // 1 - "AUTO"
3590
-
3591
1655
  break;
3592
1656
  }
3593
1657
  case "TargetAirQuality": // 183
@@ -3596,20 +1660,6 @@ switch( io )
3596
1660
 
3597
1661
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
3598
1662
 
3599
- // UUID: 000000AE-0000-1000-8000-0026BB765291
3600
- // Type: public.hap.characteristic.targetAirQuality
3601
- // Permissions: Paired Write, Paired Read, Notify
3602
-
3603
- // Format: uint32
3604
-
3605
- // Minimum Value: 0
3606
- // Maximum Value: 0
3607
-
3608
- // Valid Values
3609
- // 0 - "EXCELLENT"
3610
- // 1 - "GOOD"
3611
- // 2 - "FAIR"
3612
-
3613
1663
  break;
3614
1664
  }
3615
1665
  case "TargetControlList": // 184
@@ -3618,12 +1668,6 @@ switch( io )
3618
1668
 
3619
1669
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3620
1670
 
3621
- // UUID: 00000124-0000-1000-8000-0026BB765291
3622
- // Type: public.hap.characteristic.TargetControlList
3623
- // Permissions: Read, Write
3624
-
3625
- // Format: tlv8
3626
-
3627
1671
  break;
3628
1672
  }
3629
1673
  case "TargetControlSupportedConfiguration": // 185
@@ -3632,12 +1676,6 @@ switch( io )
3632
1676
 
3633
1677
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3634
1678
 
3635
- // UUID: 00000123-0000-1000-8000-0026BB765291
3636
- // Type: public.hap.characteristic.TargetControlSupportedConfiguration
3637
- // Permissions: Paired Read
3638
-
3639
- // Format: tlv8
3640
-
3641
1679
  break;
3642
1680
  }
3643
1681
  case "TargetDoorState": // 186
@@ -3646,21 +1684,6 @@ switch( io )
3646
1684
 
3647
1685
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3648
1686
 
3649
- // UUID: 00000032-0000-1000-8000-0026BB765291
3650
- // Type: public.hap.characteristic.door-state.target
3651
- // Permissions: Paired Read, Paired Write, Notify
3652
-
3653
- // Format: uint8
3654
-
3655
- // Minimum Value: 0
3656
- // Maximum Value: 1
3657
- // Step Value: 1
3658
-
3659
- // Valid Values:
3660
- // 0 - "OPEN"
3661
- // 1 - "CLOSED"
3662
- // 2-255 - "Reserved"
3663
-
3664
1687
  break;
3665
1688
  }
3666
1689
  case "TargetFanState": // 187
@@ -3669,20 +1692,6 @@ switch( io )
3669
1692
 
3670
1693
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
3671
1694
 
3672
- // UUID: 000000BF-0000-1000-8000-0026BB765291
3673
- // Type: public.hap.characteristic.fan.state.target
3674
- // Permissions: Paired Write,Paired Read, Notify
3675
-
3676
- // Format: uint8
3677
-
3678
- // Minimum Value: 0
3679
- // Maximum Value: 1
3680
- // Step Value: 1
3681
-
3682
- // Valid Values:
3683
- // 0 - "MANUAL"
3684
- // 1 - "AUTO"
3685
-
3686
1695
  break;
3687
1696
  }
3688
1697
  case "TargetHeaterCoolerState": // 188
@@ -3691,21 +1700,6 @@ switch( io )
3691
1700
 
3692
1701
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
3693
1702
 
3694
- // UUID: 000000B2-0000-1000-8000-0026BB765291
3695
- // Type: public.hap.characteristic.targetHeaterCoolerState
3696
- // Permissions: Paired Write, Paired Read, Notify
3697
- // Found in HomeKitTypes.js
3698
-
3699
- // Format: uint8
3700
-
3701
- // Minimum Value: 0
3702
- // Maximum Value: 2
3703
-
3704
- // Valid Values
3705
- // 0 - "AUTO"
3706
- // 1 - "HEAT"
3707
- // 2 - "COOL"
3708
-
3709
1703
  break;
3710
1704
  }
3711
1705
  case "TargetHeatingCoolingState": // 189
@@ -3714,23 +1708,6 @@ switch( io )
3714
1708
 
3715
1709
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3716
1710
 
3717
- // UUID: 00000033-0000-1000-8000-0026BB765291
3718
- // Type: public.hap.characteristic.heating-cooling.target
3719
- // Permissions: Paired Read, Paired Write, Notify
3720
-
3721
- // Format: uint8
3722
-
3723
- // Minimum Value: 0
3724
- // Maximum Value: 3
3725
- // Step Value: 1
3726
-
3727
- // Valid Values:
3728
- // 0 - "OFF"
3729
- // 1 - "HEAT" - If the current temperature is below the target
3730
- // temperature then turn on heating.
3731
- // 2 - "COOL" - If the current temperature is above the target
3732
- // temperature then turn on cooling.
3733
-
3734
1711
  break;
3735
1712
  }
3736
1713
  case "TargetHorizontalTiltAngle": // 190
@@ -3739,17 +1716,6 @@ switch( io )
3739
1716
 
3740
1717
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3741
1718
 
3742
- // UUID: 0000007B-0000-1000-8000-0026BB765291
3743
- // Type: public.hap.characteristic.horizontal-tilt.target
3744
- // Permissions: Paired Read, Paired Write, Notify
3745
-
3746
- // Format: int
3747
-
3748
- // Minimum Value: -90
3749
- // Maximum Value: 90
3750
- // Step Value: 1
3751
- // Unit: arcdegrees
3752
-
3753
1719
  break;
3754
1720
  }
3755
1721
  case "TargetHumidifierDehumidifierState": // 191
@@ -3758,21 +1724,6 @@ switch( io )
3758
1724
 
3759
1725
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
3760
1726
 
3761
- // UUID: 000000B4-0000-1000-8000-0026BB765291
3762
- // Type: public.hap.characteristic.targetHumidifierDehumidifierState
3763
- // Permissions: Paired Write, Paired Read, Notify
3764
- // Found in HomeKitTypes.js
3765
-
3766
- // Format: uint8
3767
-
3768
- // Minimum Value: 0
3769
- // Maximum Value: 2
3770
-
3771
- // Valid Values
3772
- // 0 - "HUMIDIFIER_OR_DEHUMIDIFIER"
3773
- // 1 - "HUMIDIFIER"
3774
- // 2 - "DEHUMIDIFIER"
3775
-
3776
1727
  break;
3777
1728
  }
3778
1729
  case "TargetMediaState": // 192
@@ -3781,22 +1732,6 @@ switch( io )
3781
1732
 
3782
1733
  if ( c == "" ) process.stdout.write( "2" ); else process.stdout.write( `"${ c }"` );
3783
1734
 
3784
- // UUID: 00000137-0000-1000-8000-0026BB765291
3785
- // Type: public.hap.characteristic.targetMediaState
3786
- // Permissions: Paired Read, Paired Write, Notify
3787
- // Found in HomeKitTypes-Television.js
3788
-
3789
- // Format: uint32
3790
-
3791
- // Minimum Value: 0
3792
- // Maximum Value: 3
3793
-
3794
- // Valid Values
3795
- // 0 - "PLAY"
3796
- // 1 - "PAUSE"
3797
- // 2 - "STOP"
3798
- // 3 - Reserved ????
3799
-
3800
1735
  break;
3801
1736
  }
3802
1737
  case "TargetPosition": // 193
@@ -3806,17 +1741,6 @@ switch( io )
3806
1741
 
3807
1742
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3808
1743
 
3809
- // UUID 0000007C-0000-1000-8000-0026BB765291
3810
- // Type: public.hap.characteristic.position.target
3811
- // Permissions: Paired Read, Paired Write, Notify
3812
-
3813
- // Format: uint8
3814
-
3815
- // Minimum Value: 0
3816
- // Maximum Value: 100
3817
- // Step Value: 1
3818
- // Unit: percentage
3819
-
3820
1744
  break;
3821
1745
  }
3822
1746
  case "TargetRelativeHumidity": // 194
@@ -3825,17 +1749,6 @@ switch( io )
3825
1749
 
3826
1750
  if ( c == "" ) process.stdout.write( "50.0" ); else process.stdout.write( `"${ c }"` );
3827
1751
 
3828
- // UUID: 00000010-0000-1000-8000-0026BB765291
3829
- // Type: public.hap.characteristic.relative-humidity.current
3830
- // Permissions: Paaired Write, Paired Read, Notify
3831
-
3832
- // Format: float
3833
-
3834
- // Minimum Value: 0
3835
- // Maximum Value: 100
3836
- // Step Value: 1
3837
- // Unit: percentage
3838
-
3839
1752
  break;
3840
1753
  }
3841
1754
  case "TargetSlatState": // 195
@@ -3844,20 +1757,6 @@ switch( io )
3844
1757
 
3845
1758
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
3846
1759
 
3847
- // UUID: 000000BE-0000-1000-8000-0026BB765291
3848
- // Type: public.hap.characteristic.targetSlatState
3849
- // Permissions: Paired Write, Paired Read, Notify
3850
- // Found in HomeKitTypes.js
3851
-
3852
- // Format: uint32
3853
-
3854
- // Minimum Value: 0
3855
- // Maximum Value: 1
3856
-
3857
- // Valid Values
3858
- // 0 - "MANUAL"
3859
- // 1 - "AUTO"
3860
-
3861
1760
  break;
3862
1761
  }
3863
1762
  case "TargetTemperature": // 196
@@ -3866,17 +1765,6 @@ switch( io )
3866
1765
 
3867
1766
  if ( c == "" ) process.stdout.write( "22.2" ); else process.stdout.write( `"${ c }"` );
3868
1767
 
3869
- // UUID: 00000035-0000-1000-8000-0026BB765291
3870
- // Type: public.hap.characteristic.temperature.target
3871
- // Permissions: Paired Read, Paired Write, Notify
3872
-
3873
- // Format: float
3874
-
3875
- // Minimum Value 10
3876
- // Maximum Value 38
3877
- // Step Value 0.1
3878
- // Unit celsius
3879
-
3880
1768
  break;
3881
1769
  }
3882
1770
  case "TargetTiltAngle": // 197
@@ -3885,17 +1773,6 @@ switch( io )
3885
1773
 
3886
1774
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3887
1775
 
3888
- // UUID: 000000C2-0000-1000-8000-0026BB765291
3889
- // Type: public.hap.characteristic.tilt.target
3890
- // Permissions: Paired Read, Paired Write, Notify
3891
-
3892
- // Format: int
3893
-
3894
- // Minimum Value: -90
3895
- // Maximum Value: 90
3896
- // Step Value: 1
3897
- // Unit: arcdegrees
3898
-
3899
1776
  break;
3900
1777
  }
3901
1778
  case "TargetVerticalTiltAngle": // 198
@@ -3904,17 +1781,6 @@ switch( io )
3904
1781
 
3905
1782
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3906
1783
 
3907
- // UUID: 0000007D-0000-1000-8000-0026BB765291
3908
- // Type: public.hap.characteristic.vertical-tilt.target
3909
- // Permissions: Paired Read, Paired Write, Notify
3910
-
3911
- // Format: int
3912
-
3913
- // Minimum Value: -90
3914
- // Maximum Value: 90
3915
- // Step Value: 1
3916
- // Unit: arcdegrees
3917
-
3918
1784
  break;
3919
1785
  }
3920
1786
  case "TargetVisibilityState": // 199
@@ -3923,20 +1789,6 @@ switch( io )
3923
1789
 
3924
1790
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3925
1791
 
3926
- // UUID: 00000134-0000-1000-8000-0026BB765291
3927
- // Type: public.hap.characteristic.targetVisibilityState
3928
- // Permissions: Paired Read, Paired Write, Notify
3929
- // Found in HomeKitTypes-Television.js
3930
-
3931
- // Format: uint8
3932
-
3933
- // Minimum Value: 0
3934
- // Maximum Value: 1
3935
-
3936
- // Valid Values
3937
- // 0 - "SHOWN"
3938
- // 1 - "HIDDEN"
3939
-
3940
1792
  break;
3941
1793
  }
3942
1794
  case "TemperatureDisplayUnits": // 200
@@ -3945,20 +1797,6 @@ switch( io )
3945
1797
 
3946
1798
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3947
1799
 
3948
- // UUID: 00000036-0000-1000-8000-0026BB765291
3949
- // Type: public.hap.characteristic.temperature.units
3950
- // Permissions: Paired Read, Paired Write, Notify
3951
-
3952
- // Format: uint8
3953
-
3954
- // Minimum Value: 0
3955
- // Maximum Value: 1
3956
- // Step Value: 1
3957
-
3958
- // Valid Values:
3959
- // 0 - "CELCIUS"
3960
- // 1 - "FEHRENHEIT"
3961
-
3962
1800
  break;
3963
1801
  }
3964
1802
  case "ThirdPartyCameraActive": // 201
@@ -3967,17 +1805,6 @@ switch( io )
3967
1805
 
3968
1806
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3969
1807
 
3970
- // UUID: 0000021C-0000-1000-8000-0026BB765291
3971
- // Type: public.hap.characteristic.thirdPartyCameraActive
3972
- // Permissions: Read, Notify
3973
- // Found in HomeKit.js - Checked 11/19/2020
3974
-
3975
- // Format: uint8
3976
-
3977
- // Valid Values
3978
- // 0 - "OFF"
3979
- // 1 - "ON"
3980
-
3981
1808
  break;
3982
1809
  }
3983
1810
  case "TimeUpdate": // 202
@@ -3986,15 +1813,6 @@ switch( io )
3986
1813
 
3987
1814
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
3988
1815
 
3989
- // UUID: 0000009A-0000-1000-8000-0026BB765291
3990
- // Type: public.hap.characteristic.timeUpdate
3991
- // Permissions: Paired Read, Notify
3992
- // found in HomeKitTypes-Bridge.js (Values ????)
3993
-
3994
- // Format: Bool
3995
-
3996
- // Valid Values
3997
-
3998
1816
  break;
3999
1817
  }
4000
1818
  case "TransmitPower": // 203
@@ -4003,30 +1821,14 @@ switch( io )
4003
1821
 
4004
1822
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
4005
1823
 
4006
- // UUID: 0000021E-0000-1000-8000-00000242
4007
- // Type: public.hap.characteristic.TransmitPower
4008
- // Permissions: Paired Read
4009
-
4010
- // Format: INT
4011
-
4012
- // Valid Values
4013
-
4014
1824
  break;
4015
1825
  }
4016
- case "TransmitPowerMaximum": // 204
1826
+ case "MaximumTransmitPower": // 204
4017
1827
  {
4018
1828
  c = readData( device, characteristic );
4019
1829
 
4020
1830
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
4021
1831
 
4022
- // UUID: 0000021E-0000-1000-8000-00000243
4023
- // Type: public.hap.characteristic.TransmitPowerMaximum
4024
- // Permissions: Paired Read
4025
-
4026
- // Format: INT
4027
-
4028
- // Valid Values
4029
-
4030
1832
  break;
4031
1833
  }
4032
1834
  case "TunnelConnectionTimeout": // 205
@@ -4035,13 +1837,6 @@ switch( io )
4035
1837
 
4036
1838
  if ( c == "" ) process.stdout.write( "5000" ); else process.stdout.write( `"${ c }"` );
4037
1839
 
4038
- // UUID: 00000061-0000-1000-8000-0026BB765291
4039
- // Type: public.hap.characteristic.timeUpdate
4040
- // Permissions: Paired Write, Paired Read, Notify
4041
- // found in HomeKitTypes-Bridge.js (Values ????)
4042
-
4043
- // Format: uint32
4044
-
4045
1840
  break;
4046
1841
  }
4047
1842
  case "TunneledAccessoryAdvertising": // 206
@@ -4050,15 +1845,6 @@ switch( io )
4050
1845
 
4051
1846
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
4052
1847
 
4053
- // UUID: 0000009A-0000-1000-8000-0026BB765291
4054
- // Type: public.hap.characteristic.timeUpdate
4055
- // Permissions: Paired Read, Notify
4056
- // found in HomeKitTypes-Bridge.js (Values ????)
4057
-
4058
- // Format: Bool
4059
-
4060
- // Valid Values
4061
-
4062
1848
  break;
4063
1849
  }
4064
1850
  case "TunneledAccessoryConnected": // 207
@@ -4067,15 +1853,6 @@ switch( io )
4067
1853
 
4068
1854
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
4069
1855
 
4070
- // UUID: 00000059-0000-1000-8000-0026BB765291
4071
- // Type: public.hap.characteristic.tunneledAccessoryConnected
4072
- // Permissions: Paired Write, Paired Read, Notify
4073
- // found in HomeKitTypes-Bridge.js (Values ????)
4074
-
4075
- // Format: Bool
4076
-
4077
- // Valid Values
4078
-
4079
1856
  break;
4080
1857
  }
4081
1858
  case "TunneledAccessoryStateNumber": // 208
@@ -4084,15 +1861,6 @@ switch( io )
4084
1861
 
4085
1862
  if ( c == "" ) process.stdout.write( "0.0" ); else process.stdout.write( `"${ c }"` );
4086
1863
 
4087
- // UUID: 00000058-0000-1000-8000-0026BB765291
4088
- // Type: public.hap.characteristic.timeUpdate
4089
- // Permissions: Paired Read, Notify
4090
- // found in HomeKitTypes-Bridge.js (Values ????)
4091
-
4092
- // Format: float
4093
-
4094
- // Valid Values
4095
-
4096
1864
  break;
4097
1865
  }
4098
1866
  case "VOCDensity": // 209
@@ -4101,15 +1869,6 @@ switch( io )
4101
1869
 
4102
1870
  if ( c == "" ) process.stdout.write( "50.0" ); else process.stdout.write( `"${ c }"` );
4103
1871
 
4104
- // UUID: 000000C8-0000-1000-8000-0026BB765291
4105
- // Type: public.hap.characteristic.density.voc
4106
- // Permissions: Paired Read, Notify
4107
-
4108
- // Format: float
4109
-
4110
- // Minimum Value: 0
4111
- // Maximum Value: 1000
4112
-
4113
1872
  break;
4114
1873
  }
4115
1874
  case "ValveType": // 210
@@ -4118,22 +1877,6 @@ switch( io )
4118
1877
 
4119
1878
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
4120
1879
 
4121
- // UUID: 000000D5-0000-1000-8000-0026BB765291
4122
- // Type: public.hap.characteristic.valveType
4123
- // Permissions: Paired Read, Notify
4124
- // found in HomeKitTypes.js
4125
-
4126
- // Format: uint8
4127
-
4128
- // Minimum Value: 0
4129
- // Maximum Value: 3
4130
-
4131
- // Valid Values
4132
- // 0 - "GENERIC_VALVE"
4133
- // 1 - "IRRIGATION"
4134
- // 2 - "SHOWER_HEAD"
4135
- // 3 - "WATER_FAUCET?"
4136
-
4137
1880
  break;
4138
1881
  }
4139
1882
  case "Version": // 211
@@ -4142,14 +1885,6 @@ switch( io )
4142
1885
 
4143
1886
  if ( c == "LockVersion" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
4144
1887
 
4145
- // UUID: 00000037-0000-1000-8000-0026BB765291
4146
- // Type: public.hap.characteristic.version
4147
- // Permissions: Paired Read
4148
-
4149
- // Format: string
4150
-
4151
- // Maximum Length: 64
4152
-
4153
1888
  break;
4154
1889
  }
4155
1890
  case "VideoAnalysisActive": // 212
@@ -4158,12 +1893,6 @@ switch( io )
4158
1893
 
4159
1894
  if ( c == "" ) process.stdout.write( "50" ); else process.stdout.write( `"${ c }"` );
4160
1895
 
4161
- // UUID: 0000021E-0000-1000-8000-00000229
4162
- // Type: public.hap.characteristic.VideoAnalysisActive
4163
- // Permissions: Paired Read, Paired Write, Notify
4164
-
4165
- // Format: uint8
4166
-
4167
1896
  break;
4168
1897
  }
4169
1898
  case "Volume": // 213
@@ -4172,17 +1901,6 @@ switch( io )
4172
1901
 
4173
1902
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
4174
1903
 
4175
- // UUID: 00000119-0000-1000-8000-0026BB765291
4176
- // Type: public.hap.characteristic.volume
4177
- // Permissions: Paired Write, Paired Read, Notify
4178
-
4179
- // Format: uint8
4180
-
4181
- // Minimum Value: 0
4182
- // Maximum Value: 100
4183
- // Step Value: 1
4184
- // Unit: percentage
4185
-
4186
1904
  break;
4187
1905
  }
4188
1906
  case "VolumeControlType": // 214
@@ -4191,22 +1909,6 @@ switch( io )
4191
1909
 
4192
1910
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
4193
1911
 
4194
- // UUID: 000000E9-0000-1000-8000-0026BB765291
4195
- // Type: public.hap.characteristic.volumeControlyype
4196
- // Permissions: Paired Read, Notify
4197
- // Found in HomeKitTypes-Television.js
4198
-
4199
- // Format: uint8
4200
-
4201
- // Minimum Value: 0
4202
- // Maximum Value: 1
4203
-
4204
- // Valid Values
4205
- // 0 - "NONE"
4206
- // 1 - "RELATIVE"
4207
- // 2 - "RELATIVE_WITH_CURRENT"
4208
- // 3 - "ABSOLUTE"
4209
-
4210
1912
  break;
4211
1913
  }
4212
1914
  case "VolumeSelector": // 215
@@ -4215,17 +1917,6 @@ switch( io )
4215
1917
 
4216
1918
  if ( c == "" ) process.stdout.write( "1" ); else process.stdout.write( `"${ c }"` );
4217
1919
 
4218
- // UUID: 000000EA-0000-1000-8000-0026BB765291
4219
- // Type: public.hap.characteristic.volumeSelector
4220
- // Permissions: Paired Write
4221
- // Found in HomeKitTypes-Television.js
4222
-
4223
- // Format: uint8
4224
-
4225
- // Valid Values
4226
- // 0 - "INCREMENT"
4227
- // 1 - "DECREMENT"
4228
-
4229
1920
  break;
4230
1921
  }
4231
1922
  case "WANConfigurationList": // 216
@@ -4234,121 +1925,143 @@ switch( io )
4234
1925
 
4235
1926
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
4236
1927
 
4237
- // UUID: 00000211-0000-1000-8000-0026BB765291
4238
- // Type: public.hap.characteristic.WANConfigurationList
4239
- // Permissions: Read, Notify
4240
- // Found in HomeKit.js - Checked 11/23/2020
4241
-
4242
- // Format: TLV8
1928
+ break;
1929
+ }
1930
+ case "WANStatusList": // 217
1931
+ {
1932
+ c = readData( device, characteristic );
4243
1933
 
4244
- // Valid Values
1934
+ if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
4245
1935
 
4246
1936
  break;
4247
1937
  }
4248
- case "WANStatusList": // 217
1938
+ case "WakeConfiguration": // 218
4249
1939
  {
4250
1940
  c = readData( device, characteristic );
4251
1941
 
4252
1942
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
4253
1943
 
4254
- // UUID: 0000212-0000-1000-8000-0026BB765291
4255
- // Type: public.hap.characteristic.WANStatusList
4256
- // Permissions: Read, Notify
4257
- // Found in HomeKit.js - Checked 11/23/2020
1944
+ break;
1945
+ }
1946
+ case "WaterLevel": // 219
1947
+ {
1948
+ c = readData( device, characteristic );
1949
+
1950
+ if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
4258
1951
 
4259
- // Format: TLV8
1952
+ break;
1953
+ }
1954
+ case "WiFiCapabilities": // 220
1955
+ {
1956
+ c = readData( device, characteristic );
4260
1957
 
4261
- // Valid Values
1958
+ if ( c == "" ) process.stdout.write( "50" ); else process.stdout.write( `"${ c }"` );
4262
1959
 
4263
1960
  break;
4264
1961
  }
4265
- case "WakeConfiguration": // 218
1962
+ case "WiFiConfigurationControl": // 221
4266
1963
  {
4267
1964
  c = readData( device, characteristic );
4268
1965
 
4269
1966
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
4270
1967
 
4271
- // UUID: 000000EA-0000-1000-8000-0026BB765291
4272
- // Type: public.hap.characteristic.wakeConfiguration
4273
- // Permissions: Paired Write
4274
- // Found in HomeKit.js - Checked 11/23/2020
4275
-
4276
- // Format: TLV8
1968
+ break;
1969
+ }
1970
+ case "WiFiSatelliteStatus": // 222
1971
+ {
1972
+ c = readData( device, characteristic );
4277
1973
 
4278
- // Valid Values
1974
+ if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
4279
1975
 
4280
1976
  break;
4281
1977
  }
4282
- case "WaterLevel": // 219
1978
+ case "AssetUpdateReadiness": // 223
4283
1979
  {
4284
1980
  c = readData( device, characteristic );
4285
1981
 
4286
1982
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
4287
1983
 
4288
- // UUID: 000000B5-0000-1000-8000-0026BB765291
4289
- // Type: public.hap.characteristic.waterLevel
4290
- // Permissions: Paired Read
1984
+ break;
1985
+ }
1986
+ case "SupportedAssetTypes": // 224
1987
+ {
1988
+ c = readData( device, characteristic );
1989
+
1990
+ if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
4291
1991
 
4292
- // Format: float
1992
+ break;
1993
+ }
1994
+ case "ConfigurationState": // 225
1995
+ {
1996
+ c = readData( device, characteristic );
4293
1997
 
4294
- // Minimum: 0
4295
- // Maximum: 100
1998
+ if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
4296
1999
 
4297
2000
  break;
4298
2001
  }
4299
- case "WiFiCapabilities": // 220
2002
+ case "NFCAccessControlPoint": // 226
4300
2003
  {
4301
2004
  c = readData( device, characteristic );
4302
2005
 
4303
- if ( c == "" ) process.stdout.write( "50" ); else process.stdout.write( `"${ c }"` );
2006
+ if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
4304
2007
 
4305
- // UUID: 0000021E-0000-1000-8000-0000022C
4306
- // Type: public.hap.characteristic.WiFiCapabilities
4307
- // Permissions: Paired Read
2008
+ break;
2009
+ }
2010
+ case "NFCAccessSupportedConfiguration": // 227
2011
+ {
2012
+ c = readData( device, characteristic );
4308
2013
 
4309
- // Format: uint32
2014
+ if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
4310
2015
 
4311
2016
  break;
4312
2017
  }
4313
- case "WiFiConfigurationControl": // 221
2018
+ case "SiriEndpointSessionStatus": // 228
4314
2019
  {
4315
2020
  c = readData( device, characteristic );
4316
2021
 
4317
2022
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
4318
2023
 
4319
- // UUID: 0000021E-0000-1000-8000-0000022D
4320
- // Type: public.hap.characteristic.WiFiCapabilities
4321
- // Permissions: Paired Read, Paired Write, Notify, Timed Write, Write Response
2024
+ break;
2025
+ }
2026
+ case "ThreadControlPoint": // 229
2027
+ {
2028
+ c = readData( device, characteristic );
4322
2029
 
4323
- // Format: tlv8
2030
+ if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
4324
2031
 
4325
2032
  break;
4326
2033
  }
4327
- case "WiFiSatelliteStatus": // 222
2034
+ case "ThreadNodeCapabilities": // 230
4328
2035
  {
4329
2036
  c = readData( device, characteristic );
4330
2037
 
4331
2038
  if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
4332
2039
 
4333
- // UUID: 000000B5-0000-1000-8000-0026BB765291
4334
- // Type: public.hap.characteristic.WiFiSatelliteStatus
4335
- // Permissions: Paired Read, Notify
2040
+ break;
2041
+ }
2042
+ case "ThreadStatus": // 231
2043
+ {
2044
+ c = readData( device, characteristic );
2045
+
2046
+ if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
4336
2047
 
4337
- // Format: uint8
2048
+ // To avoid hard coding values, characteristic definitions can be found in:
2049
+ // Cmd4 Github pages -> http://ztalbot2000.github.io/homebridge-cmd4
2050
+ // Homebridge developer documentation -> https://developers.homebridge.io/#/
4338
2051
 
4339
- // Minimum: 0
4340
- // Maximum: 2
2052
+ break;
2053
+ }
2054
+ case "ThreadOpenThreadVersion": // 232
2055
+ {
2056
+ c = readData( device, characteristic );
4341
2057
 
4342
- // Valid Values
4343
- // 0 - "UNKNOWN"
4344
- // 1 - "CONNECTED"
4345
- // 2 - "NOT_CONNECTED"
2058
+ if ( c == "" ) process.stdout.write( "0" ); else process.stdout.write( `"${ c }"` );
4346
2059
 
4347
2060
  break;
4348
2061
  }
4349
- default:
4350
- process.stderr.write( `Unknown Characteristic for: ${ io } Device: ${ device } Characteristic: ${ characteristic }` );
4351
- process.exit( -1 );
2062
+ default:
2063
+ process.stderr.write( `Unknown Characteristic for: ${ io } Device: ${ device } Characteristic: ${ characteristic }` );
2064
+ process.exit( -1 );
4352
2065
  }
4353
2066
 
4354
2067
  break;
@@ -5744,7 +3457,7 @@ switch( io )
5744
3457
  // Not settable in Hap Spec, here for debugging.
5745
3458
  break;
5746
3459
  }
5747
- case "TransmitPowerMaximum": // 204
3460
+ case "MaximumTransmitPower": // 204
5748
3461
  {
5749
3462
  writeData( device, characteristic, option );
5750
3463
 
@@ -5872,6 +3585,87 @@ switch( io )
5872
3585
  // Not settable in Hap Spec, here for debugging.
5873
3586
  break;
5874
3587
  }
3588
+
3589
+ case "AssetUpdateReadiness": // 223
3590
+ {
3591
+ c = readData( device, characteristic );
3592
+
3593
+ writeData( device, characteristic, option );
3594
+
3595
+ break;
3596
+ }
3597
+ case "SupportedAssetTypes": // 224
3598
+ {
3599
+ c = readData( device, characteristic );
3600
+
3601
+ writeData( device, characteristic, option );
3602
+
3603
+ break;
3604
+ }
3605
+ case "ConfigurationState": // 225
3606
+ {
3607
+ c = readData( device, characteristic );
3608
+
3609
+ writeData( device, characteristic, option );
3610
+
3611
+ break;
3612
+ }
3613
+ case "NFCAccessControlPoint": // 226
3614
+ {
3615
+ c = readData( device, characteristic );
3616
+
3617
+ writeData( device, characteristic, option );
3618
+
3619
+ break;
3620
+ }
3621
+ case "NFCAccessSupportedConfiguration": // 227
3622
+ {
3623
+ c = readData( device, characteristic );
3624
+
3625
+ writeData( device, characteristic, option );
3626
+
3627
+ break;
3628
+ }
3629
+ case "SiriEndpointSessionStatus": // 228
3630
+ {
3631
+ c = readData( device, characteristic );
3632
+
3633
+ writeData( device, characteristic, option );
3634
+
3635
+ break;
3636
+ }
3637
+ case "ThreadControlPoint": // 229
3638
+ {
3639
+ c = readData( device, characteristic );
3640
+
3641
+ writeData( device, characteristic, option );
3642
+
3643
+ break;
3644
+ }
3645
+ case "ThreadNodeCapabilities": // 230
3646
+ {
3647
+ c = readData( device, characteristic );
3648
+
3649
+ writeData( device, characteristic, option );
3650
+
3651
+ break;
3652
+ }
3653
+ case "ThreadStatus": // 231
3654
+ {
3655
+ c = readData( device, characteristic );
3656
+
3657
+ writeData( device, characteristic, option );
3658
+
3659
+ break;
3660
+ }
3661
+ case "ThreadOpenThreadVersion": // 232
3662
+ {
3663
+ c = readData( device, characteristic );
3664
+
3665
+ writeData( device, characteristic, option );
3666
+
3667
+ break;
3668
+ }
5875
3669
  default:
5876
3670
  process.stderr.write( `Unknown Characteristic for: ${ io } Device:${ device } Characteristic:${ characteristic }` );
5877
3671
  process.exit( -1 );