HomeSpan/tools/test.md

52 KiB

AccessoryInformation (3E)
CharacteristicUUIDFormatPermsMinMaxValues
Identify *14boolPW01
FirmwareRevision52stringPR+EV
Manufacturer20stringPR
Model21stringPR
Name23stringPR
SerialNumber30stringPR
HardwareRevision53stringPR
AccessoryFlagsA6uint32PR+EV11

AirPurifier (BB)
CharacteristicUUIDFormatPermsMinMaxValues
Active *B0uint8PW+PR+EV01INACTIVE (0)
ACTIVE (1)
CurrentAirPurifierState *A9uint8PR+EV02INACTIVE (0)
IDLE (1)
PURIFYING (2)
TargetAirPurifierState *A8uint8PW+PR+EV01MANUAL (0)
AUTO (1)
Name23stringPR
RotationSpeed29floatPR+PW+EV0100
SwingModeB6uint8PR+EV+PW01SWING_DISABLED (0)
SWING_ENABLED (1)
LockPhysicalControlsA7uint8PW+PR+EV01CONTROL_LOCK_DISABLED (0)
CONTROL_LOCK_ENABLED (1)

AirQualitySensor (8D)
CharacteristicUUIDFormatPermsMinMaxValues
AirQuality *95uint8PR+EV05UNKNOWN (0)
EXCELLENT (1)
GOOD (2)
FAIR (3)
INFERIOR (4)
POOR (5)
Name23stringPR
OzoneDensityC3floatPR+EV01000
NitrogenDioxideDensityC4floatPR+EV01000
SulphurDioxideDensityC5floatPR+EV01000
PM25DensityC6floatPR+EV01000
PM10DensityC7floatPR+EV01000
VOCDensityC8floatPR+EV01000
StatusActive75boolPR+EV01
StatusFault77uint8PR+EV01NO_FAULT (0)
FAULT (1)
StatusTampered7Auint8PR+EV01NOT_TAMPERED (0)
TAMPERED (1)
StatusLowBattery79uint8PR+EV01NOT_LOW_BATTERY (0)
LOW_BATTERY (1)

BatteryService (96)
CharacteristicUUIDFormatPermsMinMaxValues
BatteryLevel *68uint8PR+EV0100
ChargingState *8Fuint8PR+EV02NOT_CHARGING (0)
CHARGING (1)
NOT_CHARGEABLE (2)
StatusLowBattery *79uint8PR+EV01NOT_LOW_BATTERY (0)
LOW_BATTERY (1)
Name23stringPR

CarbonDioxideSensor (97)
CharacteristicUUIDFormatPermsMinMaxValues
CarbonDioxideDetected *92uint8PR+EV01NORMAL (0)
ABNORMAL (1)
Name23stringPR
StatusActive75boolPR+EV01
StatusFault77uint8PR+EV01NO_FAULT (0)
FAULT (1)
StatusTampered7Auint8PR+EV01NOT_TAMPERED (0)
TAMPERED (1)
StatusLowBattery79uint8PR+EV01NOT_LOW_BATTERY (0)
LOW_BATTERY (1)
CarbonDioxideLevel93floatPR+EV0100000
CarbonDioxidePeakLevel94floatPR+EV0100000

CarbonMonoxideSensor (7F)
CharacteristicUUIDFormatPermsMinMaxValues
CarbonMonoxideDetected *69uint8PR+EV01NORMAL (0)
ABNORMAL (1)
Name23stringPR
StatusActive75boolPR+EV01
StatusFault77uint8PR+EV01NO_FAULT (0)
FAULT (1)
StatusTampered7Auint8PR+EV01NOT_TAMPERED (0)
TAMPERED (1)
StatusLowBattery79uint8PR+EV01NOT_LOW_BATTERY (0)
LOW_BATTERY (1)
CarbonMonoxideLevel90floatPR+EV0100
CarbonMonoxidePeakLevel91floatPR+EV0100

ContactSensor (80)
CharacteristicUUIDFormatPermsMinMaxValues
ContactSensorState *6Auint8PR+EV01DETECTED (0)
NOT_DETECTED (1)
Name23stringPR
StatusActive75boolPR+EV01
StatusFault77uint8PR+EV01NO_FAULT (0)
FAULT (1)
StatusTampered7Auint8PR+EV01NOT_TAMPERED (0)
TAMPERED (1)
StatusLowBattery79uint8PR+EV01NOT_LOW_BATTERY (0)
LOW_BATTERY (1)

