diff --git a/tools/makeServiceList b/tools/makeServiceList index b03d39e..cdc5959 100755 --- a/tools/makeServiceList +++ b/tools/makeServiceList @@ -38,7 +38,6 @@ BEGIN { for(i=0;i2 COM: measured in Lux (lumens/m2 - CREATE_CHAR(int,CurrentHorizontalTiltAngle,0,-90,90); // current angle (in degrees) of slats from fully up (-90) to fully open (0) to fully down (90) COM: current angle (in degrees) of slats from fully up (-90) to fully open (0) to fully down (90) - CREATE_CHAR(uint8_t,CurrentAirPurifierState,1,0,2,INACTIVE,IDLE,PURIFYING); // indicates current state of air purification COM: indicates current state of air purification - CREATE_CHAR(uint8_t,CurrentSlatState,0,0,2,FIXED,JAMMED,SWINGING); // indicates current state of slats COM: indicates current state of slats - CREATE_CHAR(uint8_t,CurrentPosition,0,0,100); // current position (as a percentage) from fully closed (0) to full open (100) COM: current position (as a percentage) from fully closed (0) to full open (100) - CREATE_CHAR(int,CurrentVerticalTiltAngle,0,-90,90); // current angle (in degrees) of slats from fully left (-90) to fully open (0) to fully right (90) COM: current angle (in degrees) of slats from fully left (-90) to fully open (0) to fully right (90) - CREATE_CHAR(uint8_t,CurrentVisibilityState,0,0,1); COM: - CREATE_CHAR(uint8_t,CurrentHumidifierDehumidifierState,1,0,3,INACTIVE,IDLE,HUMIDIFYING,DEHUMIDIFYING); // indicates current state of humidifier/dehumidifer COM: indicates current state of humidifier/dehumidifer - CREATE_CHAR(uint8_t,CurrentDoorState,1,0,4,OPEN,CLOSED,OPENING,CLOSING,STOPPED); // indicates current state of a door COM: indicates current state of a door - CREATE_CHAR(uint8_t,CurrentFanState,1,0,2,INACTIVE,IDLE,BLOWING); // indicates current state of a fan COM: indicates current state of a fan - CREATE_CHAR(uint8_t,CurrentHeatingCoolingState,0,0,2,IDLE,HEATING,COOLING); // indicates whether appliance is currently heating, cooling, or just idle COM: indicates whether appliance is currently heating, cooling, or just idle - CREATE_CHAR(uint8_t,CurrentHeaterCoolerState,1,0,3,INACTIVE,IDLE,HEATING,COOLING); // indicates whether appliance is currently heating, cooling, idle, or off COM: indicates whether appliance is currently heating, cooling, idle, or off - CREATE_CHAR(uint8_t,CurrentMediaState,0,0,5); COM: - CREATE_CHAR(double,CurrentRelativeHumidity,0,0,100); //current humidity measured as a percentage COM: current humidity measured as a percentage - CREATE_CHAR(double,CurrentTemperature,0,0,100); // current temperature measured in Celsius COM: current temperature measured in Celsius - CREATE_CHAR(int,CurrentTiltAngle,0,-90,90); // angle (in degrees) of slats from fully up or left (-90) to fully open (0) to fully down or right (90) COM: angle (in degrees) of slats from fully up or left (-90) to fully open (0) to fully down or right (90) - CREATE_CHAR(double,FilterLifeLevel,0,0,100); // measures as a percentage of remaining life COM: measures as a percentage of remaining life - CREATE_CHAR(uint8_t,FilterChangeIndication,0,0,1,NO_CHANGE_NEEDED,CHANGE_NEEDED); // indicates state of filter COM: indicates state of filter - CREATE_CHAR(const char *,FirmwareRevision,"1.0.0",0,1); // must be in form x[.y[.z]] - informational only COM: must be in form x[.y[.z]] - informational only - CREATE_CHAR(const char *,HardwareRevision,"1.0.0",0,1); // must be in form x[.y[.z]] - informational only COM: must be in form x[.y[.z]] - informational only - CREATE_CHAR(double,HeatingThresholdTemperature,16,0,25); // heating turns on when temperature (in Celsius) falls below this threshold COM: heating turns on when temperature (in Celsius) falls below this threshold - CREATE_CHAR(boolean,HoldPosition,false,0,1); // deprecated COM: deprecated - CREATE_CHAR(double,Hue,0,0,360); // color (in degrees) from red (0) to green (120) to blue (240) and back to red (360) COM: color (in degrees) from red (0) to green (120) to blue (240) and back to red (360) - CREATE_CHAR(boolean,Identify,false,0,1,IDLE,RUN_ID); // the Home App set this to RUN_ID when it wants the device to run its identification routine COM: the Home App set this to RUN_ID when it wants the device to run its identification routine - CREATE_CHAR(uint32_t,Identifier,0,0,255); COM: - CREATE_CHAR(uint8_t,InputDeviceType,0,0,6); COM: - CREATE_CHAR(uint8_t,InputSourceType,0,0,10); COM: - CREATE_CHAR(uint8_t,InUse,0,0,1,NOT_IN_USE,IN_USE); // if Service is set to active, this indictes whether it is currently in use COM: if Service is set to active, this indictes whether it is currently in use - CREATE_CHAR(uint8_t,IsConfigured,0,0,1,NOT_CONFIGURED,CONFIGURED); // indicates if a predefined Service has been configured COM: indicates if a predefined Service has been configured - CREATE_CHAR(uint8_t,LeakDetected,0,0,1,NOT_DETECTED,DETECTED); // indictates if a leak is detected COM: indictates if a leak is detected - CREATE_CHAR(uint8_t,LockCurrentState,0,0,3,UNLOCKED,LOCKED,JAMMED,UNKNOWN); // indictates state of a lock COM: indictates state of a lock - CREATE_CHAR(uint8_t,LockPhysicalControls,0,0,1,CONTROL_LOCK_DISABLED,CONTROL_LOCK_ENABLED); // indicates if local control lock is enabled COM: indicates if local control lock is enabled - CREATE_CHAR(uint8_t,LockTargetState,0,0,1,UNLOCK,LOCK); // indicates desired state of lock COM: indicates desired state of lock - CREATE_CHAR(const char *,Manufacturer,"HomeSpan",0,1); // any string - informational only COM: any string - informational only - CREATE_CHAR(const char *,Model,"HomeSpan-ESP32",0,1); // any string - informational only COM: any string - informational only - CREATE_CHAR(boolean,MotionDetected,false,0,1,NOT_DETECTED,DETECTED); // indicates if motion is detected COM: indicates if motion is detected - CREATE_CHAR(boolean,Mute,false,0,1,OFF,ON); // not used COM: not used - CREATE_CHAR(const char *,Name,"unnamed",0,1); // default name of a Service used only during initial pairing COM: default name of a Service used only during initial pairing - CREATE_CHAR(double,NitrogenDioxideDensity,0,0,1000); // measured in micrograms/m3 COM: measured in micrograms/m3 - CREATE_CHAR(boolean,ObstructionDetected,false,0,1,NOT_DETECTED,DETECTED); // indicates if obstruction is detected COM: indicates if obstruction is detected - CREATE_CHAR(double,PM25Density,0,0,1000); // 2.5-micron particulate density, measured in micrograms/m3 COM: 2.5-micron particulate density, measured in micrograms/m3 - CREATE_CHAR(uint8_t,OccupancyDetected,0,0,1,NOT_DETECTED,DETECTED); // indicates if occupanccy is detected COM: indicates if occupanccy is detected - CREATE_CHAR(boolean,OutletInUse,false,0,1,NOT_IN_USE,IN_USE); // indicates if an appliance or light is plugged into the outlet, regardless of whether on or off COM: indicates if an appliance or light is plugged into the outlet, regardless of whether on or off - CREATE_CHAR(boolean,On,false,0,1,OFF,ON); // indicates if the Service is active/on COM: indicates if the Service is active/on - CREATE_CHAR(double,OzoneDensity,0,0,1000); // measured in micrograms/m3 COM: measured in micrograms/m3 - CREATE_CHAR(uint8_t,PictureMode,0,0,13); COM: - CREATE_CHAR(double,PM10Density,0,0,1000); // 10-micron particulate density, measured in micrograms/m3 COM: 10-micron particulate density, measured in micrograms/m3 - CREATE_CHAR(uint8_t,PositionState,2,0,2,GOING_TO_MINIMUM,GOING_TO_MAXIMUM,STOPPED); // deprecated COM: deprecated - CREATE_CHAR(uint8_t,PowerModeSelection,0,0,1); COM: - CREATE_CHAR(uint8_t,ProgramMode,0,0,2,NONE,SCHEDULED,SCHEDULE_OVERRIDEN); COM: - CREATE_CHAR(uint8_t,ProgrammableSwitchEvent,0,0,2,SINGLE_PRESS,DOUBLE_PRESS,LONG_PRESS); COM: - CREATE_CHAR(double,RelativeHumidityDehumidifierThreshold,50,0,100); COM: - CREATE_CHAR(double,RelativeHumidityHumidifierThreshold,50,0,100); COM: - CREATE_CHAR(uint32_t,RemainingDuration,60,0,3600); COM: - CREATE_CHAR(uint8_t,RemoteKey,0,0,16); COM: - CREATE_CHAR(uint8_t,ResetFilterIndication,0,1,1); COM: - CREATE_CHAR(int,RotationDirection,0,0,1,CLOCKWISE,COUNTERCLOCKWISE); COM: - CREATE_CHAR(double,RotationSpeed,0,0,100); COM: - CREATE_CHAR(double,Saturation,0,0,100); COM: - CREATE_CHAR(uint8_t,SecuritySystemAlarmType,0,0,1,KNOWN,UNKNOWN); COM: - CREATE_CHAR(uint8_t,SecuritySystemCurrentState,3,0,4,ARMED_STAY,ARMED_AWAY,ARMED_NIGHT,DISARMED,ALARM_TRIGGERED); COM: - CREATE_CHAR(uint8_t,SecuritySystemTargetState,3,0,3,ARM_STAY,ARM_AWAY,ARM_NIGHT,DISARM); COM: - CREATE_CHAR(const char *,SerialNumber,"HS-12345",0,1); COM: - CREATE_CHAR(uint8_t,ServiceLabelIndex,1,1,255); COM: - CREATE_CHAR(uint8_t,ServiceLabelNamespace,1,0,1,DOTS,NUMERALS); COM: - CREATE_CHAR(uint8_t,SlatType,0,0,1,HORIZONTAL,VERTICAL); COM: - CREATE_CHAR(uint8_t,SleepDiscoveryMode,0,0,1); COM: - CREATE_CHAR(uint8_t,SmokeDetected,0,0,1,NOT_DETECTED,DETECTED); COM: - CREATE_CHAR(boolean,StatusActive,true,0,1); COM: - CREATE_CHAR(uint8_t,StatusFault,0,0,1,NO_FAULT,FAULT); COM: - CREATE_CHAR(uint8_t,StatusJammed,0,0,1,NOT_JAMMED,JAMMED); COM: - CREATE_CHAR(uint8_t,StatusLowBattery,0,0,1,NOT_LOW_BATTERY,LOW_BATTERY); COM: - CREATE_CHAR(uint8_t,StatusTampered,0,0,1,NOT_TAMPERED,TAMPERED); COM: - CREATE_CHAR(double,SulphurDioxideDensity,0,0,1000); COM: - CREATE_CHAR(uint8_t,SwingMode,0,0,1,SWING_DISABLED,SWING_ENABLED); COM: - CREATE_CHAR(uint8_t,TargetAirPurifierState,1,0,1,MANUAL,AUTO); COM: - CREATE_CHAR(uint8_t,TargetFanState,1,0,1,MANUAL,AUTO); COM: - CREATE_CHAR(int,TargetTiltAngle,0,-90,90); COM: - CREATE_CHAR(uint8_t,TargetHeaterCoolerState,0,0,2,AUTO,HEAT,COOL); COM: - CREATE_CHAR(uint32_t,SetDuration,60,0,3600); COM: - CREATE_CHAR(int,TargetHorizontalTiltAngle,0,-90,90); COM: - CREATE_CHAR(uint8_t,TargetHumidifierDehumidifierState,0,0,2,AUTO,HUMIDIFY,DEHUMIDIFY); COM: - CREATE_CHAR(uint8_t,TargetPosition,0,0,100); COM: - CREATE_CHAR(uint8_t,TargetDoorState,1,0,1,OPEN,CLOSED); COM: - CREATE_CHAR(uint8_t,TargetHeatingCoolingState,0,0,3,OFF,HEAT,COOL,AUTO); COM: - CREATE_CHAR(uint8_t,TargetMediaState,0,0,2); COM: - CREATE_CHAR(double,TargetRelativeHumidity,0,0,100); COM: - CREATE_CHAR(double,TargetTemperature,16,10,38); COM: - CREATE_CHAR(uint8_t,TargetVisibilityState,0,0,1); COM: - CREATE_CHAR(uint8_t,TemperatureDisplayUnits,0,0,1,CELSIUS,FAHRENHEIT); COM: - CREATE_CHAR(int,TargetVerticalTiltAngle,0,-90,90); COM: - CREATE_CHAR(uint8_t,ValveType,0,0,3); COM: - CREATE_CHAR(const char *,Version,"1.0.0",0,1); COM: - CREATE_CHAR(double,VOCDensity,0,0,1000); COM: - CREATE_CHAR(uint8_t,Volume,0,0,100); COM: - CREATE_CHAR(uint8_t,VolumeControlType,0,0,3); COM: - CREATE_CHAR(uint8_t,VolumeSelector,0,0,1); COM: - CREATE_CHAR(double,WaterLevel,0,0,100); COM: ## AccessoryInformation (3E)
Required Identification Information. For each Accessory in a HomeSpan device this must be included as the first Service.
CharacteristicUUIDFormatPermsMinMaxConstantsNotes