HAP.Characteristics.InputEvent (HAP v0.7.0)

Copy Markdown View Source

Definition of the public.hap.characteristic.input-event characteristic

Valid values: 0 ”Single Press” 1 ”Double Press” 2 ”Long Press”

NOTE specification requirement: For IP accessories, the accessory must set the value of Paired Read to null(i.e. ”value” : null) in the attribute database. A read of this characteristic must always return a null value for IP accessories.

The value must only be reported in the events (”ev”) property.

Summary

Functions

event_only()

Callback implementation for HAP.CharacteristicDefinition.event_only/0.

format()

Callback implementation for HAP.CharacteristicDefinition.format/0.

max_value()

Callback implementation for HAP.CharacteristicDefinition.max_value/0.

min_value()

Callback implementation for HAP.CharacteristicDefinition.min_value/0.

perms()

Callback implementation for HAP.CharacteristicDefinition.perms/0.

step_value()

Callback implementation for HAP.CharacteristicDefinition.step_value/0.

type()

Callback implementation for HAP.CharacteristicDefinition.type/0.