Page 2 of 2

Re: COMMAND_CLASS_SOUND_SWITCH support

Posted: 27 May 2024 09:11
by MrRusch
seattleneil wrote:
23 May 2024 18:33
A potential work-around is to the "Virtual Device (JavaScript)" app (aka CodeDevice module) to create a multilevel switch, where the
command is something like: zway.devices[ZWAVE_DEVICE_ID].instances[CHANNEL_ID].commandClasses[0x79].Set(8,%%). Please understand that you'll need to determine the correct command to control the tone for a channel which you can do using the Expert UI. The virtual device will appear as a dimmer switch on the smarthome/normal UI where the dimmer level will be the tone. You can then change the icon from a light bulb to something more meaningful.
Yeah I have a similar work-around in place. Was just curious to whether the actual problem had been addressed somehow.

Re: COMMAND_CLASS_SOUND_SWITCH support

Posted: 28 May 2024 20:03
by seattleneil
Based on Z-Wave.me adding products with Zigbee and Matter support, it feels like the Z-Way developers are less focused on Z-Wave technology. I understand they have a business to run, but it makes me a little sad. If I wasn't so lazy, I would experiment with Z-Wave JS UI and Home Assistant.

Re: COMMAND_CLASS_SOUND_SWITCH support

Posted: 07 Aug 2024 15:59
by PoltoS
Missed this thread. Don't you have a button in the UI created for each tone? It should be rendered automatically. This works since 2019.

Re: COMMAND_CLASS_SOUND_SWITCH support

Posted: 22 Sep 2024 19:44
by MrRusch
PoltoS wrote:
07 Aug 2024 15:59
Missed this thread. Don't you have a button in the UI created for each tone? It should be rendered automatically. This works since 2019.
Yes there is a button to trigger each tone. But there is no way to change the default/chosen tone for each channel?

Re: COMMAND_CLASS_SOUND_SWITCH support

Posted: 23 Sep 2024 22:44
by MrRusch
PoltoS wrote:
07 Aug 2024 15:59
Missed this thread. Don't you have a button in the UI created for each tone? It should be rendered automatically. This works since 2019.
To set the default tone of a channel,

Code: Select all

zway.devices[nodeID].instances[X].commandClasses[121].ConfigurationSet(Y,255)
where X is the channel id, for example 2 for the tamper alarm or 3 for the first button;
and Y is the tone (1-30).

To trigger the default tone of a channel,

Code: Select all

zway.devices[nodeID].instances[X].commandClasses[121].TonePlaySet(255,255)
where X is the channel id, for example 2 for the tamper alarm or 3 for the first button.

Both of these are only available through expert commands or ZWaveAPI and are the two of the most useful commands imo.

Re: COMMAND_CLASS_SOUND_SWITCH support

Posted: 14 Feb 2025 03:50
by PoltoS
You can improve it by adding two new vDevs here: https://github.com/Z-Wave-Me/home-autom ... x.js#L4942 or by adding two CodeDevices with the corresponding low level commands behind