Get

class st.zwave.CommandClass.SensorMultilevel.Get

Dynamically versioned SENSOR_MULTILEVEL_GET

Supported versions: 1,2,3,4,5,6,7,8,9,10,11; unique base versions: 1,5

cmd_class: number

0x31

cmd_id: number

0x04

version: number

1,5

args: st.zwave.CommandClass.SensorMultilevel.GetV1Args or st.zwave.CommandClass.SensorMultilevel.GetV5Args
construct(module, args)

Construct a SENSOR_MULTILEVEL_GET object at the module instance serialization version.

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

  • args (st.zwave.CommandClass.SensorMultilevel.GetV1Args or st.zwave.CommandClass.SensorMultilevel.GetV5Args) – command-specific arguments

Return type

st.zwave.CommandClass.SensorMultilevel.Get

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

v1 and forward-compatible v2,v3,v4 SENSOR_MULTILEVEL_GET

cmd_class: number

0x31

cmd_id: number

0x04

version: number

1

args: st.zwave.CommandClass.SensorMultilevel.GetV1Args

command-specific arguments

init(module, args)

Initialize a v1 and forward-compatible v2,v3,v4 SENSOR_MULTILEVEL_GET object.

Parameters
serialize()

Serialize v1 or forward-compatible v2,v3,v4 SENSOR_MULTILEVEL_GET arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v1 or forward-compatible v2,v3,v4 SENSOR_MULTILEVEL_GET payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.SensorMultilevel.GetV1Args

class st.zwave.CommandClass.SensorMultilevel.GetV1Args
class st.zwave.CommandClass.SensorMultilevel.GetV5: st.zwave.Command

v5 and forward-compatible v6,v7,v8,v9,v10,v11 SENSOR_MULTILEVEL_GET

cmd_class: number

0x31

cmd_id: number

0x04

version: number

5

args: st.zwave.CommandClass.SensorMultilevel.GetV5Args

command-specific arguments

init(module, args)

Initialize a v5 and forward-compatible v6,v7,v8,v9,v10,v11 SENSOR_MULTILEVEL_GET object.

Parameters
serialize()

Serialize v5 or forward-compatible v6,v7,v8,v9,v10,v11 SENSOR_MULTILEVEL_GET arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v5 or forward-compatible v6,v7,v8,v9,v10,v11 SENSOR_MULTILEVEL_GET payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.SensorMultilevel.GetV5Args

class st.zwave.CommandClass.SensorMultilevel.GetV5Args
sensor_type: integer

see SensorMultilevel.sensor_type

scale: integer

see SensorMultilevel.scale