[Solved] LAnnouncer Notify Chime config: how do I yaml it?

I’m using Lannouncer for HA text-to-speech to a tablet in the kitchen. It’s easy & really useful, great thing.

I just can’t figure out how to use the Chime sound setting though. I’ve tried all the yaml combos I can think of.

  kitchen_lann_general_status_announce:
    sequence:
      - service: notify.kitchen_lann
        data:
          message: "The outside temperature is {{ states.sensor.miflora_4_temperature.state }} degrees. Currently there is a {{ states.sensor.dark_sky_precip_probability.state }} percent chance of rain."

Does anyone have a working example I could add onto my sequence above?

It’s a tiny bit startling to have a tablet suddenly talk without a little sound beforehand.

Though sometimes that’s exactly the desired effect :slight_smile:

The document you linked explains how to use sounds. You send a message with the name of the sound and the method is alarm.

- serivice: notify.xxxxx
  message: "chime"  
  data:  
    method: "alarm"

That returns an error for me, does it work for you?

Error loading /config/configuration.yaml: while parsing a block mapping in "/config/scripts.yaml", line 128, column 9 expected <block end>, but found '<block mapping start>' in "/config/scripts.yaml", line 131, column 10

The only combination I’ve tried that doesn’t return an error, doesn’t trigger a chime :frowning:

  chime_test_samlann:
    sequence:
      - service: notify.Samlann
        data:
          message: "chime"
          method: "alarm"
  chime_test_samlann:
    sequence:
      - service: notify.Samlann
        data:
          message: "chime"
          data:
            method: "alarm"

That should work

1 Like
chime_test_samlann:
    sequence:
      - service: notify.Samlann
        data:
          message: "chime"
          data:
            method: "alarm"

Oh you Diamond!!! Thanks a million! Works perfectly!

I’ll have the whole house sounding like airport announcements :slight_smile:

Lol, you should video that. My wife would hate me if I tried that.

1 Like

for some reason this didn’t work for me.
I had to replace
message: “chime” with message: “alarm” or message: “siren”
doorbell also didn’t work.

I’m using this for my doorbell, but for some reason it doesn’t action it when I put doorbell or chime.

Hope it helps.

So, I’m trying to play with this now for hours, but something goes wrong.

When i put this in the developer tools service checker:

service: notify.tablet
data:
  message: chime
  data:
    method: alarm

and click to check it’s function, it works fine.
But entered in an automation the chime does not sound, only the message is being read. All other actions are correctly done.

alias: Schuur open
description: >-
  Laat keukenlamp knipperen en stuurt TTS bericht naar tablet als schuur open
  gaat
trigger:
  - platform: state
    entity_id: remote.sonoff_1000cdcc13
    attribute: ts
condition:
  - condition: state
    entity_id: remote.sonoff_1000cdcc13
    state: Deur Schuur
    attribute: name
  - condition: state
    entity_id: light.keuken_tafel
    state: 'on'
action:
  - service: notify.mobile_app_in2013
    data:
      message: >-
        Someone just entered the shed
  - service: notify.mobile_app_mischa_op6t
    data:
      message: >-
        Someone just entered the shed
  - service: notify.tablet
    data:
      message: chime
      data:
        method: alarm
  - service: notify.tablet
    data:
      message: >-
        Someone just entered the shed
  - scene: scene.alarm_lampen
  - delay: '00:00:01'
  - scene: scene.lampen_keuken_tafel_normaal
  - delay: '00:00:01'
  - scene: scene.alarm_lampen
  - delay: '00:00:01'
  - scene: scene.lamp_keuken_tafel_normaal
mode: single

Someone knows, what I’m doing wrong?

Never mind, it suddenly started working… :slight_smile: