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

HMServiceTypeLightbulb

A light bulb service.

HMServiceTypeLightSensor

A light sensor service.

Power and Switches

HMServiceTypeSwitch

A switch service.

HMServiceTypeBattery

A battery service.

HMServiceTypeOutlet

An outlet service.

HMServiceTypeStatefulProgrammableSwitch

A stateful programmable switch service.

HMServiceTypeStatelessProgrammableSwitch

A stateless programmable switch service.

Air Quality and Smoke Detection

HMServiceTypeAirPurifier

An air purifier service.

HMServiceTypeAirQualitySensor

An air quality sensor service.

HMServiceTypeCarbonDioxideSensor

A carbon dioxide sensor service.

HMServiceTypeCarbonMonoxideSensor

A carbon monoxide sensor service.

HMServiceTypeSmokeSensor

A smoke sensor service.

Temperature and Humidity

HMServiceTypeHeaterCooler

A heater or cooler service.

HMServiceTypeTemperatureSensor

A temperature sensor service.

HMServiceTypeThermostat

A thermostat service.

HMServiceTypeFan

A fan service.

HMServiceTypeFilterMaintenance

A filter maintenance service.

HMServiceTypeHumidifierDehumidifier

A humidifier or dehumidifier service.

HMServiceTypeHumiditySensor

A humidity sensor service.

HMServiceTypeVentilationFan

A ventilation fan service.

Windows

HMServiceTypeWindow

A window service.

HMServiceTypeWindowCovering

A window covering service.

HMServiceTypeSlats

A slats service.

Water

HMServiceTypeFaucet

A faucet service.

HMServiceTypeValve

A valve service.

HMServiceTypeIrrigationSystem

An irrigation system service.

HMServiceTypeLeakSensor

A leak sensor service.

Locks and Openers

HMServiceTypeDoor

A door service.

HMServiceTypeDoorbell

A doorbell service.

HMServiceTypeGarageDoorOpener

A garage door opener service.

HMServiceTypeLockManagement

A lock management service.

HMServiceTypeLockMechanism

A lock mechanism service.

Saftey and Security

HMServiceTypeMotionSensor

A motion sensor service.

HMServiceTypeOccupancySensor

An occupancy sensor service.

HMServiceTypeSecuritySystem

A security system service.

HMServiceTypeContactSensor

A contact sensor service.

Video and Audio

HMServiceTypeCameraControl

A camera control service.

HMServiceTypeCameraRTPStreamManagement

A stream management service.

HMServiceTypeMicrophone

A microphone service.

HMServiceTypeSpeaker

An audio speaker service.

Information

HMServiceTypeLabel

A label namespace service used when an accessory supports multiple services of the same type.

HMServiceTypeAccessoryInformation

An accessory information service.

See Also

Getting the Service Type

serviceType

The type of the service.

localizedDescription

The localized description of the service.