struct ZoneTriggerControlStructSettings for controlling zone triggers.
-
Unique ZoneID of the zone.
Declaration
Swift
let zoneID: UInt16 -
Indicates the initial duration in seconds after triggering activity is first detected before the Node could generate a
ZoneStoppedevent.Declaration
Swift
let initialDuration: UInt32 -
Indicates the duration in seconds that the
TriggerDetectedDurationvalue is to be extended by if the triggering activity is still detected during this period.Declaration
Swift
let augmentationDuration: UInt32 -
Indicates the maximum duration in seconds after the initial triggering activity detection that additional triggering activity will be detected.
Declaration
Swift
let maxDuration: UInt32 -
Indicates the duration in seconds after a
ZoneStoppedevent is generated that the Node shall not generate anyZoneTriggeredevents.Declaration
Swift
let blindDuration: UInt32 -
Indicates the per-zone sensitivity of the underlying zone triggering detection mechanism. The higher the value, the more sensitive the detection.
Declaration
Swift
let sensitivity: UInt8? -
Creates a new Struct instance using data read from the given
TraitDecoder.Throws
HomeError.parseErrorwhen parsing fails.Declaration
Swift
init(decoder: TraitDecoder) throwsParameters
decoderThe raw data representing this Struct.
-
Writes this Struct to the given
TraitEncoder. ThrowsHomeError.parseErrorif the data could not be encoded.Declaration
Swift
func encode(with encoder: TraitEncoder) throws -
Returns the field corresponding to the given field ID.
Declaration
Swift
static func structField(id: UInt32) -> (any Field)?