Accessory Service Types
The service types supported by HomeKit.
Overview
An HMService instance’s read-only serviceType property contains one of the values listed below to tell you what the service does.
Don’t confuse these values with the accessory categories found in Accessory Category Types. Despite the similarities, they describe different things. Accessories are the physical objects that the user installs in the home, like a garage door opener. Accessories belong to a particular category, like HMAccessoryCategoryTypeGarageDoorOpener.
Accessories have one or more services that perform tasks. The garage door opener accessory has a garage door opener service with service type HMServiceTypeGarageDoorOpener, given below. The same accessory might also have an attached light providing a light bulb service with service type HMServiceTypeLightbulb, also given below.
Topics
Light
Power and Switches
HMServiceTypeSwitchHMServiceTypeBatteryHMServiceTypeOutletHMServiceTypeStatefulProgrammableSwitchHMServiceTypeStatelessProgrammableSwitch
Air Quality and Smoke Detection
HMServiceTypeAirPurifierHMServiceTypeAirQualitySensorHMServiceTypeCarbonDioxideSensorHMServiceTypeCarbonMonoxideSensorHMServiceTypeSmokeSensor
Temperature and Humidity
HMServiceTypeHeaterCoolerHMServiceTypeTemperatureSensorHMServiceTypeThermostatHMServiceTypeFanHMServiceTypeFilterMaintenanceHMServiceTypeHumidifierDehumidifierHMServiceTypeHumiditySensorHMServiceTypeVentilationFan
Windows
Water
Locks and Openers
HMServiceTypeDoorHMServiceTypeDoorbellHMServiceTypeGarageDoorOpenerHMServiceTypeLockManagementHMServiceTypeLockMechanism
Safety and Security
HMServiceTypeMotionSensorHMServiceTypeOccupancySensorHMServiceTypeSecuritySystemHMServiceTypeContactSensor
Video and Audio
HMServiceTypeCameraControlHMServiceTypeCameraRTPStreamManagementHMServiceTypeMicrophoneHMServiceTypeSpeakerHMServiceTypeInputSourceHMServiceTypeTelevision