ha-plugins: Error playing TTS

service: hassio.addon_stdin
data:
    addon: c7744bff_ha-sip
    input:
        command: play_message
        number: sip:**610@fritz.box
        message: hello!
        tts_language: en

I try to send it but I get this error:

| 21:18:00.394084 [1] Playing message: hello!
| 21:18:00.419464 [ ] Error getting tts file 500 b'500: Internal Server Error'
21:18:00.420            pjsua_aud.c !Creating file player: /ha-sip/sound/answer.wav..
21:18:00.420           wav_player.c  .File player '/ha-sip/sound/answer.wav' created: samp.rate=44100, ch=1, bufsize=4KB, filesize=176KB
21:18:00.420            pjsua_aud.c  .Player created, id=1, slot=3
21:18:00.420            pjsua_aud.c  Conf connect: 3 --> 1
21:18:00.420           conference.c  .Port 3 (/ha-sip/sound/answer.wav) transmitting to port 1 (sip:**610@fritz.box)
| 21:18:02.431992 [1] Playback done.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 19 (10 by maintainers)

Most upvoted comments

Okay thanks for your help!

Never tried it myself, but this is just a standard home-assistant template, so this should work here like everywhere.

alias: "Klingel: Telefon bei Tasterdruck"
description: ""
trigger:
  - platform: state
    entity_id: binary_sensor.klingel
    from: "off"
    to: "on"
condition: []
action:
  - service: hassio.addon_stdin
    template:
      addon: c7744bff_ha-sip
      input:
        command: dial
        number: sip:**620@fritz.box
        menu:
          message: Es hat geklingelt