zwave-js / certification-backlog

Issues and discussions related to Z-Wave certification of HA + Z-Wave JS
1 stars 0 forks source link

Z-Wave JS: Certification requirements for Sound Switch CC not fulfilled #16

Open marcelveldt opened 1 year ago

marcelveldt commented 1 year ago

The end user MUST be able to play the default tone, play a selected tone or stop playing a tone.

The UI for siren control doesn't seem to allow selecting a specific tone, but it shows a weird dropdown with some attributes: grafik

Diagnostics information

zwave_js-f0926e113c178046d0d249fcdc42964a-Node 65-69bfeb31c9b5eca03be46337ae416f51.json.txt

marcelveldt commented 1 year ago

I believe I once wrote an architecture proposal for the siren platform, based on this Soundswitch CC and only the on/off feature has been implemented so far. Imo we should extend the siren platform as these feature are not unique to Z-Wave but also exist for zigbee/wifi sirens/chimes.

AlCalzone commented 1 month ago

To work around this in the short term, adding a simple dropdown to play a given tone like for the default tone should be enough to fulfill the certification requirements:

Please play tone 'Tone003'!

Image


Oddly enough, stopping the tone playing changes the controls to a toggle - seems unintended?

Image

marcelveldt commented 1 week ago

Fix the "Play Tone" so its always stateless (shows both start and stop) Add select entity to play a specific tone --> on select it will simply play the tone and revert the state of the select entity (or the state is simply always unknown)