Door (81)
CharacteristicUUIDFormatPermsMinMaxValues
CurrentPosition *6Duint8PR+EV0100
TargetPosition *7Cuint8PW+PR+EV0100
PositionState *72uint8PR+EV02GOING_TO_MINIMUM (0)
GOING_TO_MAXIMUM (1)
STOPPED (2)
Name23stringPR
HoldPosition6FboolPW01
ObstructionDetected24boolPR+EV01

Doorbell (121)
CharacteristicUUIDFormatPermsMinMaxValues
ProgrammableSwitchEvent *73uint8PR+EV+NV02SINGLE_PRESS (0)
DOUBLE_PRESS (1)
LONG_PRESS (2)
Name23stringPR
Volume119uint8PW+PR+EV0100
Brightness8intPR+PW+EV0100

Fan (B7)
CharacteristicUUIDFormatPermsMinMaxValues
Active *B0uint8PW+PR+EV01INACTIVE (0)
ACTIVE (1)
Name23stringPR
CurrentFanStateAFuint8PR+EV02INACTIVE (0)
IDLE (1)
BLOWING (2)
TargetFanStateBFuint8PW+PR+EV01MANUAL (0)
AUTO (1)
RotationDirection28intPR+PW+EV01CLOCKWISE (0)
COUNTERCLOCKWISE (1)
RotationSpeed29floatPR+PW+EV0100
SwingModeB6uint8PR+EV+PW01SWING_DISABLED (0)
SWING_ENABLED (1)
LockPhysicalControlsA7uint8PW+PR+EV01CONTROL_LOCK_DISABLED (0)
CONTROL_LOCK_ENABLED (1)

Faucet (D7)
CharacteristicUUIDFormatPermsMinMaxValues
Active *B0uint8PW+PR+EV01INACTIVE (0)
ACTIVE (1)
StatusFault77uint8PR+EV01NO_FAULT (0)
FAULT (1)
Name23stringPR

FilterMaintenance (BA)
CharacteristicUUIDFormatPermsMinMaxValues
FilterChangeIndication *ACuint8PR+EV01NO_CHANGE_NEEDED (0)
CHANGE_NEEDED (1)
Name23stringPR
FilterLifeLevelABfloatPR+EV0100
ResetFilterIndicationADuint8PW11

GarageDoorOpener (41)
CharacteristicUUIDFormatPermsMinMaxValues
CurrentDoorState *Euint8PR+EV04OPEN (0)
CLOSED (1)
OPENING (2)
CLOSING (3)
STOPPED (4)
TargetDoorState *32uint8PW+PR+EV01OPEN (0)
CLOSED (1)
ObstructionDetected *24boolPR+EV01
LockCurrentState1Duint8PR+EV03UNLOCKED (0)
LOCKED (1)
JAMMED (2)
UNKNOWN (3)
LockTargetState1Euint8PW+PR+EV01UNLOCK (0)
LOCK (1)
Name23stringPR

HAPProtocolInformation (A2)
CharacteristicUUIDFormatPermsMinMaxValues
Version *37stringPR

HeaterCooler (BC)
CharacteristicUUIDFormatPermsMinMaxValues
Active *B0uint8PW+PR+EV01INACTIVE (0)
ACTIVE (1)
CurrentTemperature *11floatPR+EV0100
CurrentHeaterCoolerState *B1uint8PR+EV03INACTIVE (0)
IDLE (1)
HEATING (2)
COOLING (3)
TargetHeaterCoolerState *B2uint8PW+PR+EV02AUTO (0)
HEAT (1)
COOL (2)
Name23stringPR
RotationSpeed29floatPR+PW+EV0100
TemperatureDisplayUnits36uint8PW+PR+EV01CELSIUS (0)
FAHRENHEIT (1)
SwingModeB6uint8PR+EV+PW01SWING_DISABLED (0)
SWING_ENABLED (1)
CoolingThresholdTemperatureDfloatPR+PW+EV1035
HeatingThresholdTemperature12floatPR+PW+EV025
LockPhysicalControlsA7uint8PW+PR+EV01CONTROL_LOCK_DISABLED (0)
CONTROL_LOCK_ENABLED (1)

