a rule for example:
rule "alarm"
when
Time cron "0 0 12 ? * MON,TUE,WED,THU,FRI,SAT,SUN *"
then
Amazon Echo will play local mp3
end
Thanks in advance
a rule for example:
rule "alarm"
when
Time cron "0 0 12 ? * MON,TUE,WED,THU,FRI,SAT,SUN *"
then
Amazon Echo will play local mp3
end
Thanks in advance
Have a look at the thread that belongs to this message and check if it works: OH3 Echo Dot Play External MP3 - #5 by Richie1972
it’s not working for me, alexa Continues to repeat that Sonos skill is not installed and does not play the audio
my rule:
rule "test rule"
when
Item testbutton changed
then
amazonechocontrol_echo_3dd51391_G090U50784072J01_textToSpeech.sendCommand('<speak><prosody >x</prosody><audio src="C:/openHAB2/conf/sounds/doorbell.mp3" /></speak>')
end
I have not tried it myself so far. I just remembered that this thread is there. But …
In that thread it is mentioned that some requirements need to be satisfied and in your example I see that this is not the case at least for a subset of them:
a) file neds to be available via webservice
b) a) file neds to be available via port 443
In case you just wanna play a doorbell use one of them from the alexa libraries and use a command like
amazonechocontrol_echo_3dd51391_G090U50784072J01_textToSpeech.sendCommand( '<speak><audio src="soundbank://soundlibrary/home/amzn_sfx_doorbell_chime_01"/>Someone is ringing the doorbell!</speak>' )
To get more information about which sounds are available in the Alexa sound library have a look at
This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.