From dca97ab07bb764f787d95d061671802dd729edf3 Mon Sep 17 00:00:00 2001 From: Gregg Date: Sun, 21 Jan 2024 12:35:52 -0600 Subject: [PATCH] update --- tools/makeServiceList | 2 +- tools/test.md | 194 +++++++++++++++++++++--------------------- 2 files changed, 98 insertions(+), 98 deletions(-) diff --git a/tools/makeServiceList b/tools/makeServiceList index 98bee6f..4f8a63a 100755 --- a/tools/makeServiceList +++ b/tools/makeServiceList @@ -73,7 +73,7 @@ END { if(nVals[char]>0){ printf("") } else { printf("%s",default[char]) diff --git a/tools/test.md b/tools/test.md index 21b9624..4e7e6c1 100644 --- a/tools/test.md +++ b/tools/test.md @@ -13,19 +13,19 @@ ## AirPurifier (BB)
Defines a basic Air Purifier with an optional fan. Optional Linked Services: FilterMaintenance, AirQualitySensor, Fan, and Slat
- - - + + + - - + +
CharacteristicUUIDFormatPermsMinMaxConstantsNotes
ActiveB0uint8PW+PR+EV01
  • INACTIVE (0)
  • ACTIVE (1)
indicates if the Service is active/on
CurrentAirPurifierStateA9uint8PR+EV02
  • INACTIVE (0)
  • IDLE (1)
  • PURIFYING (2)
indicates current state of air purification
TargetAirPurifierStateA8uint8PW+PR+EV01
  • MANUAL (0)
  • AUTO (1)
ActiveB0uint8PW+PR+EV01
  • INACTIVE (0)
  • ACTIVE (1)
indicates if the Service is active/on
CurrentAirPurifierStateA9uint8PR+EV02
  • INACTIVE (0)
  • IDLE (1)
  • PURIFYING (2)
indicates current state of air purification
TargetAirPurifierStateA8uint8PW+PR+EV01
  • MANUAL (0)
  • AUTO (1)
Name23stringPR--"unnamed" default name of a Service used only during initial pairing
RotationSpeed29floatPR+PW+EV01000
SwingModeB6uint8PR+EV+PW01
  • SWING_DISABLED (0)
  • SWING_ENABLED (1)
LockPhysicalControlsA7uint8PW+PR+EV01
  • CONTROL_LOCK_DISABLED (0)
  • CONTROL_LOCK_ENABLED (1)
indicates if local control lock is enabled
SwingModeB6uint8PR+EV+PW01
  • SWING_DISABLED (0)
  • SWING_ENABLED (1)
LockPhysicalControlsA7uint8PW+PR+EV01
  • CONTROL_LOCK_DISABLED (0)
  • CONTROL_LOCK_ENABLED (1)
indicates if local control lock is enabled
## AirQualitySensor (8D)
Defines an Air Quality Sensor.
- + @@ -34,29 +34,29 @@ - - - + + +
CharacteristicUUIDFormatPermsMinMaxConstantsNotes
AirQuality95uint8PR+EV05
  • UNKNOWN (0)
  • EXCELLENT (1)
  • GOOD (2)
  • FAIR (3)
  • INFERIOR (4)
  • POOR (5)
a subjective description
AirQuality95uint8PR+EV05
  • UNKNOWN (0)
  • EXCELLENT (1)
  • GOOD (2)
  • FAIR (3)
  • INFERIOR (4)
  • POOR (5)
a subjective description
Name23stringPR--"unnamed" default name of a Service used only during initial pairing
OzoneDensityC3floatPR+EV010000 measured in micrograms/m3
NitrogenDioxideDensityC4floatPR+EV010000 measured in micrograms/m3
PM10DensityC7floatPR+EV010000 10-micron particulate density, measured in micrograms/m3
VOCDensityC8floatPR+EV010000
StatusActive75boolPR+EV01true
StatusFault77uint8PR+EV01
  • NO_FAULT (0)
  • FAULT (1)
StatusTampered7Auint8PR+EV01
  • NOT_TAMPERED (0)
  • TAMPERED (1)
StatusLowBattery79uint8PR+EV01
  • NOT_LOW_BATTERY (0)
  • LOW_BATTERY (1)
StatusFault77uint8PR+EV01
  • NO_FAULT (0)
  • FAULT (1)
StatusTampered7Auint8PR+EV01
  • NOT_TAMPERED (0)
  • TAMPERED (1)
StatusLowBattery79uint8PR+EV01
  • NOT_LOW_BATTERY (0)
  • LOW_BATTERY (1)
## BatteryService (96)
Defines a standalone Battery Service.
- - + +
CharacteristicUUIDFormatPermsMinMaxConstantsNotes
BatteryLevel68uint8PR+EV01000 measured as a percentage
ChargingState8Fuint8PR+EV02
  • NOT_CHARGING (0)
  • CHARGING (1)
  • NOT_CHARGEABLE (2)
indicates state of battery charging
StatusLowBattery79uint8PR+EV01
  • NOT_LOW_BATTERY (0)
  • LOW_BATTERY (1)
ChargingState8Fuint8PR+EV02
  • NOT_CHARGING (0)
  • CHARGING (1)
  • NOT_CHARGEABLE (2)
indicates state of battery charging
StatusLowBattery79uint8PR+EV01
  • NOT_LOW_BATTERY (0)
  • LOW_BATTERY (1)
Name23stringPR--"unnamed" default name of a Service used only during initial pairing
## CarbonDioxideSensor (97)
Defines a Carbon Dioxide Sensor.
- + - - - + + +
CharacteristicUUIDFormatPermsMinMaxConstantsNotes
CarbonDioxideDetected92uint8PR+EV01
  • NORMAL (0)
  • ABNORMAL (1)
indicates if abnormal level is detected
CarbonDioxideDetected92uint8PR+EV01
  • NORMAL (0)
  • ABNORMAL (1)
indicates if abnormal level is detected
Name23stringPR--"unnamed" default name of a Service used only during initial pairing
StatusActive75boolPR+EV01true
StatusFault77uint8PR+EV01
  • NO_FAULT (0)
  • FAULT (1)
StatusTampered7Auint8PR+EV01
  • NOT_TAMPERED (0)
  • TAMPERED (1)
StatusLowBattery79uint8PR+EV01
  • NOT_LOW_BATTERY (0)
  • LOW_BATTERY (1)
StatusFault77uint8PR+EV01
  • NO_FAULT (0)
  • FAULT (1)
StatusTampered7Auint8PR+EV01
  • NOT_TAMPERED (0)
  • TAMPERED (1)
StatusLowBattery79uint8PR+EV01
  • NOT_LOW_BATTERY (0)
  • LOW_BATTERY (1)
CarbonDioxideLevel93floatPR+EV01000000 measured on parts per million (ppm)
CarbonDioxidePeakLevel94floatPR+EV01000000 measured in parts per million (ppm)
@@ -64,12 +64,12 @@ ## CarbonMonoxideSensor (7F)
Defines a Carbon Monoxide Sensor.
- + - - - + + +
CharacteristicUUIDFormatPermsMinMaxConstantsNotes
CarbonMonoxideDetected69uint8PR+EV01
  • NORMAL (0)
  • ABNORMAL (1)
indicates if abnormal level is detected
CarbonMonoxideDetected69uint8PR+EV01
  • NORMAL (0)
  • ABNORMAL (1)
indicates if abnormal level is detected
Name23stringPR--"unnamed" default name of a Service used only during initial pairing
StatusActive75boolPR+EV01true
StatusFault77uint8PR+EV01
  • NO_FAULT (0)
  • FAULT (1)
StatusTampered7Auint8PR+EV01
  • NOT_TAMPERED (0)
  • TAMPERED (1)
StatusLowBattery79uint8PR+EV01
  • NOT_LOW_BATTERY (0)
  • LOW_BATTERY (1)
StatusFault77uint8PR+EV01
  • NO_FAULT (0)
  • FAULT (1)
StatusTampered7Auint8PR+EV01
  • NOT_TAMPERED (0)
  • TAMPERED (1)
StatusLowBattery79uint8PR+EV01
  • NOT_LOW_BATTERY (0)
  • LOW_BATTERY (1)
CarbonMonoxideLevel90floatPR+EV01000 measured in parts per million (ppm)
CarbonMonoxidePeakLevel91floatPR+EV01000 measured in parts per million (ppm)
@@ -77,12 +77,12 @@ ## ContactSensor (80)
Defines a Contact Sensor.
- + - - - + + +
CharacteristicUUIDFormatPermsMinMaxConstantsNotes
ContactSensorState6Auint8PR+EV01
  • DETECTED (0)
  • NOT_DETECTED (1)
indictates if contact is detected (i.e. closed)
ContactSensorState6Auint8PR+EV01
  • DETECTED (0)
  • NOT_DETECTED (1)
indictates if contact is detected (i.e. closed)
Name23stringPR--"unnamed" default name of a Service used only during initial pairing
StatusActive75boolPR+EV01true
StatusFault77uint8PR+EV01
  • NO_FAULT (0)
  • FAULT (1)
StatusTampered7Auint8PR+EV01
  • NOT_TAMPERED (0)
  • TAMPERED (1)
StatusLowBattery79uint8PR+EV01
  • NOT_LOW_BATTERY (0)
  • LOW_BATTERY (1)
StatusFault77uint8PR+EV01
  • NO_FAULT (0)
  • FAULT (1)
StatusTampered7Auint8PR+EV01
  • NOT_TAMPERED (0)
  • TAMPERED (1)
StatusLowBattery79uint8PR+EV01
  • NOT_LOW_BATTERY (0)
  • LOW_BATTERY (1)
## Door (81) @@ -97,35 +97,35 @@ ## Doorbell (121)
Defines a Doorbell. Can be used on a standalone basis or in conjunction with a LockMechanism Service.
- +
CharacteristicUUIDFormatPermsMinMaxConstantsNotes
ProgrammableSwitchEvent73uint8PR+EV+NV02
  • SINGLE_PRESS (0)
  • DOUBLE_PRESS (1)
  • LONG_PRESS (2)
ProgrammableSwitchEvent73uint8PR+EV+NV02
  • SINGLE_PRESS (0)
  • DOUBLE_PRESS (1)
  • LONG_PRESS (2)
Name23stringPR--"unnamed" default name of a Service used only during initial pairing
## Fan (B7)
Defines a Fan. Can be used in conjunction with a LightBulb Service to create a Lighted Ceiling Fan.
- + - - - + + + - - + +
CharacteristicUUIDFormatPermsMinMaxConstantsNotes
ActiveB0uint8PW+PR+EV01
  • INACTIVE (0)
  • ACTIVE (1)
indicates if the Service is active/on
ActiveB0uint8PW+PR+EV01
  • INACTIVE (0)
  • ACTIVE (1)
indicates if the Service is active/on
Name23stringPR--"unnamed" default name of a Service used only during initial pairing
CurrentFanStateAFuint8PR+EV02
  • INACTIVE (0)
  • IDLE (1)
  • BLOWING (2)
indicates current state of a fan
TargetFanStateBFuint8PW+PR+EV01
  • MANUAL (0)
  • AUTO (1)
RotationDirection28intPR+PW+EV01
  • CLOCKWISE (0)
  • COUNTERCLOCKWISE (1)
CurrentFanStateAFuint8PR+EV02
  • INACTIVE (0)
  • IDLE (1)
  • BLOWING (2)
indicates current state of a fan
TargetFanStateBFuint8PW+PR+EV01
  • MANUAL (0)
  • AUTO (1)
RotationDirection28intPR+PW+EV01
  • CLOCKWISE (0)
  • COUNTERCLOCKWISE (1)
RotationSpeed29floatPR+PW+EV01000
SwingModeB6uint8PR+EV+PW01
  • SWING_DISABLED (0)
  • SWING_ENABLED (1)
LockPhysicalControlsA7uint8PW+PR+EV01
  • CONTROL_LOCK_DISABLED (0)
  • CONTROL_LOCK_ENABLED (1)
indicates if local control lock is enabled
SwingModeB6uint8PR+EV+PW01
  • SWING_DISABLED (0)
  • SWING_ENABLED (1)
LockPhysicalControlsA7uint8PW+PR+EV01
  • CONTROL_LOCK_DISABLED (0)
  • CONTROL_LOCK_ENABLED (1)
indicates if local control lock is enabled
## Faucet (D7)
Defines the master control for a multi-Valve appliance. Linked Services: Valve (at least one required), and HeaterCooler (optional).
- - + +
CharacteristicUUIDFormatPermsMinMaxConstantsNotes
ActiveB0uint8PW+PR+EV01
  • INACTIVE (0)
  • ACTIVE (1)
indicates if the Service is active/on
StatusFault77uint8PR+EV01
  • NO_FAULT (0)
  • FAULT (1)
ActiveB0uint8PW+PR+EV01
  • INACTIVE (0)
  • ACTIVE (1)
indicates if the Service is active/on
StatusFault77uint8PR+EV01
  • NO_FAULT (0)
  • FAULT (1)
Name23stringPR--"unnamed" default name of a Service used only during initial pairing
## FilterMaintenance (BA)
Defines a Filter Maintainence check.
- + @@ -134,11 +134,11 @@ ## GarageDoorOpener (41)
Defines a motorized Garage Door Opener.
CharacteristicUUIDFormatPermsMinMaxConstantsNotes
FilterChangeIndicationACuint8PR+EV01
  • NO_CHANGE_NEEDED (0)
  • CHANGE_NEEDED (1)
indicates state of filter
FilterChangeIndicationACuint8PR+EV01
  • NO_CHANGE_NEEDED (0)
  • CHANGE_NEEDED (1)
indicates state of filter
Name23stringPR--"unnamed" default name of a Service used only during initial pairing
FilterLifeLevelABfloatPR+EV01000 measures as a percentage of remaining life
ResetFilterIndicationADuint8PW110
- - + + - - + +
CharacteristicUUIDFormatPermsMinMaxConstantsNotes
CurrentDoorStateEuint8PR+EV04
  • OPEN (0)
  • CLOSED (1)
  • OPENING (2)
  • CLOSING (3)
  • STOPPED (4)
indicates current state of a door
TargetDoorState32uint8PW+PR+EV01
  • OPEN (0)
  • CLOSED (1)
CurrentDoorStateEuint8PR+EV04
  • OPEN (0)
  • CLOSED (1)
  • OPENING (2)
  • CLOSING (3)
  • STOPPED (4)
indicates current state of a door
TargetDoorState32uint8PW+PR+EV01
  • OPEN (0)
  • CLOSED (1)
ObstructionDetected24boolPR+EV01
  • NOT_DETECTED (0)
  • DETECTED (1)
indicates if obstruction is detected
LockCurrentState1Duint8PR+EV03
  • UNLOCKED (0)
  • LOCKED (1)
  • JAMMED (2)
  • UNKNOWN (3)
indictates state of a lock
LockTargetState1Euint8PW+PR+EV01
  • UNLOCK (0)
  • LOCK (1)
indicates desired state of lock
LockCurrentState1Duint8PR+EV03
  • UNLOCKED (0)
  • LOCKED (1)
  • JAMMED (2)
  • UNKNOWN (3)
indictates state of a lock
LockTargetState1Euint8PW+PR+EV01
  • UNLOCK (0)
  • LOCK (1)
indicates desired state of lock
Name23stringPR--"unnamed" default name of a Service used only during initial pairing
Version37stringPR--"1.0.0"
@@ -146,33 +146,33 @@ ## HeaterCooler (BC)
Defines a standalone Heater, Cooler, or combined Heater/Cooler. Can be used with a separate Fan Service and/or Slat Service to extend functionality.
- + - - + + - - + + - +
CharacteristicUUIDFormatPermsMinMaxConstantsNotes
ActiveB0uint8PW+PR+EV01
  • INACTIVE (0)
  • ACTIVE (1)
indicates if the Service is active/on
ActiveB0uint8PW+PR+EV01
  • INACTIVE (0)
  • ACTIVE (1)
indicates if the Service is active/on
CurrentTemperature11floatPR+EV01000 current temperature measured in Celsius
CurrentHeaterCoolerStateB1uint8PR+EV03
  • INACTIVE (0)
  • IDLE (1)
  • HEATING (2)
  • COOLING (3)
indicates whether appliance is currently heating, cooling, idle, or off
TargetHeaterCoolerStateB2uint8PW+PR+EV02
  • AUTO (0)
  • HEAT (1)
  • COOL (2)
CurrentHeaterCoolerStateB1uint8PR+EV03
  • INACTIVE (0)
  • IDLE (1)
  • HEATING (2)
  • COOLING (3)
indicates whether appliance is currently heating, cooling, idle, or off
TargetHeaterCoolerStateB2uint8PW+PR+EV02
  • AUTO (0)
  • HEAT (1)
  • COOL (2)
Name23stringPR--"unnamed" default name of a Service used only during initial pairing
RotationSpeed29floatPR+PW+EV01000
TemperatureDisplayUnits36uint8PW+PR+EV01
  • CELSIUS (0)
  • FAHRENHEIT (1)
SwingModeB6uint8PR+EV+PW01
  • SWING_DISABLED (0)
  • SWING_ENABLED (1)
TemperatureDisplayUnits36uint8PW+PR+EV01
  • CELSIUS (0)
  • FAHRENHEIT (1)
SwingModeB6uint8PR+EV+PW01
  • SWING_DISABLED (0)
  • SWING_ENABLED (1)
CoolingThresholdTemperatureDfloatPR+PW+EV103510 cooling turns on when temperature (in Celsius) rises above this threshold
HeatingThresholdTemperature12floatPR+PW+EV02516 heating turns on when temperature (in Celsius) falls below this threshold
LockPhysicalControlsA7uint8PW+PR+EV01
  • CONTROL_LOCK_DISABLED (0)
  • CONTROL_LOCK_ENABLED (1)
indicates if local control lock is enabled
LockPhysicalControlsA7uint8PW+PR+EV01
  • CONTROL_LOCK_DISABLED (0)
  • CONTROL_LOCK_ENABLED (1)
indicates if local control lock is enabled
## HumidifierDehumidifier (BD)
Defines a Humidifer, Dehumidifier, or combined Humidifer/Dehumidifier. Can be used with a separate Fan Service and/or Slat Service to extend functionality.
- + - - + + - + - +
CharacteristicUUIDFormatPermsMinMaxConstantsNotes
ActiveB0uint8PW+PR+EV01
  • INACTIVE (0)
  • ACTIVE (1)
indicates if the Service is active/on
ActiveB0uint8PW+PR+EV01
  • INACTIVE (0)
  • ACTIVE (1)
indicates if the Service is active/on
CurrentRelativeHumidity10floatPR+EV01000current humidity measured as a percentage
CurrentHumidifierDehumidifierStateB3uint8PR+EV03
  • INACTIVE (0)
  • IDLE (1)
  • HUMIDIFYING (2)
  • DEHUMIDIFYING (3)
indicates current state of humidifier/dehumidifer
TargetHumidifierDehumidifierStateB4uint8PW+PR+EV02
  • AUTO (0)
  • HUMIDIFY (1)
  • DEHUMIDIFY (2)
CurrentHumidifierDehumidifierStateB3uint8PR+EV03
  • INACTIVE (0)
  • IDLE (1)
  • HUMIDIFYING (2)
  • DEHUMIDIFYING (3)
indicates current state of humidifier/dehumidifer
TargetHumidifierDehumidifierStateB4uint8PW+PR+EV02
  • AUTO (0)
  • HUMIDIFY (1)
  • DEHUMIDIFY (2)
Name23stringPR--"unnamed" default name of a Service used only during initial pairing
RelativeHumidityDehumidifierThresholdC9floatPR+PW+EV010050
RelativeHumidityHumidifierThresholdCAfloatPR+PW+EV010050
RotationSpeed29floatPR+PW+EV01000
SwingModeB6uint8PR+EV+PW01
  • SWING_DISABLED (0)
  • SWING_ENABLED (1)
SwingModeB6uint8PR+EV+PW01
  • SWING_DISABLED (0)
  • SWING_ENABLED (1)
WaterLevelB5floatPR+EV01000
LockPhysicalControlsA7uint8PW+PR+EV01
  • CONTROL_LOCK_DISABLED (0)
  • CONTROL_LOCK_ENABLED (1)
indicates if local control lock is enabled
LockPhysicalControlsA7uint8PW+PR+EV01
  • CONTROL_LOCK_DISABLED (0)
  • CONTROL_LOCK_ENABLED (1)
indicates if local control lock is enabled
## HumiditySensor (82) @@ -181,16 +181,16 @@ CurrentRelativeHumidity10floatPR+EV01000current humidity measured as a percentage Name23stringPR--"unnamed" default name of a Service used only during initial pairing StatusActive75boolPR+EV01true -StatusFault77uint8PR+EV01
  • NO_FAULT (0)
  • FAULT (1)
-StatusTampered7Auint8PR+EV01
  • NOT_TAMPERED (0)
  • TAMPERED (1)
-StatusLowBattery79uint8PR+EV01
  • NOT_LOW_BATTERY (0)
  • LOW_BATTERY (1)
+StatusFault77uint8PR+EV01
  • NO_FAULT (0)
  • FAULT (1)
+StatusTampered7Auint8PR+EV01
  • NOT_TAMPERED (0)
  • TAMPERED (1)
+StatusLowBattery79uint8PR+EV01
  • NOT_LOW_BATTERY (0)
  • LOW_BATTERY (1)
## InputSource (D9)
Defines an Input Source for a TV. Use only as a Linked Service for the Television Service.
- + @@ -199,22 +199,22 @@ ## IrrigationSystem (CF)
Defines an Irrigation System. Linked Services: Valve Service (at least one required).
CharacteristicUUIDFormatPermsMinMaxConstantsNotes
ConfiguredNameE3stringPW+PR+EV--"unnamed"
IsConfiguredD6uint8PR+EV01
  • NOT_CONFIGURED (0)
  • CONFIGURED (1)
indicates if a predefined Service has been configured
IsConfiguredD6uint8PR+EV01
  • NOT_CONFIGURED (0)
  • CONFIGURED (1)
indicates if a predefined Service has been configured
IdentifierE6uint32PR02550
CurrentVisibilityState135uint8PR+EV010
TargetVisibilityState134uint8PW+PR+EV010
- - - + + + - +
CharacteristicUUIDFormatPermsMinMaxConstantsNotes
ActiveB0uint8PW+PR+EV01
  • INACTIVE (0)
  • ACTIVE (1)
indicates if the Service is active/on
ProgramModeD1uint8PR+EV02
  • NONE (0)
  • SCHEDULED (1)
  • SCHEDULE_OVERRIDEN (2)
InUseD2uint8PR+EV01
  • NOT_IN_USE (0)
  • IN_USE (1)
if Service is set to active, this indictes whether it is currently in use
ActiveB0uint8PW+PR+EV01
  • INACTIVE (0)
  • ACTIVE (1)
indicates if the Service is active/on
ProgramModeD1uint8PR+EV02
  • NONE (0)
  • SCHEDULED (1)
  • SCHEDULE_OVERRIDEN (2)
InUseD2uint8PR+EV01
  • NOT_IN_USE (0)
  • IN_USE (1)
if Service is set to active, this indictes whether it is currently in use
RemainingDurationD4uint32PR+EV0360060
StatusFault77uint8PR+EV01
  • NO_FAULT (0)
  • FAULT (1)
StatusFault77uint8PR+EV01
  • NO_FAULT (0)
  • FAULT (1)
## LeakSensor (83)
Defines a Leak Sensor.
- + - - - + + +
CharacteristicUUIDFormatPermsMinMaxConstantsNotes
LeakDetected70uint8PR+EV01
  • NOT_DETECTED (0)
  • DETECTED (1)
indictates if a leak is detected
LeakDetected70uint8PR+EV01
  • NOT_DETECTED (0)
  • DETECTED (1)
indictates if a leak is detected
Name23stringPR--"unnamed" default name of a Service used only during initial pairing
StatusActive75boolPR+EV01true
StatusFault77uint8PR+EV01
  • NO_FAULT (0)
  • FAULT (1)
StatusTampered7Auint8PR+EV01
  • NOT_TAMPERED (0)
  • TAMPERED (1)
StatusLowBattery79uint8PR+EV01
  • NOT_LOW_BATTERY (0)
  • LOW_BATTERY (1)
StatusFault77uint8PR+EV01
  • NO_FAULT (0)
  • FAULT (1)
StatusTampered7Auint8PR+EV01
  • NOT_TAMPERED (0)
  • TAMPERED (1)
StatusLowBattery79uint8PR+EV01
  • NOT_LOW_BATTERY (0)
  • LOW_BATTERY (1)
## LightBulb (43) @@ -234,16 +234,16 @@ CurrentAmbientLightLevel6BfloatPR+EV0.00011000001 measured in Lux (lumens/m2 Name23stringPR--"unnamed" default name of a Service used only during initial pairing StatusActive75boolPR+EV01true -StatusFault77uint8PR+EV01
  • NO_FAULT (0)
  • FAULT (1)
-StatusTampered7Auint8PR+EV01
  • NOT_TAMPERED (0)
  • TAMPERED (1)
-StatusLowBattery79uint8PR+EV01
  • NOT_LOW_BATTERY (0)
  • LOW_BATTERY (1)
+StatusFault77uint8PR+EV01
  • NO_FAULT (0)
  • FAULT (1)
+StatusTampered7Auint8PR+EV01
  • NOT_TAMPERED (0)
  • TAMPERED (1)
+StatusLowBattery79uint8PR+EV01
  • NOT_LOW_BATTERY (0)
  • LOW_BATTERY (1)
## LockMechanism (45)
Defines an electronic Lock.
- - + + @@ -256,20 +256,20 @@ - - - + + +
CharacteristicUUIDFormatPermsMinMaxConstantsNotes
LockCurrentState1Duint8PR+EV03
  • UNLOCKED (0)
  • LOCKED (1)
  • JAMMED (2)
  • UNKNOWN (3)
indictates state of a lock
LockTargetState1Euint8PW+PR+EV01
  • UNLOCK (0)
  • LOCK (1)
indicates desired state of lock
LockCurrentState1Duint8PR+EV03
  • UNLOCKED (0)
  • LOCKED (1)
  • JAMMED (2)
  • UNKNOWN (3)
indictates state of a lock
LockTargetState1Euint8PW+PR+EV01
  • UNLOCK (0)
  • LOCK (1)
indicates desired state of lock
Name23stringPR--"unnamed" default name of a Service used only during initial pairing
Mute11AboolPW+PR+EV01
  • OFF (0)
  • ON (1)
not used
Name23stringPR--"unnamed" default name of a Service used only during initial pairing
MotionDetected22boolPR+EV01
  • NOT_DETECTED (0)
  • DETECTED (1)
indicates if motion is detected
Name23stringPR--"unnamed" default name of a Service used only during initial pairing
StatusActive75boolPR+EV01true
StatusFault77uint8PR+EV01
  • NO_FAULT (0)
  • FAULT (1)
StatusTampered7Auint8PR+EV01
  • NOT_TAMPERED (0)
  • TAMPERED (1)
StatusLowBattery79uint8PR+EV01
  • NOT_LOW_BATTERY (0)
  • LOW_BATTERY (1)
StatusFault77uint8PR+EV01
  • NO_FAULT (0)
  • FAULT (1)
StatusTampered7Auint8PR+EV01
  • NOT_TAMPERED (0)
  • TAMPERED (1)
StatusLowBattery79uint8PR+EV01
  • NOT_LOW_BATTERY (0)
  • LOW_BATTERY (1)
## OccupancySensor (86)
Defines and Occupancy Sensor.
- + - - - + + +
CharacteristicUUIDFormatPermsMinMaxConstantsNotes
OccupancyDetected71uint8PR+EV01
  • NOT_DETECTED (0)
  • DETECTED (1)
indicates if occupanccy is detected
OccupancyDetected71uint8PR+EV01
  • NOT_DETECTED (0)
  • DETECTED (1)
indicates if occupanccy is detected
Name23stringPR--"unnamed" default name of a Service used only during initial pairing
StatusActive75boolPR+EV01true
StatusFault77uint8PR+EV01
  • NO_FAULT (0)
  • FAULT (1)
StatusTampered7Auint8PR+EV01
  • NOT_TAMPERED (0)
  • TAMPERED (1)
StatusLowBattery79uint8PR+EV01
  • NOT_LOW_BATTERY (0)
  • LOW_BATTERY (1)
StatusFault77uint8PR+EV01
  • NO_FAULT (0)
  • FAULT (1)
StatusTampered7Auint8PR+EV01
  • NOT_TAMPERED (0)
  • TAMPERED (1)
StatusLowBattery79uint8PR+EV01
  • NOT_LOW_BATTERY (0)
  • LOW_BATTERY (1)
## Outlet (47) @@ -283,22 +283,22 @@ ## SecuritySystem (7E)
Defines a Security System.
- - + + - - - - + + + +
CharacteristicUUIDFormatPermsMinMaxConstantsNotes
SecuritySystemCurrentState66uint8PR+EV04
  • ARMED_STAY (0)
  • ARMED_AWAY (1)
  • ARMED_NIGHT (2)
  • DISARMED (3)
  • ALARM_TRIGGERED (4)
SecuritySystemTargetState67uint8PW+PR+EV03
  • ARM_STAY (0)
  • ARM_AWAY (1)
  • ARM_NIGHT (2)
  • DISARM (3)
SecuritySystemCurrentState66uint8PR+EV04
  • ARMED_STAY (0)
  • ARMED_AWAY (1)
  • ARMED_NIGHT (2)
  • DISARMED (3)
  • ALARM_TRIGGERED (4)
SecuritySystemTargetState67uint8PW+PR+EV03
  • ARM_STAY (0)
  • ARM_AWAY (1)
  • ARM_NIGHT (2)
  • DISARM (3)
Name23stringPR--"unnamed" default name of a Service used only during initial pairing
SecuritySystemAlarmType8Euint8PR+EV01
  • KNOWN (0)
  • UNKNOWN (1)
StatusFault77uint8PR+EV01
  • NO_FAULT (0)
  • FAULT (1)
StatusTampered7Auint8PR+EV01
  • NOT_TAMPERED (0)
  • TAMPERED (1)
ServiceLabelNamespaceCDuint8PR01
  • DOTS (0)
  • NUMERALS (1)
SecuritySystemAlarmType8Euint8PR+EV01
  • KNOWN (0)
  • UNKNOWN (1)
StatusFault77uint8PR+EV01
  • NO_FAULT (0)
  • FAULT (1)
StatusTampered7Auint8PR+EV01
  • NOT_TAMPERED (0)
  • TAMPERED (1)
ServiceLabelNamespaceCDuint8PR01
  • DOTS (0)
  • NUMERALS (1)
## Slat (B9)
Defines a motorized ventilation Slat(s).
- - + + - +
CharacteristicUUIDFormatPermsMinMaxConstantsNotes
CurrentSlatStateAAuint8PR+EV02
  • FIXED (0)
  • JAMMED (1)
  • SWINGING (2)
indicates current state of slats
SlatTypeC0uint8PR01
  • HORIZONTAL (0)
  • VERTICAL (1)
CurrentSlatStateAAuint8PR+EV02
  • FIXED (0)
  • JAMMED (1)
  • SWINGING (2)
indicates current state of slats
SlatTypeC0uint8PR01
  • HORIZONTAL (0)
  • VERTICAL (1)
Name23stringPR--"unnamed" default name of a Service used only during initial pairing
SwingModeB6uint8PR+EV+PW01
  • SWING_DISABLED (0)
  • SWING_ENABLED (1)
SwingModeB6uint8PR+EV+PW01
  • SWING_DISABLED (0)
  • SWING_ENABLED (1)
CurrentTiltAngleC1intPR+EV-90900 angle (in degrees) of slats from fully up or left (-90) to fully open (0) to fully down or right (90)
TargetTiltAngleC2intPW+PR+EV-90900
@@ -306,12 +306,12 @@ ## SmokeSensor (87)
Defines a Smoke Sensor.
- + - - - + + + @@ -320,7 +320,7 @@ ## StatelessProgrammableSwitch (89)
Defines a "Stateless" Programmable Switch that can be used to trigger actions in the Home App.
CharacteristicUUIDFormatPermsMinMaxConstantsNotes
SmokeDetected76uint8PR+EV01
  • NOT_DETECTED (0)
  • DETECTED (1)
SmokeDetected76uint8PR+EV01
  • NOT_DETECTED (0)
  • DETECTED (1)
Name23stringPR--"unnamed" default name of a Service used only during initial pairing
StatusActive75boolPR+EV01true
StatusFault77uint8PR+EV01
  • NO_FAULT (0)
  • FAULT (1)
StatusTampered7Auint8PR+EV01
  • NOT_TAMPERED (0)
  • TAMPERED (1)
StatusLowBattery79uint8PR+EV01
  • NOT_LOW_BATTERY (0)
  • LOW_BATTERY (1)
StatusFault77uint8PR+EV01
  • NO_FAULT (0)
  • FAULT (1)
StatusTampered7Auint8PR+EV01
  • NOT_TAMPERED (0)
  • TAMPERED (1)
StatusLowBattery79uint8PR+EV01
  • NOT_LOW_BATTERY (0)
  • LOW_BATTERY (1)
Mute11AboolPW+PR+EV01
  • OFF (0)
  • ON (1)
not used
Name23stringPR--"unnamed" default name of a Service used only during initial pairing
Volume119uint8PW+PR+EV01000
- +
CharacteristicUUIDFormatPermsMinMaxConstantsNotes
ProgrammableSwitchEvent73uint8PR+EV+NV02
  • SINGLE_PRESS (0)
  • DOUBLE_PRESS (1)
  • LONG_PRESS (2)
ProgrammableSwitchEvent73uint8PR+EV+NV02
  • SINGLE_PRESS (0)
  • DOUBLE_PRESS (1)
  • LONG_PRESS (2)
Name23stringPR--"unnamed" default name of a Service used only during initial pairing
@@ -334,7 +334,7 @@ ## Television (D8)
Defines a TV. Optional Linked Services: InputSource and TelevisionSpeaker.
- + @@ -354,19 +354,19 @@ - - - + + +
CharacteristicUUIDFormatPermsMinMaxConstantsNotes
ActiveB0uint8PW+PR+EV01
  • INACTIVE (0)
  • ACTIVE (1)
indicates if the Service is active/on
ActiveB0uint8PW+PR+EV01
  • INACTIVE (0)
  • ACTIVE (1)
indicates if the Service is active/on
ConfiguredNameE3stringPW+PR+EV--"unnamed"
ActiveIdentifierE7uint32PW+PR+EV02550 the Identifier of the current Input Source
RemoteKeyE1uint8PW0160
CurrentTemperature11floatPR+EV01000 current temperature measured in Celsius
Name23stringPR--"unnamed" default name of a Service used only during initial pairing
StatusActive75boolPR+EV01true
StatusFault77uint8PR+EV01
  • NO_FAULT (0)
  • FAULT (1)
StatusTampered7Auint8PR+EV01
  • NOT_TAMPERED (0)
  • TAMPERED (1)
StatusLowBattery79uint8PR+EV01
  • NOT_LOW_BATTERY (0)
  • LOW_BATTERY (1)
StatusFault77uint8PR+EV01
  • NO_FAULT (0)
  • FAULT (1)
StatusTampered7Auint8PR+EV01
  • NOT_TAMPERED (0)
  • TAMPERED (1)
StatusLowBattery79uint8PR+EV01
  • NOT_LOW_BATTERY (0)
  • LOW_BATTERY (1)
## Thermostat (4A)
Defines a Thermostat used to control a furnace, air conditioner, or both.
- - + + - + @@ -377,13 +377,13 @@ ## Valve (D0)
Defines an electronic Valve. Can be used standalone or as a Linked Service in conjunction with the Faucet and IrrigationSystem Services.
CharacteristicUUIDFormatPermsMinMaxConstantsNotes
CurrentHeatingCoolingStateFuint8PR+EV02
  • IDLE (0)
  • HEATING (1)
  • COOLING (2)
indicates whether appliance is currently heating, cooling, or just idle
TargetHeatingCoolingState33uint8PW+PR+EV03
  • OFF (0)
  • HEAT (1)
  • COOL (2)
  • AUTO (3)
CurrentHeatingCoolingStateFuint8PR+EV02
  • IDLE (0)
  • HEATING (1)
  • COOLING (2)
indicates whether appliance is currently heating, cooling, or just idle
TargetHeatingCoolingState33uint8PW+PR+EV03
  • OFF (0)
  • HEAT (1)
  • COOL (2)
  • AUTO (3)
CurrentTemperature11floatPR+EV01000 current temperature measured in Celsius
TargetTemperature35floatPW+PR+EV103816
TemperatureDisplayUnits36uint8PW+PR+EV01
  • CELSIUS (0)
  • FAHRENHEIT (1)
TemperatureDisplayUnits36uint8PW+PR+EV01
  • CELSIUS (0)
  • FAHRENHEIT (1)
CoolingThresholdTemperatureDfloatPR+PW+EV103510 cooling turns on when temperature (in Celsius) rises above this threshold
CurrentRelativeHumidity10floatPR+EV01000current humidity measured as a percentage
HeatingThresholdTemperature12floatPR+PW+EV02516 heating turns on when temperature (in Celsius) falls below this threshold
- - + + - - + +
CharacteristicUUIDFormatPermsMinMaxConstantsNotes
ActiveB0uint8PW+PR+EV01
  • INACTIVE (0)
  • ACTIVE (1)
indicates if the Service is active/on
InUseD2uint8PR+EV01
  • NOT_IN_USE (0)
  • IN_USE (1)
if Service is set to active, this indictes whether it is currently in use
ActiveB0uint8PW+PR+EV01
  • INACTIVE (0)
  • ACTIVE (1)
indicates if the Service is active/on
InUseD2uint8PR+EV01
  • NOT_IN_USE (0)
  • IN_USE (1)
if Service is set to active, this indictes whether it is currently in use
ValveTypeD5uint8PR+EV030
SetDurationD3uint32PW+PR+EV0360060
RemainingDurationD4uint32PR+EV0360060
IsConfiguredD6uint8PR+EV01
  • NOT_CONFIGURED (0)
  • CONFIGURED (1)
indicates if a predefined Service has been configured
StatusFault77uint8PR+EV01
  • NO_FAULT (0)
  • FAULT (1)
IsConfiguredD6uint8PR+EV01
  • NOT_CONFIGURED (0)
  • CONFIGURED (1)
indicates if a predefined Service has been configured
StatusFault77uint8PR+EV01
  • NO_FAULT (0)
  • FAULT (1)
Name23stringPR--"unnamed" default name of a Service used only during initial pairing