HumidifierDehumidifier (BD)
CharacteristicUUIDFormatPermsMinMaxValues
Active *B0uint8PW+PR+EV01INACTIVE (0)
ACTIVE (1)
CurrentRelativeHumidity *10floatPR+EV0100
CurrentHumidifierDehumidifierState *B3uint8PR+EV03INACTIVE (0)
IDLE (1)
HUMIDIFYING (2)
DEHUMIDIFYING (3)
TargetHumidifierDehumidifierState *B4uint8PW+PR+EV02AUTO (0)
HUMIDIFY (1)
DEHUMIDIFY (2)
Name23stringPR
RelativeHumidityDehumidifierThresholdC9floatPR+PW+EV0100
RelativeHumidityHumidifierThresholdCAfloatPR+PW+EV0100
RotationSpeed29floatPR+PW+EV0100
SwingModeB6uint8PR+EV+PW01SWING_DISABLED (0)
SWING_ENABLED (1)
WaterLevelB5floatPR+EV0100
LockPhysicalControlsA7uint8PW+PR+EV01CONTROL_LOCK_DISABLED (0)
CONTROL_LOCK_ENABLED (1)

HumiditySensor (82)
CharacteristicUUIDFormatPermsMinMaxValues
CurrentRelativeHumidity *10floatPR+EV0100
Name23stringPR
StatusActive75boolPR+EV01
StatusFault77uint8PR+EV01NO_FAULT (0)
FAULT (1)
StatusTampered7Auint8PR+EV01NOT_TAMPERED (0)
TAMPERED (1)
StatusLowBattery79uint8PR+EV01NOT_LOW_BATTERY (0)
LOW_BATTERY (1)

InputSource (D9)
CharacteristicUUIDFormatPermsMinMaxValues
ConfiguredNameE3stringPW+PR+EV
IsConfiguredD6uint8PR+EV01NOT_CONFIGURED (0)
CONFIGURED (1)
Identifier *E6uint32PR0255
CurrentVisibilityState135uint8PR+EV01
TargetVisibilityState134uint8PW+PR+EV01

IrrigationSystem (CF)
CharacteristicUUIDFormatPermsMinMaxValues
Active *B0uint8PW+PR+EV01INACTIVE (0)
ACTIVE (1)
ProgramMode *D1uint8PR+EV02NONE (0)
SCHEDULED (1)
SCHEDULE_OVERRIDEN (2)
InUse *D2uint8PR+EV01NOT_IN_USE (0)
IN_USE (1)
RemainingDurationD4uint32PR+EV03600
StatusFault77uint8PR+EV01NO_FAULT (0)
FAULT (1)

LeakSensor (83)
CharacteristicUUIDFormatPermsMinMaxValues
LeakDetected *70uint8PR+EV01NOT_DETECTED (0)
DETECTED (1)
Name23stringPR
StatusActive75boolPR+EV01
StatusFault77uint8PR+EV01NO_FAULT (0)
FAULT (1)
StatusTampered7Auint8PR+EV01NOT_TAMPERED (0)
TAMPERED (1)
StatusLowBattery79uint8PR+EV01NOT_LOW_BATTERY (0)
LOW_BATTERY (1)

LightBulb (43)
CharacteristicUUIDFormatPermsMinMaxValues
On *25boolPR+PW+EV01
Brightness8intPR+PW+EV0100
Hue13floatPR+PW+EV0360
Name23stringPR
Saturation2FfloatPR+PW+EV0100
ColorTemperatureCEuint32PR+PW+EV140500

LightSensor (84)
CharacteristicUUIDFormatPermsMinMaxValues
CurrentAmbientLightLevel *6BfloatPR+EV0.0001100000
Name23stringPR
StatusActive75boolPR+EV01
StatusFault77uint8PR+EV01NO_FAULT (0)
FAULT (1)
StatusTampered7Auint8PR+EV01NOT_TAMPERED (0)
TAMPERED (1)
StatusLowBattery79uint8PR+EV01NOT_LOW_BATTERY (0)
LOW_BATTERY (1)

