Tone Play Set

class st.zwave.CommandClass.SoundSwitch.TonePlaySet

Dynamically versioned SOUND_SWITCH_TONE_PLAY_SET

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

cmd_class: number

0x79

cmd_id: number

0x08

version: number

1,2

args: st.zwave.CommandClass.SoundSwitch.TonePlaySetV1Args or st.zwave.CommandClass.SoundSwitch.TonePlaySetV2Args
construct(module, args)

Construct a SOUND_SWITCH_TONE_PLAY_SET object at the module instance serialization version.

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

  • args (st.zwave.CommandClass.SoundSwitch.TonePlaySetV1Args or st.zwave.CommandClass.SoundSwitch.TonePlaySetV2Args) – command-specific arguments

Return type

st.zwave.CommandClass.SoundSwitch.TonePlaySet

class st.zwave.CommandClass.SoundSwitch.TonePlaySetV1: st.zwave.Command

v1 SOUND_SWITCH_TONE_PLAY_SET

cmd_class: number

0x79

cmd_id: number

0x08

version: number

1

args: st.zwave.CommandClass.SoundSwitch.TonePlaySetV1Args

command-specific arguments

init(module, args)

Initialize a v1 SOUND_SWITCH_TONE_PLAY_SET object.

Parameters
serialize()

Serialize v1 SOUND_SWITCH_TONE_PLAY_SET arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v1 SOUND_SWITCH_TONE_PLAY_SET payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.SoundSwitch.TonePlaySetV1Args

class st.zwave.CommandClass.SoundSwitch.TonePlaySetV1Args
tone_identifier: integer

[0,255]

class st.zwave.CommandClass.SoundSwitch.TonePlaySetV2: st.zwave.Command

v2 SOUND_SWITCH_TONE_PLAY_SET

cmd_class: number

0x79

cmd_id: number

0x08

version: number

2

args: st.zwave.CommandClass.SoundSwitch.TonePlaySetV2Args

command-specific arguments

init(module, args)

Initialize a v2 SOUND_SWITCH_TONE_PLAY_SET object.

Parameters
serialize()

Serialize v2 SOUND_SWITCH_TONE_PLAY_SET arguments.

Returns

serialized payload

Return type

str

deserialize()

Deserialize a v2 SOUND_SWITCH_TONE_PLAY_SET payload.

Returns

deserialized arguments

Return type

st.zwave.CommandClass.SoundSwitch.TonePlaySetV2Args

class st.zwave.CommandClass.SoundSwitch.TonePlaySetV2Args
tone_identifier: integer

[0,255]

play_command_tone_volume: integer

[0,255]