I also managed to get Siren6 somewhat working, though in a manner that’s wholly unsatisfactory.
I don’t have the Aeotec doorbell button, just Siren6. I’ve put it in an association group that gets a basic report from an Ecolink door/window sensor monitoring a classic electro-mechnical doorbell button.
As I understand it (and I don’t), either the basic report is being mapped to trigger a SOUND_SWITCH_TONE_PLAY_REPORT
command internally or the report is tickling the siren’s notification behavior (per sections 4.4 or 4.9.3 in Aeotec’s engineering docs, respectively). In my case, it happens to play a doorbell-esque sound.
However, this is a hack. I don’t know how (and, from what I can tell, assume it’s not possible) to have the ecolink sensor send arbitrary values to play different tones. I also haven’t been able to figure out how to change the tone that gets played or the volume for the various endpoints without proper support for COMMAND_CLASS_SOUND_SWITCH
in homeassistant_pyozw
and HA’s zwave platform. I can’t list the available tones or configure which tone is used for each endpoint without that support, at least directly from HA. Most importantly, I can’t disable the tone for endpoint 2 (tampering) so I can’t even handle the device for testing without earplugs.
I would like for HA to have support for “sound switch” devices similar to zwave.switch
so one can send arbitrary “Sound Switch Tone Play Set” commands with full tone ID and volume parameters at will to the device from HA per section 4.95 in the zwave application command class spec. This support should extend HA’s config/discovery to be aware of the available tones, and expose sound switch endpoints as momentary or toggle switch entities in HA as appropriate.
I don’t think it’s reasonable to make dramatic feature requests of an open-source project without offering to help implement them. I’m a competent developer in python, C, and C++ so I pulled @fishwaldo’s OZW 1.6
, pyozw
and homeassistant_pyozw
, and started digging into HA itself to see
- what (if anything) is missing in OZW 1.6 (which already supports
COMMAND_CLASS_SOUND_SWITCH
and this siren’s specific AV device type
- what needs to be done to support
OZW 1.6
in HA (major parts of which are already underway- I’m on the verge of setting up another zwave network with just the siren and a couple nodes I’m no-longer using on it to test this python_openzwave PR outside of HA)
- and how difficult it would be to add a
zwave.media_player
/zwave.sound
/zwave.sound_switch
platform or extend zwave.switch
to support sound switches.
However, I’m very new to working with zwave at such a low level and do not yet comfortably understand the HA zwave platform code. I also don’t have a lot of free time to work on this. There are a lot of contributors to the zwave component in HA and it’s not yet clear to me if there is a lead point-of-contact, who all the home-assistant/z-wave codeowners are, and what issues are already being worked on. So without some initial guidance and new open dialogs with active developers, it will be some time before I’ll be able to make any headway on my own.