LockMechanism (45)
CharacteristicUUIDFormatPermsMinMaxValues
LockCurrentState *1Duint8PR+EV03UNLOCKED (0)
LOCKED (1)
JAMMED (2)
UNKNOWN (3)
LockTargetState *1Euint8PW+PR+EV01UNLOCK (0)
LOCK (1)
Name23stringPR

Microphone (112)
CharacteristicUUIDFormatPermsMinMaxValues
Mute *11AboolPW+PR+EV01OFF (0)
ON (1)
Name23stringPR
Volume119uint8PW+PR+EV0100

MotionSensor (85)
CharacteristicUUIDFormatPermsMinMaxValues
MotionDetected *22boolPR+EV01
Name23stringPR
StatusActive75boolPR+EV01
StatusFault77uint8PR+EV01NO_FAULT (0)
FAULT (1)
StatusTampered7Auint8PR+EV01NOT_TAMPERED (0)
TAMPERED (1)
StatusLowBattery79uint8PR+EV01NOT_LOW_BATTERY (0)
LOW_BATTERY (1)

OccupancySensor (86)
CharacteristicUUIDFormatPermsMinMaxValues
OccupancyDetected *71uint8PR+EV01NOT_DETECTED (0)
DETECTED (1)
Name23stringPR
StatusActive75boolPR+EV01
StatusFault77uint8PR+EV01NO_FAULT (0)
FAULT (1)
StatusTampered7Auint8PR+EV01NOT_TAMPERED (0)
TAMPERED (1)
StatusLowBattery79uint8PR+EV01NOT_LOW_BATTERY (0)
LOW_BATTERY (1)

Outlet (47)
CharacteristicUUIDFormatPermsMinMaxValues
On *25boolPR+PW+EV01
OutletInUse *26boolPR+EV01
Name23stringPR

SecuritySystem (7E)
CharacteristicUUIDFormatPermsMinMaxValues
SecuritySystemCurrentState *66uint8PR+EV04ARMED_STAY (0)
ARMED_AWAY (1)
ARMED_NIGHT (2)
DISARMED (3)
ALARM_TRIGGERED (4)
SecuritySystemTargetState *67uint8PW+PR+EV03ARM_STAY (0)
ARM_AWAY (1)
ARM_NIGHT (2)
DISARM (3)
Name23stringPR
SecuritySystemAlarmType8Euint8PR+EV01KNOWN (0)
UNKNOWN (1)
StatusFault77uint8PR+EV01NO_FAULT (0)
FAULT (1)
StatusTampered7Auint8PR+EV01NOT_TAMPERED (0)
TAMPERED (1)

ServiceLabel (CC)
CharacteristicUUIDFormatPermsMinMaxValues
ServiceLabelNamespace *CDuint8PR01DOTS (0)
NUMERALS (1)

Slat (B9)
CharacteristicUUIDFormatPermsMinMaxValues
CurrentSlatState *AAuint8PR+EV02FIXED (0)
JAMMED (1)
SWINGING (2)
SlatType *C0uint8PR01HORIZONTAL (0)
VERTICAL (1)
Name23stringPR
SwingModeB6uint8PR+EV+PW01SWING_DISABLED (0)
SWING_ENABLED (1)
CurrentTiltAngleC1intPR+EV-9090
TargetTiltAngleC2intPW+PR+EV-9090

SmokeSensor (87)
CharacteristicUUIDFormatPermsMinMaxValues
SmokeDetected *76uint8PR+EV01NOT_DETECTED (0)
DETECTED (1)
Name23stringPR
StatusActive75boolPR+EV01
StatusFault77uint8PR+EV01NO_FAULT (0)
FAULT (1)
StatusTampered7Auint8PR+EV01NOT_TAMPERED (0)
TAMPERED (1)
StatusLowBattery79uint8PR+EV01NOT_LOW_BATTERY (0)
LOW_BATTERY (1)

Speaker (113)
CharacteristicUUIDFormatPermsMinMaxValues
Mute *11AboolPW+PR+EV01OFF (0)
ON (1)
Name23stringPR
Volume119uint8PW+PR+EV0100

