Grizzly.ZWave.CommandClasses.DoorLock (grizzly v0.19.1) View Source

DoorLock Command Class

This command class provides commands that are used to operate and configure door lock devices

Link to this section Summary

Link to this section Types

Specs

door_components() :: :bolt | :latch | :door

Specs

mode() ::
  :unsecured
  | :unsecured_with_timeout
  | :unsecured_inside_door_handles
  | :unsecured_inside_door_handles_with_timeout
  | :unsecured_outside_door_handles
  | :unsecured_outside_door_handles_with_timeout
  | :secured
  | :unknown

Specs

operation_type() :: :constant_operation | :timed_operation

Link to this section Functions

Link to this function

door_handles_from_bitmask(byte)

View Source
Link to this function

door_handles_to_bitmask(handles)

View Source

Specs

mode_from_byte(byte()) ::
  {:ok, mode()} | {:error, Grizzly.ZWave.DecodeError.t()}

Specs

mode_to_byte(mode()) :: byte()
Link to this function

operation_type_from_byte(byte)

View Source
Link to this function

operation_type_to_byte(atom)

View Source
Link to this function

to_minutes_and_seconds(seconds)

View Source