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