Heiman siren in z2m doesn't make a sound

I’m trying to use the Heiman siren in Alarmo. My friendly name of the siren is “Heiman sirene”. Problem is I can’t get it to sound, only by going into zigbee2mqtt/expose tab and hit apply button the siren sounds. I’m trying this script to turn it on:

alias: Heiman Siren Turn On
sequence:
  - service: mqtt.publish
    data:
      topic: zigbee2mqtt/Heiman sirene/set
      payload: {"warning": {"duration": 10, "mode": "emergency", "strobe": false}}
mode: single
icon: mdi:alarm-light

Obviously nothing happens when I run this script and the logs says:

Zigbee2MQTT:info  2024-04-15 20:22:24: MQTT publish: topic 'zigbee2mqtt/Heiman sirene ', payload '{"battery":100,"linkquality":48,"voltage":4100}'
Zigbee2MQTT:error 2024-04-15 20:25:09: Entity 'Heiman sirene' is unknown

So is there some sort of configuration I haven’t done as long as the logs claim that “Entity ‘Heiman sirene’ is unknown”?

Hello, have you found a solution in the meantime?I also use the siren with alarmo and zigbe2mqtt and it always worked, today I noticed it no longer works. I’ve already installed a backup and restarted HA, all to no avail. She doesn’t make any sound anymore

so far it’s always been like this config yaml:

´´´mqtt:

  • switch:
    • name: “Heiman Siren”
      state_topic: “zigbee2mqtt/Heiman Siren HS2WD-E/set”
      command_topic: “zigbee2mqtt/Heiman Siren HS2WD-E/set”
      payload_on: ‘{“warning”: {“duration”: 1800, “level”: “very_high”, “mode”: “emergency”, “strobe”: false}}’ # 1800 seconds (30 minutes is the max)
      payload_off: ‘{“warning”: {“duration”: 1, “level”: “high”, “mode”: “stop”, “strobe”: false}}’
      retain: false´´´´
1 Like

Hello I test today and its works. With the configuration i write

Please try this config:

alias: Heiman Siren Turn On
sequence:
  - service: mqtt.publish
    data:
      topic: "zigbee2mqtt/Heiman sirene/set"
      payload: '{"warning": {"duration": 10, "mode": "emergency", "strobe": false}}'
mode: single
icon: mdi:alarm-light
1 Like