WindowCoveringTrait.SafetyStatus

data class WindowCoveringTrait.SafetyStatus


Reflects the state of the safety sensors and the common issues preventing movements.

Summary

Public constructors

SafetyStatus(
    remoteLockout: Boolean,
    tamperDetection: Boolean,
    failedCommunication: Boolean,
    positionFailure: Boolean,
    thermalProtection: Boolean,
    obstacleDetected: Boolean,
    power: Boolean,
    stopInput: Boolean,
    motorJammed: Boolean,
    hardwareFailure: Boolean,
    manualOperation: Boolean,
    protection: Boolean
)

Creates the SafetyStatus data class.

Public functions

open ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

String

Name of the Matter bitmap, in UpperCamelCase, e.g. "OnOffControlBitmap" from OnOff Cluster.

Boolean

Communication failure to sensors or other safety equipment.

Boolean

PCB, fuse and other electrics problems.

Boolean

The actuator is manually operated and is preventing actuator movement (for example, the actuator is disengaged or decoupled).

Boolean

Mechanical problem related to the motor(s) detected.

Boolean

An obstacle is preventing actuator movement.

Boolean

Device failed to reach the desired position.

Boolean

Device has a power-related issue or limitation.

Boolean

Protection is activated.

Boolean

Movement commands are ignored outside some time-and-date range.

Boolean

Local safety sensor is preventing movements (for example Safety EU Standard EN60335).

Boolean

Tampering detected on sensors or other safety equipment.

Boolean

Motor(s) and/or electric circuit thermal protection activated.

String

Trait identifier of the Matter Cluster that defines the bitmap Data Type.

Public constructors

SafetyStatus

SafetyStatus(
    remoteLockout: Boolean = false,
    tamperDetection: Boolean = false,
    failedCommunication: Boolean = false,
    positionFailure: Boolean = false,
    thermalProtection: Boolean = false,
    obstacleDetected: Boolean = false,
    power: Boolean = false,
    stopInput: Boolean = false,
    motorJammed: Boolean = false,
    hardwareFailure: Boolean = false,
    manualOperation: Boolean = false,
    protection: Boolean = false
)

Creates the SafetyStatus data class.

Public functions

toRaw

open fun toRaw(): ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

bitmapName

val bitmapNameString

Name of the Matter bitmap, in UpperCamelCase, e.g. "OnOffControlBitmap" from OnOff Cluster.

failedCommunication

val failedCommunicationBoolean

Communication failure to sensors or other safety equipment.

hardwareFailure

val hardwareFailureBoolean

PCB, fuse and other electrics problems.

manualOperation

val manualOperationBoolean

The actuator is manually operated and is preventing actuator movement (for example, the actuator is disengaged or decoupled).

motorJammed

val motorJammedBoolean

Mechanical problem related to the motor(s) detected.

obstacleDetected

val obstacleDetectedBoolean

An obstacle is preventing actuator movement.

positionFailure

val positionFailureBoolean

Device failed to reach the desired position.

power

val powerBoolean

Device has a power-related issue or limitation.

protection

val protectionBoolean

Protection is activated.

remoteLockout

val remoteLockoutBoolean

Movement commands are ignored outside some time-and-date range.

stopInput

val stopInputBoolean

Local safety sensor is preventing movements (for example Safety EU Standard EN60335).

tamperDetection

val tamperDetectionBoolean

Tampering detected on sensors or other safety equipment.

thermalProtection

val thermalProtectionBoolean

Motor(s) and/or electric circuit thermal protection activated.

traitId

val traitIdString

Trait identifier of the Matter Cluster that defines the bitmap Data Type. Refer to ClusterId.traitId for the format.