Get

class st.zwave.CommandClass.SensorBinary.Get

Dynamically versioned SENSOR_BINARY_GET

Supported versions: 1,2; unique base versions: 1,2

cmd_class: number

0x30

cmd_id: number

0x02

version: number

1,2

args: st.zwave.CommandClass.SensorBinary.GetV1Args or st.zwave.CommandClass.SensorBinary.GetV2Args
construct(module, args)

Construct a SENSOR_BINARY_GET object at the module instance serialization version.

Parameters
  • module (st.zwave.CommandClass.SensorBinary) – command class module instance

  • args (st.zwave.CommandClass.SensorBinary.GetV1Args or st.zwave.CommandClass.SensorBinary.GetV2Args) – command-specific arguments

Return type

st.zwave.CommandClass.SensorBinary.Get

class st.zwave.CommandClass.SensorBinary.GetV1: st.zwave.Command

v1 SENSOR_BINARY_GET

cmd_class: number

0x30

cmd_id: number

0x02

version: number

1

args: st.zwave.CommandClass.SensorBinary.GetV1Args

command-specific arguments

init(module, args)

Initialize a v1 SENSOR_BINARY_GET object.

Parameters
serialize()

Serialize v1 SENSOR_BINARY_GET arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v1 SENSOR_BINARY_GET payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.SensorBinary.GetV1Args

class st.zwave.CommandClass.SensorBinary.GetV1Args
class st.zwave.CommandClass.SensorBinary.GetV2: st.zwave.Command

v2 SENSOR_BINARY_GET

cmd_class: number

0x30

cmd_id: number

0x02

version: number

2

args: st.zwave.CommandClass.SensorBinary.GetV2Args

command-specific arguments

init(module, args)

Initialize a v2 SENSOR_BINARY_GET object.

Parameters
serialize()

Serialize v2 SENSOR_BINARY_GET arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v2 SENSOR_BINARY_GET payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.SensorBinary.GetV2Args

class st.zwave.CommandClass.SensorBinary.GetV2Args
sensor_type: integer

see SensorBinary.sensor_type