Grizzly.ZWave.CommandClasses.BarrierOperator (grizzly v1.0.0) View Source
"BarrierOperator" Command Class
The Barrier Operator Command Class is used to control and query the status of motorized barriers.
Link to this section Summary
Functions
Converts subsystems into a bytes
Link to this section Types
Specs
state() :: :closed | 1..99 | :closing | :stopped | :opening | :open
Specs
subsystem_state() :: :on | :off
Specs
subsystem_type() :: :audible_notification | :visual_notification
Specs
target_value() :: :open | :close
Link to this section Functions
Specs
state_from_byte(byte()) :: {:error, Grizzly.ZWave.DecodeError.t()} | {:ok, state()}
Specs
Specs
subsystem_state_from_byte(byte()) :: {:error, Grizzly.ZWave.DecodeError.t()} | {:ok, subsystem_state()}
Specs
subsystem_state_to_byte(:off | :on) :: 0 | 255
Specs
subsystem_type_from_byte(any()) :: {:error, Grizzly.ZWave.DecodeError.t()} | {:ok, subsystem_type()}
Specs
subsystem_type_to_byte(:audible_notification | :visual_notification) :: 1 | 2
Specs
subsystem_types_to_bitmask([subsystem_type()]) :: byte()
Converts subsystems into a bytes
Specs
target_value_from_byte(byte()) :: {:error, Grizzly.ZWave.DecodeError.t()} | {:ok, :close | :open}
Specs
target_value_to_byte(:close | :open) :: 0 | 255