SoundSwitch Command Class

I know the SoundSwitch command class was added as part of 2.2.4 but I don't see it in any of the documentation.

Does anybody know what methods/events it uses? Or have any examples of it being used?

Starts on page 562

Thanks. I had originally looked at that but it was difficult translating into HE code.

I have so far queried all the methods in the zwave soundswitch class to get the information. But can't get things like the parameters. I've been hacking at it to get most of it.

However the HE documentation also needs to be updated.

It’s a ZWave command class, not a HE capability; thus you would implement it as you would any other zwave class and there is really nothing to document in HE.

Ok. What is the groovy code to set the volume?

Yea... I need to finish updating that page.. It's a beast to edit ..

hubitat.zwave.commands.soundswitchv1.ConfigurationGet

hubitat.zwave.commands.soundswitchv1.ConfigurationReport
Short defaultToneIdentifier
Short volume

hubitat.zwave.commands.soundswitchv1.ConfigurationSet
Short defaultToneIdentifier
Short volume 

hubitat.zwave.commands.soundswitchv1.ToneInfoGet

hubitat.zwave.commands.soundswitchv1.ToneInfoReport
Short toneIdentifier
Short toneDuration
Short nameLength
String toneName

hubitat.zwave.commands.soundswitchv1.TonePlayGet

hubitat.zwave.commands.soundswitchv1.TonePlayReport
Short toneIdentifier

hubitat.zwave.commands.soundswitchv1.TonePlaySet
Short toneIdentifier

hubitat.zwave.commands.soundswitchv1.TonesNumberGet

hubitat.zwave.commands.soundswitchv1.TonesNumberReport
Short supportedTones
2 Likes
hubitat.zwave.commands.soundswitchv2.ConfigurationGet

hubitat.zwave.commands.soundswitchv2.ConfigurationReport
Short defaultToneIdentifier
Short volume

hubitat.zwave.commands.soundswitchv2.ConfigurationSet
Short defaultToneIdentifier
Short volume 

hubitat.zwave.commands.soundswitchv2.ToneInfoGet

hubitat.zwave.commands.soundswitchv2.ToneInfoReport
Short toneIdentifier
Short toneDuration
Short nameLength
String toneName

hubitat.zwave.commands.soundswitchv2.TonePlayGet

hubitat.zwave.commands.soundswitchv2.TonePlayReport
Short toneIdentifier
Short volume

hubitat.zwave.commands.soundswitchv2.TonePlaySet
Short toneIdentifier
Short volume

hubitat.zwave.commands.soundswitchv2.TonesNumberGet

hubitat.zwave.commands.soundswitchv2.TonesNumberReport
Short supportedTones
2 Likes

Download the Hubitat app