StatelessProgrammableSwitch (89)
CharacteristicUUIDFormatPermsMinMaxValues
ProgrammableSwitchEvent *73uint8PR+EV+NV02SINGLE_PRESS (0)
DOUBLE_PRESS (1)
LONG_PRESS (2)
Name23stringPR
ServiceLabelIndexCBuint8PR1255

Switch (49)
CharacteristicUUIDFormatPermsMinMaxValues
On *25boolPR+PW+EV01
Name23stringPR

Television (D8)
CharacteristicUUIDFormatPermsMinMaxValues
Active *B0uint8PW+PR+EV01INACTIVE (0)
ACTIVE (1)
ConfiguredNameE3stringPW+PR+EV
ActiveIdentifierE7uint32PW+PR+EV0255
RemoteKeyE1uint8PW016
PowerModeSelectionDFuint8PW01

TelevisionSpeaker (113)
CharacteristicUUIDFormatPermsMinMaxValues
VolumeControlType *E9uint8PR+EV03
VolumeSelector *EAuint8PW01

TemperatureSensor (8A)
CharacteristicUUIDFormatPermsMinMaxValues
CurrentTemperature *11floatPR+EV0100
Name23stringPR
StatusActive75boolPR+EV01
StatusFault77uint8PR+EV01NO_FAULT (0)
FAULT (1)
StatusTampered7Auint8PR+EV01NOT_TAMPERED (0)
TAMPERED (1)
StatusLowBattery79uint8PR+EV01NOT_LOW_BATTERY (0)
LOW_BATTERY (1)

Thermostat (4A)
CharacteristicUUIDFormatPermsMinMaxValues
CurrentHeatingCoolingState *Fuint8PR+EV02OFF (0)
HEATING (1)
COOLING (2)
TargetHeatingCoolingState *33uint8PW+PR+EV03OFF (0)
HEAT (1)
COOL (2)
AUTO (3)
CurrentTemperature *11floatPR+EV0100
TargetTemperature *35floatPW+PR+EV1038
TemperatureDisplayUnits *36uint8PW+PR+EV01CELSIUS (0)
FAHRENHEIT (1)
CoolingThresholdTemperatureDfloatPR+PW+EV1035
CurrentRelativeHumidity10floatPR+EV0100
HeatingThresholdTemperature12floatPR+PW+EV025
Name23stringPR
TargetRelativeHumidity34floatPW+PR+EV0100

Valve (D0)
CharacteristicUUIDFormatPermsMinMaxValues
Active *B0uint8PW+PR+EV01INACTIVE (0)
ACTIVE (1)
InUse *D2uint8PR+EV01NOT_IN_USE (0)
IN_USE (1)
ValveType *D5uint8PR+EV03
SetDurationD3uint32PW+PR+EV03600
RemainingDurationD4uint32PR+EV03600
IsConfiguredD6uint8PR+EV01NOT_CONFIGURED (0)
CONFIGURED (1)
ServiceLabelIndexCBuint8PR1255
StatusFault77uint8PR+EV01NO_FAULT (0)
FAULT (1)
Name23stringPR

Window (8B)
CharacteristicUUIDFormatPermsMinMaxValues
CurrentPosition *6Duint8PR+EV0100
TargetPosition *7Cuint8PW+PR+EV0100
PositionState *72uint8PR+EV02GOING_TO_MINIMUM (0)
GOING_TO_MAXIMUM (1)
STOPPED (2)
Name23stringPR
HoldPosition6FboolPW01
ObstructionDetected24boolPR+EV01

WindowCovering (8C)
CharacteristicUUIDFormatPermsMinMaxValues
TargetPosition *7Cuint8PW+PR+EV0100
CurrentPosition *6Duint8PR+EV0100
PositionState *72uint8PR+EV02GOING_TO_MINIMUM (0)
GOING_TO_MAXIMUM (1)
STOPPED (2)
Name23stringPR
HoldPosition6FboolPW01
CurrentHorizontalTiltAngle6CintPR+EV-9090
TargetHorizontalTiltAngle7BintPW+PR+EV-9090
CurrentVerticalTiltAngle6EintPR+EV-9090
TargetVerticalTiltAngle7DintPW+PR+EV-9090
ObstructionDetected24boolPR+EV01