I just added three Zooz ZSE50 chimes (chime1, chime2, chime3) into Home Assistant Z-Wave JS (zwave-js-ui: 11.5.2, zwave-js: 15.15.3). I want to set different tones (mp3 files) for different events (e.g., motion on driveway, front door open). Member Hanson shared a script to send specific tones as part of an automation action.
Programming ZSE50 siren in automations
I am adding this as an !include zse50.yaml in the configuration.yaml file. My test adaptation code:
porch motion:
- alias: Chime play ding
- description: ""
- icon: mdi:bell
- parallel:
- action: zwave_js.set_value
metadata: {}
data:
entity_id:
- chime3_alarm_playback_mode
command_class: "112"
property: "1"
value: "0"
- action: zwave_js.set_value
metadata: {}
data:
entity_id:
- chime3_alarm_playback_duration
property: "2"
value: "1"
command_class: "112"
- action: zwave_js.set_value
metadata: {}
data:
entity_id:
- chime3_alarm_playback_loop_count
property: "3"
value: "1"
command_class: "112"
- action: zwave_js.set_value
metadata: {}
data:
entity_id:
- chime3_alarm_led_indicator_mode
command_class: "112"
property: "6"
value: "1"
- action: zwave_js.set_value
metadata: {}
data:
entity_id:
- chime3_alarm_led_indicator_color
value: "85"
command_class: "112"
property: "7"
- action: zwave_js.set_value
metadata: {}
data:
entity_id:
- chime3_alarm_led_indicator_brightness
value: "5"
command_class: "112"
property: "14"
- sequence:
- action: siren.turn_on
metadata: {}
data:
# sets the sound and volume
tone: "25"
volume_level: 0.33
target:
entity_id: siren.chime3_alarm_play_tone
- delay:
hours: 0
minutes: 0
seconds: 3
milliseconds: 0
- action: siren.turn_off
metadata: {}
data: {}
target:
entity_id: siren.chime3_alarm_play_tone
storm door open:
- alias: Chime play chimes
- description: ""
- icon: mdi:bell
- parallel:
- action: zwave_js.set_value
metadata: {}
data:
entity_id:
- chime3_alarm_playback_mode
command_class: "112"
property: "1"
value: "0"
- action: zwave_js.set_value
metadata: {}
data:
entity_id:
- chime3_alarm_playback_duration
property: "2"
value: "1"
command_class: "112"
- action: zwave_js.set_value
metadata: {}
data:
entity_id:
- chime3_alarm_playback_loop_count
property: "3"
value: "1"
command_class: "112"
- action: zwave_js.set_value
metadata: {}
data:
entity_id:
- chime3_alarm_led_indicator_mode
command_class: "112"
property: "6"
value: "1"
- action: zwave_js.set_value
metadata: {}
data:
entity_id:
- chime3_alarm_led_indicator_color
value: "85"
command_class: "112"
property: "7"
- action: zwave_js.set_value
metadata: {}
data:
entity_id:
- chime3_alarm_led_indicator_brightness
value: "5"
command_class: "112"
property: "14"
- sequence:
- action: siren.turn_on
metadata: {}
data:
# sets the sound and volume
tone: "26"
volume_level: 0.33
target:
entity_id: siren.chime3_alarm_play_tone
- delay:
hours: 0
minutes: 0
seconds: 3
milliseconds: 0
- action: siren.turn_off
metadata: {}
data: {}
target:
entity_id: siren.chime3_alarm_play_tone
My problem is when I enable the zse50.yaml in the configuration.yaml, HA throws an error when I Check configuration, “Configuration warnings Integration error: zse50 - Integration ‘zse50’ not found”
However, when I go into Settings | Devices & Services | Entities, the entity shows up for the chime (siren.chime3_play_tone) as a Z-Wave Integration.
Not sure where to go from here or what the error is telling me. Any help would be appreciated!