enum
Matter::Cluster::Definitions::DoorLock::OperatingMode
Overview
The OperatingMode enumeration shall indicate the lock operating mode.
The table below shows the operating mode and which interfaces are enabled, if supported, for each mode.
Note: For modes that disable the remote interface, the door lock shall respond to Lock, Unlock, Toggle, and Unlock with Timeout commands with a response status Failure and not take the action requested by those commands. The door lock shall NOT disable the radio or otherwise unbind or leave the network. It shall still respond to all other commands and requests.
Defined in:
matter/cluster/definitions/door_lock.crEnum Members
-
Normal =
0_u8 -
The lock operates normally. All interfaces are enabled.
-
Vacation =
1_u8 -
Only remote interaction is enabled. The keypad shall only be operable by the master user.
-
Privacy =
2_u8 -
This mode is only possible if the door is locked. Manual unlocking changes the mode to Normal operating mode. All external interaction with the door lock is disabled. This mode is intended to be used so that users, presumably inside the property, will have control over the entrance.
-
NoRemoteLockUnlock =
3_u8 -
This mode only disables remote interaction with the lock. This does not apply to any remote proprietary means of communication. It specifically applies to the Lock, Unlock, Toggle, and Unlock with Timeout Commands.
-
Passage =
4_u8 -
The lock is open or can be opened or closed at will without the use of a Keypad or other means of user validation (e.g. a lock for a business during work hours).
Instance Method Summary
-
#no_remote_lock_unlock?
Returns
trueif this enum value equalsNoRemoteLockUnlock -
#normal?
Returns
trueif this enum value equalsNormal -
#passage?
Returns
trueif this enum value equalsPassage -
#privacy?
Returns
trueif this enum value equalsPrivacy -
#vacation?
Returns
trueif this enum value equalsVacation