HS2WD-E via Home Assistant ?
Hi
I bought a HS2WD-E model (siren) but I don't understand how can we trigger the alarm ON / OFF on Home Assistant ?
Is it a easy way to do it ?
I saw only LQI and Battery level on it. But I didn't see nothing around actions ect like Xiaomi switches for example :)
Thanks
Regards

Not sure it's an issue according to the doc, indeed, I see only two values exposed (lqi and battery) so I'm a little bit confused to understand how it works.
Add the warning to exposes, can you check if it works correctly?
Changes will be available in the latest dev branch in a few hours (https://www.zigbee2mqtt.io/how_tos/how-to-switch-to-dev-branch.html)
OK I will look it in few hours :)
Thanks
BTW: I was surprised that you have nothing about melodies and the volume of this siren.
I found a thread and at the end of this one, people seems have the choise about melody and almost the volume of the siren. https://community.home-assistant.io/t/how-to-get-heiman-siren-with-zha-to-work/180153/14
Why we haven't this choice with Z2M ? Nothing seems exposed for the sound of this siren ? :)
Thanks
Edit: It works about exposure the siren ! :) However, I think my neighboors in my building are currently hate me because in my country it's late and the "low" volume showed in the UI was sooooooo strong. It scared me, I thought it should be very low and here I think it's the 100%
Good, can this issue be closed? The sound effect is controlled through the mode.
Mhh I thought we will close this issue when the sound level will be fixed ?

Low level here is very very strong as I said yesterday, pretty sure it doesn't work ;)
I retried now and very high / low does the same thing, very loud
@kevincaradant I expect the sound level issue is in the firmware of the device (since the commands we send are according to the Zigbee spec) I think it doesn't support different sound levels, only way to be sure is to check it with the original gateway.
oh alright. If we can't do nothing because it's a firmware issue ( very annoying in my case to setup my use cases :P) By consequence, I close this issue :)
Thanks
One last thing @Koenkk
Why I can't have the state ON / OFF on HA ?
I removed the device from Z2M and pair it again with the latest version to be sure to have the state of the siren.
I have nothing in HA except battery and linkquality of the siren :/

Any idea why ?
Because the alarm is not a simple on/off switch. You have to define a mode, sound level, duration, etc. You can ofcourse create a switch yourself in HA to send the desired payload
alright I will try to look into it using mqtt requests
thank you
my 2 cents Firmware: 2018.03.21
Setting the "level" values does make any difference, sounds the same. Setting the "mode" values dpoesnt make any difference, sounds the same. (police_panic, fire_panic, emergency_panic are not accepted)
Has anyone actually verifed those with the original gateway?
I have the same issue. When I send warning payload :
"warning": {
"mode": "burglar",
"level": "low",
"strobe": true,
"duration": 2
}
Zigbee2MQTT logs :
Zigbee2MQTT:info 2021-02-17 14:18:16: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"Smart siren","exposes":[{"access":1,"description":"Remaining battery in %","name":"battery","property":"battery","type":"numeric","unit":"%","value_max":100,"value_min":0},{"features":[{"access":2,"description":"Mode of the warning (sound effect)","name":"mode","property":"mode","type":"enum","values":["stop","burglar","fire","emergency","police_panic","fire_panic","emergency_panic"]},{"access":2,"description":"Sound level","name":"level","property":"level","type":"enum","values":["low","medium","high","very_high"]},{"access":2,"description":"Turn on/off the strobe (light) during warning","name":"strobe","property":"strobe","type":"binary","value_off":false,"value_on":true},{"access":2,"description":"Duration in seconds of the alarm","name":"duration","property":"duration","type":"numeric","unit":"s"}],"name":"warning","property":"warning","type":"composite"},{"access":1,"description":"Link quality (signal strength)","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"HS2WD-E","supports_ota":false,"vendor":"HEIMAN"},"friendly_name":"0x000d6f00161bfab9","ieee_address":"0x000d6f00161bfab9","status":"successful","supported":true},"type":"device_interview"}'
All working fine, except mode and level. However, this attributes are specified in documentation : https://www.zigbee2mqtt.io/devices/HS2WD-E.html#warning-composite
If I take it correctly, these parameters are generic and may not be supported by this device?
Thank you,
Zigbee2MQTT : 1.17.1 Device firmware : 2018.03.21
Same here, mode and level have no effect. Somebody know if it possible to upgrade siren firmware?
Somebody know if it possible to upgrade siren firmware?
I've just received one of these with device firmware reporting 2021.2.19. Unfortunately both mode & level still have no effect.
mode & level still have no effect.
same here..can anyone verify with the original gateway?
I've just received one of these with device firmware reporting 2019.6.23. Unfortunately both mode & level still have no effect.
I have no original gateway to test. :(
Just received a new one and still none of the options work. It is just an ON/OFF alarm with the volume too high... Did any one find a solution?
I'm also trying to figure this out, would love to hear from anyone who made any progress and doesn't mind sharing.
No, still waiting for them to fix it.
I just bought one of them and same thing, mode and volume level cannot be changed.