homebridge-cmd4 6.3.0 → 7.0.0-beta2

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.
@@ -25,14 +25,14 @@
25
25
  [
26
26
  {
27
27
  "type": "Fanv1",
28
- "displayName": "My_v1Fan", // Not a characteristic, but a function parameter
28
+ "displayName": "MyV1Fan", // Not a characteristic, but a function parameter
29
29
 
30
30
  // Required characteristics
31
31
  "on": "FALSE", // 0 - "FALSE"
32
32
  // 1 - "TRUE"
33
33
 
34
34
  // Optional Characteristics
35
- "name": "My_v1Fan",
35
+ "name": "MyV1Fan",
36
36
 
37
37
  "manufacturer": "Somebody", // Available for all accessories
38
38
 
@@ -53,7 +53,7 @@
53
53
  },
54
54
  {
55
55
  "type": "Fan",
56
- "displayName": "My_Fan", // Not a characteristic, but a function parameter
56
+ "displayName": "MyFan", // Not a characteristic, but a function parameter
57
57
 
58
58
  // Required Characteristics
59
59
  "on": "FALSE", // 0 - "FALSE"
@@ -66,7 +66,7 @@
66
66
 
67
67
  "rotationSpeed": 100, // Range: 0-100, Step: 1
68
68
 
69
- "name": "My_Fan",
69
+ "name": "MyFan",
70
70
 
71
71
  "manufacturer": "Somebody", // Available for all accessories
72
72
 
@@ -96,7 +96,7 @@
96
96
  },
97
97
  {
98
98
  "type": "Fanv2",
99
- "displayName": "My_v2Fan", // Not a characteristic, but a function parameter
99
+ "displayName": "MyV2Fan", // Not a characteristic, but a function parameter
100
100
 
101
101
  // Required Characteristics
102
102
  "active": "INACTIVE", // 0 - "INACTIVE"
@@ -123,7 +123,7 @@
123
123
  "swingMode": "SWING_ENABLED", // 0 - "SWING_DISABLED",
124
124
  // 1 - "SWING_ENABLED"
125
125
 
126
- "name": "My_v2Fan",
126
+ "name": "MyV2Fan",
127
127
 
128
128
  "manufacturer": "Somebody", // Available for all accessories
129
129
 
@@ -136,8 +136,8 @@
136
136
  //"state_cmd": "node .homebridge/< yourScriptHere >"
137
137
  },
138
138
  {
139
- "type": "GarageDoorOpener",
140
- "displayName": "My_GarageDoorOpener", // Not a characteristic, but a function parameter
139
+ "type": "GarageDoorOpener",
140
+ "displayName": "MyGarageDoorOpener", // Not a characteristic, but a function parameter
141
141
 
142
142
  // Required Characteristics
143
143
  "currentDoorState": "OPEN", // 0 - "OPEN"
@@ -161,7 +161,7 @@
161
161
  "lockTargetState": "UNSECURED", // 0 - "UNSECURED"
162
162
  // 1 - "SECURED"
163
163
 
164
- "name": "My_GarageDoorOpener",
164
+ "name": "MyGarageDoorOpener",
165
165
 
166
166
  "manufacturer": "Somebody", // Available for all accessories
167
167
 
@@ -189,7 +189,7 @@
189
189
  },
190
190
  {
191
191
  "type": "Lightbulb",
192
- "displayName": "My_OnOff_Light", // Not a characteristic, but a function parameter
192
+ "displayName": "MyOnOffLight", // Not a characteristic, but a function parameter
193
193
 
194
194
  // Required Characteristics
195
195
  "on": "FALSE", // 0 - "FALSE"
@@ -201,7 +201,7 @@
201
201
  // "Hue":
202
202
  // "Saturation":
203
203
 
204
- "name": "My_OnOff_Light",
204
+ "name": "MyOnOffLight",
205
205
 
206
206
  "manufacturer": "Somebody", // Available for all accessories
207
207
 
@@ -216,8 +216,8 @@
216
216
  //"state_cmd": "node .homebridge/< yourScriptHere >"
217
217
  },
218
218
  {
219
- "type": "Lightbulb",
220
- "displayName": "My_Dimmable_Light", // Not a characteristic, but a function parameter
219
+ "type": "Lightbulb",
220
+ "displayName": "MyDimmableLight", // Not a characteristic, but a function parameter
221
221
 
222
222
  // Required
223
223
  "on": "FALSE", // 0 - "FALSE"
@@ -233,7 +233,7 @@
233
233
 
234
234
  "colorTemperature": 8, // Range: 140-500, Step: 1
235
235
 
236
- "name": "My_Dimmable_Light",
236
+ "name": "MyDimmableLight",
237
237
 
238
238
  "manufacturer": "Somebody", // Available for all accessories
239
239
 
@@ -247,7 +247,7 @@
247
247
  },
248
248
  {
249
249
  "type": "LockManagement",
250
- "displayName": "My_LockManagement", // Not a characteristic, but a function parameter
250
+ "displayName": "MyLockManagement", // Not a characteristic, but a function parameter
251
251
 
252
252
  // Required Characteristics
253
253
 
@@ -299,7 +299,7 @@
299
299
  "motionDetected": "FALSE", // 0 - "FALSE"
300
300
  // 1 - "TRUE"
301
301
 
302
- "name": "My_LockManagement",
302
+ "name": "MyLockManagement",
303
303
 
304
304
  "manufacturer": "Somebody", // Available for all accessories
305
305
 
@@ -313,7 +313,7 @@
313
313
  },
314
314
  {
315
315
  "type": "LockMechanism",
316
- "displayName": "My_LockMechanism", // Not a characteristic, but a function parameter
316
+ "displayName": "MyLockMechanism", // Not a characteristic, but a function parameter
317
317
 
318
318
  // Required Characteristics
319
319
  "lockCurrentState": "UNSECURED", // 0 - "UNSECURED"
@@ -324,7 +324,7 @@
324
324
  "lockTargetState": "UNSECURED", // 0 - "UNSECURED"
325
325
  // 1 - "SECURED"
326
326
 
327
- "name": "My_LockMechanism",
327
+ "name": "MyLockMechanism",
328
328
 
329
329
  "manufacturer": "Somebody", // Available for all accessories
330
330
 
@@ -338,7 +338,7 @@
338
338
  },
339
339
  {
340
340
  "type": "Outlet",
341
- "displayName": "My_Outlet", // Not a characteristic, but a function parameter
341
+ "displayName": "MyOutlet", // Not a characteristic, but a function parameter
342
342
 
343
343
  // Required Characteristics
344
344
  "on": "FALSE", // 0 - "FALSE"
@@ -348,7 +348,7 @@
348
348
  // 1 - "TRUE"
349
349
 
350
350
  // Optional Characteristics
351
- "name": "My_Outlet",
351
+ "name": "MyOutlet",
352
352
 
353
353
  "manufacturer": "Somebody", // Available for all accessories
354
354
 
@@ -362,14 +362,14 @@
362
362
  },
363
363
  {
364
364
  "type": "Switch",
365
- "displayName": "My_Switch", // Not a characteristic, but a function parameter
365
+ "displayName": "MySwitch", // Not a characteristic, but a function parameter
366
366
 
367
367
  // Required Characteristics
368
368
  "on": "FALSE", // 0 - "FALSE"
369
369
  // 1 - "TRUE"
370
370
 
371
371
  // Optional Characteristics
372
- "name": "My_Switch",
372
+ "name": "MySwitch",
373
373
 
374
374
  "manufacturer": "Somebody", // Available for all accessories
375
375
 
@@ -383,7 +383,7 @@
383
383
  },
384
384
  {
385
385
  "type": "Thermostat",
386
- "displayName": "My_Thermostat", // Not a characteristic, but a function parameter
386
+ "displayName": "MyThermostat", // Not a characteristic, but a function parameter
387
387
 
388
388
  // Required Characteristics
389
389
  "currentHeatingCoolingState":
@@ -423,7 +423,7 @@
423
423
  25.2, // Range 0-25, Step: 0.1
424
424
  // Units: CELCIUS
425
425
 
426
- "name": "My_Thermostat",
426
+ "name": "MyThermostat",
427
427
 
428
428
  "manufacturer": "Somebody", // Available for all accessories
429
429
 
@@ -470,7 +470,7 @@
470
470
  },
471
471
  {
472
472
  "type": "AirQualitySensor",
473
- "displayName": "My_AirQualitySensor", // Not a characteristic, but a function parameter
473
+ "displayName": "MyAirQualitySensor", // Not a characteristic, but a function parameter
474
474
 
475
475
  // Required Characteristics
476
476
  "airQuality": "EXCELLENT", // 0 - "UNKNOWN"
@@ -505,7 +505,7 @@
505
505
  "statusLowBattery": "BATTERY_LEVEL_NORMAL", // 0 - "BATTERY_LEVEL_NORMAL"
506
506
  // 1 - "BATTERY_LEVEL_LOW"
507
507
 
508
- "name": "My_AirQualitySensor",
508
+ "name": "MyAirQualitySensor",
509
509
 
510
510
  "manufacturer": "Somebody", // Available for all accessories
511
511
 
@@ -519,7 +519,7 @@
519
519
  },
520
520
  {
521
521
  "type": "SecuritySystem",
522
- "displayName": "My_SecuritySystem", // Not a characteristic, but a function parameter
522
+ "displayName": "MySecuritySystem", // Not a characteristic, but a function parameter
523
523
 
524
524
  // Required Characteristics
525
525
  "securitySystemCurrentState":
@@ -545,7 +545,7 @@
545
545
  "statusTampered": "NOT_TAMPERED", // 0 - "NOT_TAMPERED"
546
546
  // 1 - "TAMPERED"
547
547
 
548
- "name": "My_SecuritySystem",
548
+ "name": "MySecuritySystem",
549
549
 
550
550
  "manufacturer": "Somebody", // Available for all accessories
551
551
 
@@ -559,7 +559,7 @@
559
559
  },
560
560
  {
561
561
  "type": "CarbonMonoxideSensor",
562
- "displayName": "My_CO_Sensor", // Not a characteristic, but a function parameter
562
+ "displayName": "MyCOSensor", // Not a characteristic, but a function parameter
563
563
 
564
564
  // Required Characteristics
565
565
  "carbonMonoxideDetected": "CO_LEVELS_NORMAL", // 0 - "CO_LEVELS_NORMAL"
@@ -584,7 +584,7 @@
584
584
  "carbonMonoxidePeakLevel": 0, // Range: 0-100,
585
585
  // Format: float
586
586
 
587
- "name": "My_CO_Sensor",
587
+ "name": "MyCOSensor",
588
588
 
589
589
  "manufacturer": "Somebody", // Available for all accessories
590
590
 
@@ -598,7 +598,7 @@
598
598
  },
599
599
  {
600
600
  "type": "ContactSensor",
601
- "displayName": "My_ContactSensor", // Not a characteristic, but a function parameter
601
+ "displayName": "MyContactSensor", // Not a characteristic, but a function parameter
602
602
 
603
603
  // Required Characteristics
604
604
  "contactSensorState": "CONTACT_DETECTED", // 0 - "CONTACT_DETECTED"
@@ -617,7 +617,7 @@
617
617
  "statusLowBattery": "BATTERY_LEVEL_NORMAL", // 0 - "BATTERY_LEVEL_NORMAL"
618
618
  // 1 - "BATTERY_LEVEL_LOW"
619
619
 
620
- "name": "My_ContactSensor",
620
+ "name": "MyContactSensor",
621
621
 
622
622
  "manufacturer": "Somebody", // Available for all accessories
623
623
 
@@ -631,7 +631,7 @@
631
631
  },
632
632
  {
633
633
  "type": "Door",
634
- "displayName": "My_Door", // Not a characteristic, but a function parameter
634
+ "displayName": "MyDoor", // Not a characteristic, but a function parameter
635
635
 
636
636
  // Required Characteristics
637
637
  "currentPosition": 0, // Range: 0 - 100, Step 1
@@ -649,7 +649,7 @@
649
649
  "obstructionDetected": "FALSE", // 0 - "FALSE"
650
650
  // 1 - "TRUE"
651
651
 
652
- "name": "My_Door",
652
+ "name": "MyDoor",
653
653
 
654
654
  "manufacturer": "Somebody", // Available for all accessories
655
655
 
@@ -689,7 +689,7 @@
689
689
  {
690
690
  "type": "HumiditySensor",
691
691
 
692
- "displayName": "My_HumiditySensor", // Not a characteristic, but a function parameter
692
+ "displayName": "MyHumiditySensor", // Not a characteristic, but a function parameter
693
693
 
694
694
  // Required Characteristics
695
695
  "currentRelativeHumidity": 1, // Range: 0-100, Step: 1
@@ -709,7 +709,7 @@
709
709
  "statusLowBattery": "BATTERY_LEVEL_NORMAL", // 0 - "BATTERY_LEVEL_NORMAL"
710
710
  // 1 - "BATTERY_LEVEL_LOW"
711
711
 
712
- "name": "My_HumiditySensor",
712
+ "name": "MyHumiditySensor",
713
713
 
714
714
  "manufacturer": "Somebody", // Available for all accessories
715
715
 
@@ -751,7 +751,7 @@
751
751
  },
752
752
  {
753
753
  "type": "LeakSensor",
754
- "displayName": "My_LeakSensor", // Not a characteristic, but a function parameter
754
+ "displayName": "MyLeakSensor", // Not a characteristic, but a function parameter
755
755
 
756
756
  // Required Characteristics
757
757
  "leakDetected": "LEAK_NOT_DETECTED", // 0 - "LEAK_NOT_DETECTED"
@@ -770,7 +770,7 @@
770
770
  "statusLowBattery": "BATTERY_LEVEL_NORMAL", // 0 - "BATTERY_LEVEL_NORMAL"
771
771
  // 1 - "BATTERY_LEVEL_LOW"
772
772
 
773
- "name": "My_LeakSensor",
773
+ "name": "MyLeakSensor",
774
774
 
775
775
  "manufacturer": "Somebody", // Available for all accessories
776
776
 
@@ -784,7 +784,7 @@
784
784
  },
785
785
  {
786
786
  "type": "LightSensor",
787
- "displayName": "My_LightSensor", // Not a characteristic, but a function parameter
787
+ "displayName": "MyLightSensor", // Not a characteristic, but a function parameter
788
788
 
789
789
  // Required Characteristics
790
790
  "currentAmbientLightLevel": 1, // Range: 0.0001-100000
@@ -803,7 +803,7 @@
803
803
  "statusLowBattery": "BATTERY_LEVEL_NORMAL", // 0 - "BATTERY_LEVEL_NORMAL"
804
804
  // 1 - "BATTERY_LEVEL_LOW"
805
805
 
806
- "name": "My_LightSensor",
806
+ "name": "MyLightSensor",
807
807
 
808
808
  "manufacturer": "Somebody", // Available for all accessories
809
809
 
@@ -817,7 +817,7 @@
817
817
  },
818
818
  {
819
819
  "type": "MotionSensor",
820
- "displayName": "My_MotionSensor", // Not a characteristic, but a function parameter
820
+ "displayName": "MyMotionSensor", // Not a characteristic, but a function parameter
821
821
 
822
822
  // Required Characteristics
823
823
  "motionDetected": "FALSE", // 0 - "FALSE"
@@ -836,7 +836,7 @@
836
836
  "statusLowBattery": "BATTERY_LEVEL_NORMAL", // 0 - "BATTERY_LEVEL_NORMAL"
837
837
  // 1 - "BATTERY_LEVEL_LOW"
838
838
 
839
- "name": "My_MotionSensor",
839
+ "name": "MyMotionSensor",
840
840
 
841
841
  "manufacturer": "Somebody", // Available for all accessories
842
842
 
@@ -850,7 +850,7 @@
850
850
  },
851
851
  {
852
852
  "type": "OccupancySensor",
853
- "displayName": "My_OccupancySensor", // Not a characteristic, but a function parameter
853
+ "displayName": "MyOccupancySensor", // Not a characteristic, but a function parameter
854
854
 
855
855
  // Required Characteristics
856
856
  "occupancyDetected": "OCCUPANCY_NOT_DETECTED", // 0 - "OCCUPANCY_NOT_DETECTED"
@@ -869,7 +869,7 @@
869
869
  "statusLowBattery": "BATTERY_LEVEL_NORMAL", // 0 - "BATTERY_LEVEL_NORMAL"
870
870
  // 1 - "BATTERY_LEVEL_LOW"
871
871
 
872
- "name": "My_OccupancySensor",
872
+ "name": "MyOccupancySensor",
873
873
 
874
874
  "manufacturer": "Somebody", // Available for all accessories
875
875
 
@@ -883,7 +883,7 @@
883
883
  },
884
884
  {
885
885
  "type": "SmokeSensor",
886
- "displayName": "My_SmokeSensor", // Not a characteristic, but a function parameter
886
+ "displayName": "MySmokeSensor", // Not a characteristic, but a function parameter
887
887
 
888
888
  // Required Characteristics
889
889
  "smokeDetected": "SMOKE_NOT_DETECTED", // 0 - "SMOKE_NOT_DETECTED"
@@ -902,7 +902,7 @@
902
902
  "statusLowBattery": "BATTERY_LEVEL_NORMAL", // 0 - "BATTERY_LEVEL_NORMAL"
903
903
  // 1 - "BATTERY_LEVEL_LOW"
904
904
 
905
- "name": "My_SmokeSensor",
905
+ "name": "MySmokeSensor",
906
906
 
907
907
  "manufacturer": "Somebody", // Available for all accessories
908
908
 
@@ -916,7 +916,7 @@
916
916
  },
917
917
  {
918
918
  "type": "StatefulProgrammableSwitch",
919
- "displayName": "My_StatefulProgrammableSwitch",
919
+ "displayName": "MyStatefulProgrammableSwitch",
920
920
  // Not a characteristic, but a function parameter
921
921
 
922
922
  // Required Characteristics
@@ -929,7 +929,7 @@
929
929
  // "Meaning": ???
930
930
 
931
931
  // Optional Characteristics
932
- "name": "My_StatefulProgrammableSwitch",
932
+ "name": "MyStatefulProgrammableSwitch",
933
933
 
934
934
  "manufacturer": "Somebody", // Available for all accessories
935
935
 
@@ -943,7 +943,7 @@
943
943
  },
944
944
  {
945
945
  "type": "StatelessProgrammableSwitch",
946
- "displayName": "My_StatelessProgrammableSwitch",
946
+ "displayName": "MyStatelessProgrammableSwitch",
947
947
  // Not a characteristic, but a function parameter
948
948
 
949
949
  // Required Characteristics
@@ -953,7 +953,7 @@
953
953
  // 2 - "LONG_PRESS"
954
954
 
955
955
  // Optional Characteristics
956
- "name": "My_StatelessProgrammableSwitch",
956
+ "name": "MyStatelessProgrammableSwitch",
957
957
 
958
958
  "serviceLabelIndex": 1, // Range: 1-255, Step: 1
959
959
 
@@ -969,7 +969,7 @@
969
969
  },
970
970
  {
971
971
  "type": "TemperatureSensor",
972
- "displayName": "My_TemperatureSensor",
972
+ "displayName": "MyTemperatureSensor",
973
973
  // Not a characteristic, but a function parameter
974
974
 
975
975
  // Required Characteristics
@@ -997,7 +997,7 @@
997
997
  "statusLowBattery": "BATTERY_LEVEL_NORMAL", // 0 - "BATTERY_LEVEL_NORMAL"
998
998
  // 1 - "BATTERY_LEVEL_LOW"
999
999
 
1000
- "name": "My_TemperatureSensor",
1000
+ "name": "MyTemperatureSensor",
1001
1001
 
1002
1002
  "manufacturer": "Somebody", // Available for all accessories
1003
1003
 
@@ -1036,7 +1036,7 @@
1036
1036
  },
1037
1037
  {
1038
1038
  "type": "Window",
1039
- "displayName": "My_Window", // Not a characteristic, but a function parameter
1039
+ "displayName": "MyWindow", // Not a characteristic, but a function parameter
1040
1040
 
1041
1041
  // Required Characteristics
1042
1042
  "currentPosition": 0, // Range: 0 - 100, Step 1
@@ -1054,7 +1054,7 @@
1054
1054
  "obstructionDetected": "FALSE", // 0 - "FALSE"
1055
1055
  // 1 - "TRUE"
1056
1056
 
1057
- "name": "My_Window",
1057
+ "name": "MyWindow",
1058
1058
  "manufacturer": "Somebody", // Available for all accessories
1059
1059
 
1060
1060
  "model": "Anything", // Available for all accessories
@@ -1067,7 +1067,7 @@
1067
1067
  },
1068
1068
  {
1069
1069
  "type": "WindowCovering",
1070
- "displayName": "My_WindowCovering", // Not a characteristic, but a function parameter
1070
+ "displayName": "MyWindowCovering", // Not a characteristic, but a function parameter
1071
1071
 
1072
1072
  // Required Characteristics
1073
1073
  "currentPosition": 0, // Range: 0 - 100, Step 1
@@ -1097,7 +1097,7 @@
1097
1097
  "obstructionDetected": "FALSE", // 0 - "FALSE"
1098
1098
  // 1 - "TRUE"
1099
1099
 
1100
- "name": "My_WindowCovering",
1100
+ "name": "MyWindowCovering",
1101
1101
 
1102
1102
  "manufacturer": "Somebody", // Available for all accessories
1103
1103
 
@@ -1111,7 +1111,7 @@
1111
1111
  },
1112
1112
  {
1113
1113
  "type": "BatteryService",
1114
- "displayName": "My_BatteryService", // Not a characteristic, but a function parameter
1114
+ "displayName": "MyBatteryService", // Not a characteristic, but a function parameter
1115
1115
 
1116
1116
  // Required Characteristics
1117
1117
  "batteryLevel": 50, // Range: 0 - 100, Step 1
@@ -1124,7 +1124,7 @@
1124
1124
  // 1 - "BATTERY_LEVEL_LOW"
1125
1125
 
1126
1126
  // Optional Characteristics
1127
- "name": "My_BatteryService",
1127
+ "name": "MyBatteryService",
1128
1128
 
1129
1129
  "manufacturer": "Somebody", // Available for all accessories
1130
1130
 
@@ -1138,7 +1138,7 @@
1138
1138
  },
1139
1139
  {
1140
1140
  "type": "CarbonDioxideSensor",
1141
- "displayName": "My_CO2_Sensor",
1141
+ "displayName": "MyCO2Sensor",
1142
1142
 
1143
1143
  // Required Characteristics
1144
1144
  "carbonDioxideDetected": "CO2_LEVELS_NORMAL", // 0 - "CO2_LEVELS_NORMAL"
@@ -1163,7 +1163,7 @@
1163
1163
  "carbonDioxidePeakLevel": 0, // Range: 0-100000
1164
1164
  // "Format": float
1165
1165
 
1166
- "name": "My_CO2_Sensor",
1166
+ "name": "MyCO2Sensor",
1167
1167
 
1168
1168
  "manufacturer": "Somebody", // Available for all accessories
1169
1169
 
@@ -1187,7 +1187,7 @@
1187
1187
  // Not Possible in this implementation
1188
1188
  // {
1189
1189
  // "type": "CameraRTPStreamManagement",
1190
- // "name": "My_CameraRTPStreamManagement",
1190
+ // "name": "MyCameraRTPStreamManagement",
1191
1191
  //
1192
1192
  // // Cmd4 Specific
1193
1193
  // "stateChangeResponseTime": 1, // Default (Seconds)
@@ -1195,7 +1195,7 @@
1195
1195
  // },
1196
1196
  {
1197
1197
  "type": "Microphone",
1198
- "displayName": "My_Microphone", // Not a characteristic, but a function parameter
1198
+ "displayName": "MyMicrophone", // Not a characteristic, but a function parameter
1199
1199
 
1200
1200
  // Required Characteristics
1201
1201
  "mute": "FALSE", // 0 - "FALSE" (Off)
@@ -1204,7 +1204,7 @@
1204
1204
  // Optional Characteristics
1205
1205
  "volume": 5, // Range: 0-100, Step 1
1206
1206
 
1207
- "name": "My_Microphone",
1207
+ "name": "MyMicrophone",
1208
1208
 
1209
1209
  "manufacturer": "Somebody", // Available for all accessories
1210
1210
 
@@ -1218,7 +1218,7 @@
1218
1218
  },
1219
1219
  {
1220
1220
  "type": "Speaker",
1221
- "displayName": "My_Speaker",
1221
+ "displayName": "MySpeaker",
1222
1222
 
1223
1223
  // Required Characteristics
1224
1224
  "mute": "FALSE", // 0 - "FALSE" (Off)
@@ -1227,7 +1227,7 @@
1227
1227
  // Optional Characteristics
1228
1228
  "volume": 5, // Range: 0-100, Step 1
1229
1229
 
1230
- "name": "My_Speaker",
1230
+ "name": "MySpeaker",
1231
1231
 
1232
1232
  "manufacturer": "Somebody", // Available for all accessories
1233
1233
 
@@ -1241,7 +1241,7 @@
1241
1241
  },
1242
1242
  {
1243
1243
  "type": "DoorBell",
1244
- "displayName": "My_DoorBell", // Not a characteristic, but a function parameter
1244
+ "displayName": "MyDoorBell", // Not a characteristic, but a function parameter
1245
1245
 
1246
1246
  // Required Characteristics
1247
1247
  "programmableSwitchEvent": "SINGLE_PRESS", // 0 - "SINGLE_PRESS"
@@ -1253,7 +1253,7 @@
1253
1253
 
1254
1254
  "volume": 5, // Range: 0-100, Step 1
1255
1255
 
1256
- "name": "My_DoorBell",
1256
+ "name": "MyDoorBell",
1257
1257
 
1258
1258
  "manufacturer": "Somebody", // Available for all accessories
1259
1259
 
@@ -1267,7 +1267,7 @@
1267
1267
  },
1268
1268
  {
1269
1269
  "type": "Slat",
1270
- "displayName": "My_Slat", // Not a characteristic, but a function parameter
1270
+ "displayName": "MySlat", // Not a characteristic, but a function parameter
1271
1271
 
1272
1272
  // Required Characteristics
1273
1273
  "slatType": "HORIZONTAL", // 0 - "HORIZONTAL"
@@ -1278,7 +1278,7 @@
1278
1278
  // 2 - "SWINGING"
1279
1279
 
1280
1280
  // Optional Characteristics
1281
- "name": "My_Slat",
1281
+ "name": "MySlat",
1282
1282
 
1283
1283
  "currentTiltAngle": 0, // Range: -90 to 90, Step 1
1284
1284
  // "Units": ARC_DEGREE
@@ -1306,8 +1306,8 @@
1306
1306
  //"state_cmd": "node .homebridge/< yourScriptHere >"
1307
1307
  },
1308
1308
  {
1309
- "type": "FilterMaintenance",
1310
- "displayName": "My_FilterMaintenance", // Not a characteristic, but a function parameter
1309
+ "type": "FilterMaintenance",
1310
+ "displayName": "MyFilterMaintenance", // Not a characteristic, but a function parameter
1311
1311
 
1312
1312
  // Required Characteristics
1313
1313
  "filterChangeIndication": "FILTER_OK",
@@ -1320,7 +1320,7 @@
1320
1320
  // "Format": float
1321
1321
  "resetFilterIndication": 1, // Range: 1 - ???
1322
1322
 
1323
- "name": "My_FilterMaintenance",
1323
+ "name": "MyFilterMaintenance",
1324
1324
 
1325
1325
  "manufacturer": "Somebody", // Available for all accessories
1326
1326
 
@@ -1334,7 +1334,7 @@
1334
1334
  },
1335
1335
  {
1336
1336
  "type": "AirPurifier",
1337
- "displayName": "My_AirPurifier", // Not a characteristic, but a function parameter
1337
+ "displayName": "MyAirPurifier", // Not a characteristic, but a function parameter
1338
1338
 
1339
1339
  // Required Characteristics
1340
1340
  "active": "ACTIVE", // 0 - "INACTIVE"
@@ -1352,7 +1352,7 @@
1352
1352
  "lockPhysicalControls": "CONTROL_LOCK_DISABLED", // 0 - "CONTROL_LOCK_DISABLED"
1353
1353
  // 1 - "CONTROL_LOCK_ENABLED"
1354
1354
 
1355
- "name": "My_AirPurifier",
1355
+ "name": "MyAirPurifier",
1356
1356
 
1357
1357
  "swingMode": "SWING_DISABLED",
1358
1358
  // 0 - "SWING_DISABLED"
@@ -1372,14 +1372,14 @@
1372
1372
  },
1373
1373
  {
1374
1374
  "type": "ServiceLabel",
1375
- "displayName": "My_ServiceLabel", // Not a characteristic, but a function parameter
1375
+ "displayName": "MyServiceLabel", // Not a characteristic, but a function parameter
1376
1376
 
1377
1377
  // Required Characteristics
1378
1378
  "serviceLabelNamespace": "DOTS", // 0 - "DOTS"
1379
1379
  // 1 - "ARABIC_NUMERALS"
1380
1380
 
1381
1381
  // Optional Characteristics
1382
- "name": "My_ServiceLabel",
1382
+ "name": "MyServiceLabel",
1383
1383
 
1384
1384
  "manufacturer": "Somebody", // Available for all accessories
1385
1385
 
@@ -1684,7 +1684,7 @@
1684
1684
  },
1685
1685
  {
1686
1686
  "type": "TelevisionSpeaker",
1687
- "displayName": "My_TVSpeaker", // Not a characteristic, but a function parameter
1687
+ "displayName": "MyTVSpeaker", // Not a characteristic, but a function parameter
1688
1688
 
1689
1689
  // Required characteristics
1690
1690
  "mute": "FALSE", // 0 - "FALSE"
@@ -1704,7 +1704,7 @@
1704
1704
  "volumeSelector": "INCREMENT", // 0 - "INCREMENT"
1705
1705
  // 1 - "DECREMENT"
1706
1706
 
1707
- "name": "My_TVSpeaker",
1707
+ "name": "MyTVSpeaker",
1708
1708
 
1709
1709
  "manufacturer": "Somebody", // Available for all accessories
1710
1710
 
@@ -1726,11 +1726,11 @@
1726
1726
  //"state_cmd": "node .homebridge/< yourScriptHere >"
1727
1727
  },
1728
1728
  {
1729
- "type": "InputSource",
1730
- "displayName": "My_InputSource", // Not a characteristic, but a function parameter
1729
+ "type": "InputSource",
1730
+ "displayName": "MyInputSource", // Not a characteristic, but a function parameter
1731
1731
 
1732
1732
  // Required characteristics
1733
- "configuredName": "My_InputSource",
1733
+ "configuredName": "MyInputSource",
1734
1734
 
1735
1735
  "inputSourceType": "HDMI", // 0 - "OTHER"
1736
1736
  // 1 - "HOME_SCREEN"
@@ -1763,7 +1763,7 @@
1763
1763
  // 1 - "HIDDEN"
1764
1764
  // 2 - "STOP"
1765
1765
 
1766
- "name": "My_InputSource",
1766
+ "name": "MyInputSource",
1767
1767
 
1768
1768
  "manufacturer": "Somebody", // Available for all accessories
1769
1769
 
@@ -1777,7 +1777,7 @@
1777
1777
  },
1778
1778
  {
1779
1779
  "type": "IrrigationSystem",
1780
- "displayName": "My_IrrigationSystem", // Not a characteristic, but a function parameter
1780
+ "displayName": "MyIrrigationSystem", // Not a characteristic, but a function parameter
1781
1781
 
1782
1782
  // Required characteristics
1783
1783
  "active": "ACTIVE", // 0 - "INACTIVE"
@@ -1798,7 +1798,7 @@
1798
1798
  // 0 - "NO_FAULT"
1799
1799
  // 1 - "GENERAL_FAULT"
1800
1800
 
1801
- "name": "My_IrrigationSystem",
1801
+ "name": "MyIrrigationSystem",
1802
1802
 
1803
1803
  "manufacturer": "Somebody", // Available for all accessories
1804
1804
 
@@ -1820,8 +1820,8 @@
1820
1820
  //"state_cmd": "node .homebridge/< yourScriptHere >"
1821
1821
  },
1822
1822
  {
1823
- "type": "Faucet",
1824
- "displayName": "My_Faucet", // Not a characteristic, but a function parameter
1823
+ "type": "Faucet",
1824
+ "displayName": "MyFaucet", // Not a characteristic, but a function parameter
1825
1825
 
1826
1826
  // Required characteristics
1827
1827
  "active": "ACTIVE", // 0 - "INACTIVE"
@@ -1831,7 +1831,7 @@
1831
1831
  "statusFault": "NO_FAULT", // 0 - "NO_FAULT"
1832
1832
  // 1 - "GENERAL_FAULT"
1833
1833
 
1834
- "name": "My_Faucet",
1834
+ "name": "MyFaucet",
1835
1835
 
1836
1836
  "manufacturer": "Somebody", // Available for all accessories
1837
1837
 
@@ -1855,7 +1855,7 @@
1855
1855
  },
1856
1856
  {
1857
1857
  "type": "Relay",
1858
- "displayName": "My_Relay", // Not a characteristic, but a function parameter
1858
+ "displayName": "MyRelay", // Not a characteristic, but a function parameter
1859
1859
 
1860
1860
  // Required characteristics
1861
1861
  "relayEnabled": "FALSE",
@@ -1881,7 +1881,7 @@
1881
1881
  },
1882
1882
  {
1883
1883
  "type": "TimeInformation",
1884
- "displayName": "My_TimeInformation", // Not a characteristic, but a function parameter
1884
+ "displayName": "MyTimeInformation", // Not a characteristic, but a function parameter
1885
1885
 
1886
1886
  // Required characteristics
1887
1887
  "currentTime": "11:15", // Format: string
@@ -1892,7 +1892,7 @@
1892
1892
  // 1 - "TRUE"
1893
1893
 
1894
1894
  // Optional Characteristics
1895
- "name": "My_TimeInformation",
1895
+ "name": "MyTimeInformation",
1896
1896
 
1897
1897
  "manufacturer": "Somebody", // Available for all accessories
1898
1898
 
@@ -1906,7 +1906,7 @@
1906
1906
  },
1907
1907
  {
1908
1908
  "type": "Valve",
1909
- "displayName": "My_Valve", // Not a characteristic, but a function parameter
1909
+ "displayName": "MyValve", // Not a characteristic, but a function parameter
1910
1910
 
1911
1911
  // Required characteristics
1912
1912
  "active": "ACTIVE", // 0 - "INACTIVE"
@@ -1935,7 +1935,7 @@
1935
1935
  "statusFault": "NO_FAULT", // 0 - "NO_FAULT"
1936
1936
  // 1 - "GENERAL_FAULT"
1937
1937
 
1938
- "name": "My_Valve",
1938
+ "name": "MyValve",
1939
1939
 
1940
1940
  "manufacturer": "Somebody", // Available for all accessories
1941
1941
 
@@ -1949,7 +1949,7 @@
1949
1949
  },
1950
1950
  {
1951
1951
  "type": "HeaterCooler",
1952
- "displayName": "My_HeaterCooler", // Not a characteristic, but a function parameter
1952
+ "displayName": "MyHeaterCooler", // Not a characteristic, but a function parameter
1953
1953
 
1954
1954
  // Required characteristics
1955
1955
  "active": "ACTIVE", // 0 - "INACTIVE"
@@ -1973,7 +1973,7 @@
1973
1973
  // 0 - "CONTROL_LOCK_DISABLED"
1974
1974
  // 1 - "CONTROL_LOCK_ENABLED"
1975
1975
 
1976
- "name": "My_HeaterCooler",
1976
+ "name": "MyHeaterCooler",
1977
1977
 
1978
1978
  "swingMode": "SWING_ENABLED", // 0 - "SWING_DISABLED",
1979
1979
  // 1 - "SWING_ENABLED"
@@ -2004,8 +2004,8 @@
2004
2004
  //"state_cmd": "node .homebridge/< yourScriptHere >"
2005
2005
  },
2006
2006
  {
2007
- "type": "HumidifierDehumidifier",
2008
- "displayName": "My_HumidifierDehumidifier", // Not a characteristic, but a function parameter
2007
+ "type": "HumidifierDehumidifier",
2008
+ "displayName": "MyHumidifierDehumidifier",// Not a characteristic, but a function parameter
2009
2009
 
2010
2010
  // Required characteristics
2011
2011
  "currentRelativeHumidity": 60, // Range: 0-100, Step: 1
@@ -2031,7 +2031,7 @@
2031
2031
  // 1 - "CONTROL_LOCK_ENABLED"
2032
2032
 
2033
2033
 
2034
- "name": "My_HumidifierDehumidifier",
2034
+ "name": "MyHumidifierDehumidifier",
2035
2035
 
2036
2036
  "swingMode": "SWING_DISABLED", // 0 - "SWING_DISABLED"
2037
2037
  // 1 - "SWING_ENABLED"
@@ -2063,7 +2063,7 @@
2063
2063
  },
2064
2064
  {
2065
2065
  "type": "AccessControl",
2066
- "displayName": "My_AccessControl", // Not a characteristic, but a function parameter
2066
+ "displayName": "MyAccessControl", // Not a characteristic, but a function parameter
2067
2067
 
2068
2068
  // Required characteristics
2069
2069
  "accessControlLevel": 0, // 0-2
@@ -2073,27 +2073,27 @@
2073
2073
  //"state_cmd": "node .homebridge/< yourScriptHere >"
2074
2074
  },
2075
2075
  {
2076
- "type": "CameraOperatingMode",
2077
- "displayName": "My_CameraOperatingMode", // Not a characteristic, but a function parameter
2076
+ "type": "CameraOperatingMode",
2077
+ "displayName": "MyCameraOperatingMode", // Not a characteristic, but a function parameter
2078
2078
 
2079
2079
  // Required characteristics
2080
- "eventSnapshotsActive": "DISABLE", // 0 - "DISABLE"
2080
+ "eventSnapshotsActive": "DISABLE", // 0 - "DISABLE"
2081
2081
  // 1 - "ENABLE"
2082
2082
 
2083
- "homeKitCameraActive": "OFF", // 0 - "OFF"
2083
+ "homeKitCameraActive": "OFF", // 0 - "OFF"
2084
2084
  // 1 - "ON"
2085
2085
 
2086
2086
  // Optional Characteristics
2087
- "manuallyDisabled": "DISABLED", // 0 - "ENABLED"
2087
+ "manuallyDisabled": "DISABLED", // 0 - "ENABLED"
2088
2088
  // 1 - "DISABLED"
2089
2089
 
2090
- "nightVision": "FALSE", // 0 - "FALSE"
2090
+ "nightVision": "FALSE", // 0 - "FALSE"
2091
2091
  // 1 - "TRUE"
2092
2092
 
2093
- "thirdPartyCameraActive": "OFF", // 0 - "OFF"
2093
+ "thirdPartyCameraActive": "OFF", // 0 - "OFF"
2094
2094
  // 1 - "ON"
2095
2095
 
2096
- "periodicSnapshotsActive": "DISABLE" // 0 - "DISABLE"
2096
+ "periodicSnapshotsActive": "DISABLE" // 0 - "DISABLE"
2097
2097
  // 1 - "ENABLE"
2098
2098
 
2099
2099
  // Cmd4 Specific
@@ -2101,7 +2101,7 @@
2101
2101
  },
2102
2102
  {
2103
2103
  "type": "SmartSpeaker",
2104
- "displayName": "My_SmartSpeaker", // Not a characteristic, but a function parameter
2104
+ "displayName": "MySmartSpeaker", // Not a characteristic, but a function parameter
2105
2105
 
2106
2106
  // Required characteristics
2107
2107
  "currentMediaState": "STOP", // 0 - "PLAY"
@@ -2115,8 +2115,8 @@
2115
2115
  // 3 - ???
2116
2116
 
2117
2117
  // Optional Characteristics
2118
- "name": "My_SmartSpeaker",
2119
- "configuredName": "My_SmartSpeaker",
2118
+ "name": "MySmartSpeaker",
2119
+ "configuredName": "MySmartSpeaker",
2120
2120
  "volume": 5,
2121
2121
  "mute": "FALSE" // 0 - "FALSE" (Off)
2122
2122
  // 1 - "TRUE" (On)
@@ -2127,7 +2127,7 @@
2127
2127
  },
2128
2128
  {
2129
2129
  "type": "TargetControl",
2130
- "displayName": "My_TargetControl", // Not a characteristic, but a function parameter
2130
+ "displayName": "MyTargetControl", // Not a characteristic, but a function parameter
2131
2131
 
2132
2132
  // Required characteristics
2133
2133
  "activeIdentifier": 1183,
@@ -2144,7 +2144,7 @@
2144
2144
  },
2145
2145
  {
2146
2146
  "type": "WiFiSatellite",
2147
- "displayName": "My_WiFiSatellite", // Not a characteristic, but a function parameter
2147
+ "displayName": "MyWiFiSatellite", // Not a characteristic, but a function parameter
2148
2148
 
2149
2149
  // Required characteristics
2150
2150
  "wifiSatelliteStatus": "NOT_CONNECTED" // 0 - UNKNOWN