diff --git a/tools/makeServiceList b/tools/makeServiceList index fe60661..cdccc48 100755 --- a/tools/makeServiceList +++ b/tools/makeServiceList @@ -60,7 +60,7 @@ BEGIN { for(i=0;i%s (%s)\n",s,uuid[s]) + printf("
## %s (%s)\n",s,uuid[s]) for(j=0;j" + print "
" } } diff --git a/tools/test.md b/tools/test.md index d9349df..47d9fef 100644 --- a/tools/test.md +++ b/tools/test.md @@ -1,4 +1,4 @@ -AccessoryInformation (3E) +
## AccessoryInformation (3E) REQ:Identify false 0 1 @@ -9,8 +9,8 @@ false 0 1 OPT:SerialNumber OPT:HardwareRevision OPT:AccessoryFlags - -AirPurifier (BB) +
+
## AirPurifier (BB) REQ:Active 0 0 1 INACTIVE @@ -31,8 +31,8 @@ AUTO OPT:RotationSpeed OPT:SwingMode OPT:LockPhysicalControls - -AirQualitySensor (8D) +
+
## AirQualitySensor (8D) REQ:AirQuality 0 0 5 UNKNOWN @@ -53,8 +53,8 @@ POOR OPT:StatusFault OPT:StatusTampered OPT:StatusLowBattery - -BatteryService (96) +
+
## BatteryService (96) REQ:BatteryLevel 0 0 100 @@ -70,8 +70,8 @@ NOT_LOW_BATTERY LOW_BATTERY OPT:Name - -CarbonDioxideSensor (97) +
+
## CarbonDioxideSensor (97) REQ:CarbonDioxideDetected 0 0 1 NORMAL @@ -84,8 +84,8 @@ ABNORMAL OPT:StatusLowBattery OPT:CarbonDioxideLevel OPT:CarbonDioxidePeakLevel - -CarbonMonoxideSensor (7F) +
+
## CarbonMonoxideSensor (7F) REQ:CarbonMonoxideDetected 0 0 1 NORMAL @@ -98,8 +98,8 @@ ABNORMAL OPT:StatusLowBattery OPT:CarbonMonoxideLevel OPT:CarbonMonoxidePeakLevel - -ContactSensor (80) +
+
## ContactSensor (80) REQ:ContactSensorState 1 0 1 DETECTED @@ -110,8 +110,8 @@ NOT_DETECTED OPT:StatusFault OPT:StatusTampered OPT:StatusLowBattery - -Door (81) +
+
## Door (81) REQ:CurrentPosition 0 0 100 @@ -127,8 +127,8 @@ STOPPED OPT:Name OPT:HoldPosition OPT:ObstructionDetected - -Doorbell (121) +
+
## Doorbell (121) REQ:ProgrammableSwitchEvent 0 0 2 SINGLE_PRESS @@ -138,8 +138,8 @@ LONG_PRESS OPT:Name OPT:Volume OPT:Brightness - -Fan (B7) +
+
## Fan (B7) REQ:Active 0 0 1 INACTIVE @@ -152,8 +152,8 @@ ACIVE OPT:RotationSpeed OPT:SwingMode OPT:LockPhysicalControls - -Faucet (D7) +
+
## Faucet (D7) REQ:Active 0 0 1 INACTIVE @@ -161,8 +161,8 @@ ACIVE OPT:StatusFault OPT:Name - -FilterMaintenance (BA) +
+
## FilterMaintenance (BA) REQ:FilterChangeIndication 0 0 1 NO_CHANGE_NEEDED @@ -171,8 +171,8 @@ CHANGE_NEEDED OPT:Name OPT:FilterLifeLevel OPT:ResetFilterIndication - -GarageDoorOpener (41) +
+
## GarageDoorOpener (41) REQ:CurrentDoorState 1 0 4 OPEN @@ -192,12 +192,12 @@ false 0 1 OPT:LockCurrentState OPT:LockTargetState OPT:Name - -HAPProtocolInformation (A2) +
+
## HAPProtocolInformation (A2) REQ:Version - -HeaterCooler (BC) +
+
## HeaterCooler (BC) REQ:Active 0 0 1 INACTIVE @@ -226,8 +226,8 @@ COOL OPT:CoolingThresholdTemperature OPT:HeatingThresholdTemperature OPT:LockPhysicalControls - -HumidifierDehumidifier (BD) +
+
## HumidifierDehumidifier (BD) REQ:Active 0 0 1 INACTIVE @@ -256,8 +256,8 @@ DEHUMIDIFY OPT:SwingMode OPT:WaterLevel OPT:LockPhysicalControls - -HumiditySensor (82) +
+
## HumiditySensor (82) REQ:CurrentRelativeHumidity 0 0 100 @@ -266,8 +266,8 @@ DEHUMIDIFY OPT:StatusFault OPT:StatusTampered OPT:StatusLowBattery - -InputSource (D9) +
+
## InputSource (D9) REQ:Identifier 0 0 255 @@ -275,8 +275,8 @@ DEHUMIDIFY OPT:IsConfigured OPT:CurrentVisibilityState OPT:TargetVisibilityState - -IrrigationSystem (CF) +
+
## IrrigationSystem (CF) REQ:Active 0 0 1 INACTIVE @@ -295,8 +295,8 @@ IN_USE OPT:RemainingDuration OPT:StatusFault - -LeakSensor (83) +
+
## LeakSensor (83) REQ:LeakDetected 0 0 1 NOT_DETECTED @@ -307,8 +307,8 @@ DETECTED OPT:StatusFault OPT:StatusTampered OPT:StatusLowBattery - -LightBulb (43) +
+
## LightBulb (43) REQ:On false 0 1 @@ -317,8 +317,8 @@ false 0 1 OPT:Name OPT:Saturation OPT:ColorTemperature - -LightSensor (84) +
+
## LightSensor (84) REQ:CurrentAmbientLightLevel 1 0.0001 100000 @@ -327,8 +327,8 @@ false 0 1 OPT:StatusFault OPT:StatusTampered OPT:StatusLowBattery - -LockMechanism (45) +
+
## LockMechanism (45) REQ:LockCurrentState 0 0 3 UNLOCKED @@ -342,8 +342,8 @@ UNLOCK LOCK OPT:Name - -Microphone (112) +
+
## Microphone (112) REQ:Mute false 0 1 OFF @@ -351,8 +351,8 @@ ON OPT:Name OPT:Volume - -MotionSensor (85) +
+
## MotionSensor (85) REQ:MotionDetected false 0 1 @@ -361,8 +361,8 @@ false 0 1 OPT:StatusFault OPT:StatusTampered OPT:StatusLowBattery - -OccupancySensor (86) +
+
## OccupancySensor (86) REQ:OccupancyDetected 0 0 1 NOT_DETECTED @@ -373,8 +373,8 @@ DETECTED OPT:StatusFault OPT:StatusTampered OPT:StatusLowBattery - -Outlet (47) +
+
## Outlet (47) REQ:On false 0 1 @@ -382,8 +382,8 @@ false 0 1 false 0 1 OPT:Name - -SecuritySystem (7E) +
+
## SecuritySystem (7E) REQ:SecuritySystemCurrentState 3 0 4 ARMED_STAY @@ -403,15 +403,15 @@ DISARM OPT:SecuritySystemAlarmType OPT:StatusFault OPT:StatusTampered - -ServiceLabel (CC) +
+
## ServiceLabel (CC) REQ:ServiceLabelNamespace 1 0 1 DOTS NUMERALS - -Slat (B9) +
+
## Slat (B9) REQ:CurrentSlatState 0 0 2 FIXED @@ -427,8 +427,8 @@ VERTICAL OPT:SwingMode OPT:CurrentTiltAngle OPT:TargetTiltAngle - -SmokeSensor (87) +
+
## SmokeSensor (87) REQ:SmokeDetected 0 0 1 NOT_DETECTED @@ -439,8 +439,8 @@ DETECTED OPT:StatusFault OPT:StatusTampered OPT:StatusLowBattery - -Speaker (113) +
+
## Speaker (113) REQ:Mute false 0 1 OFF @@ -448,8 +448,8 @@ ON OPT:Name OPT:Volume - -StatelessProgrammableSwitch (89) +
+
## StatelessProgrammableSwitch (89) REQ:ProgrammableSwitchEvent 0 0 2 SINGLE_PRESS @@ -458,14 +458,14 @@ LONG_PRESS OPT:Name OPT:ServiceLabelIndex - -Switch (49) +
+
## Switch (49) REQ:On false 0 1 OPT:Name - -Television (D8) +
+
## Television (D8) REQ:Active 0 0 1 INACTIVE @@ -475,16 +475,16 @@ ACIVE OPT:ActiveIdentifier OPT:RemoteKey OPT:PowerModeSelection - -TelevisionSpeaker (113) +
+
## TelevisionSpeaker (113) REQ:VolumeControlType 0 0 3 REQ:VolumeSelector 0 0 1 - -TemperatureSensor (8A) +
+
## TemperatureSensor (8A) REQ:CurrentTemperature 0 0 100 @@ -493,8 +493,8 @@ ACIVE OPT:StatusFault OPT:StatusTampered OPT:StatusLowBattery - -Thermostat (4A) +
+
## Thermostat (4A) REQ:CurrentHeatingCoolingState 0 0 2 OFF @@ -524,8 +524,8 @@ FAHRENHEIT OPT:HeatingThresholdTemperature OPT:Name OPT:TargetRelativeHumidity - -Valve (D0) +
+
## Valve (D0) REQ:Active 0 0 1 INACTIVE @@ -545,8 +545,8 @@ IN_USE OPT:ServiceLabelIndex OPT:StatusFault OPT:Name - -Window (8B) +
+
## Window (8B) REQ:CurrentPosition 0 0 100 @@ -562,8 +562,8 @@ STOPPED OPT:Name OPT:HoldPosition OPT:ObstructionDetected - -WindowCovering (8C) +
+
## WindowCovering (8C) REQ:TargetPosition 0 0 100 @@ -583,4 +583,4 @@ STOPPED OPT:CurrentVerticalTiltAngle OPT:TargetVerticalTiltAngle OPT:ObstructionDetected - +