----edit----
i checked the iOS.conf file, and no [pushsounds] were displayed. Which is strange since Morgan Freeman was already welcoming me home…
anyways, rebooted the device, and after an initial error all files are playing fine now with the below code…
----endedit----
btw, is there no way of striking through text on this forum? might be easier to show progress bing made without deleting the post completely.
HI,
need some help here, can’t find any documentation on selecting a built-in Hassio speech sound, and playing it automatically.
the example only shows a direct coded .wav file, while i would like to be able to do something like below. All is going fine, up to the playing of the actual sound. I do receive the message Sound is playing. So only that bit must be erroneous:
script:
play_sound:
alias: Play Sound
sequence:
- service: notify.ios_telefoonmhb
data_template:
title: "Play Sound"
message: "Sound is playing"
data:
push:
sound: "{{ states.input_select.speech_sound.state }}"
input_select:
speech_sound:
name: Speech sound selection
icon: mdi:text-to-speech
options:
- US-EN-Alexa-Daughter-Is-Arriving.wav
- US-EN-Alexa-Girlfriend-Is-Arriving.wav
- US-EN-Alexa-Good-Morning.wav
- US-EN-Alexa-Good-Night.wav
- US-EN-Alexa-Husband-Is-Arriving.wav
- US-EN-Alexa-Motion-Detected-Generic.wav
- US-EN-Alexa-Motion-In-Back-Yard.wav
- US-EN-Alexa-Motion-In-Basement.wav
- US-EN-Alexa-Welcome-Home.wav
- US-EN-Alexa-Wife-Is-Arriving.wav
- US-EN-Morgan-Freeman-Boss-Is-Arriving.wav
- US-EN-Morgan-Freeman-Daughter-Is-Arriving.wav
- US-EN-Morgan-Freeman-Girlfriend-Is-Arriving.wav
- US-EN-Morgan-Freeman-Good-Morning.wav
- US-EN-Morgan-Freeman-Good-Night.wav
- US-EN-Morgan-Freeman-Motion-In-Basement.wav
- US-EN-Morgan-Freeman-Motion-In-Bedroom.wav
- US-EN-Morgan-Freeman-Motion-In-Game-Room.wav
- US-EN-Morgan-Freeman-Motion-In-Garage.wav
- US-EN-Morgan-Freeman-Motion-In-Kitchen.wav
- US-EN-Morgan-Freeman-Motion-In-Living-Room.wav
- US-EN-Morgan-Freeman-Motion-In-Theater.wav
- US-EN-Morgan-Freeman-Searching-For-Car-Keys.wav
- US-EN-Morgan-Freeman-Setting-The-Mood.wav
- US-EN-Morgan-Freeman-Someone-Is-Arriving.wav
- US-EN-Morgan-Freeman-Starting-Movie-Mode.wav
- US-EN-Morgan-Freeman-Starting-Party-Mode.wav
- US-EN-Morgan-Freeman-Starting-Romance-Mode.wav
- US-EN-Morgan-Freeman-Turning-Off-All-The-Lights.wav
- US-EN-Morgan-Freeman-Turning-Off-The-Hallway-Lights.wav
- US-EN-Morgan-Freeman-Turning-Off-The-Light.wav
- US-EN-Morgan-Freeman-Turning-Off-The-Lights.wav
- US-EN-Morgan-Freeman-Turning-Off-The-Mood-Lights.wav
- US-EN-Morgan-Freeman-Turning-Off-The-TV.wav
- US-EN-Morgan-Freeman-Turning-On-The-Hallway-Lights.wav
- US-EN-Morgan-Freeman-Turning-On-The-Light.wav
- US-EN-Morgan-Freeman-Turning-On-The-Lights.wav
- US-EN-Morgan-Freeman-Turning-On-The-Mood-Lights.wav
- US-EN-Morgan-Freeman-Turning-On-The-TV.wav
- US-EN-Morgan-Freeman-Vacate-The-Premises.wav
- US-EN-Morgan-Freeman-Welcome-Home.wav
- US-EN-Morgan-Freeman-Wife-Is-Arriving.wav
initial: US-EN-Morgan-Freeman-Welcome-Home.wav