4 & 8 yrs,they totally got involved in a discussion with alexa right now ![]()
One bug in my setup, which I haven’t solved yet. When restarting OH the last string is/could be played. It is probably coming from the persistence-policy “restoronstartup”. Could be a killer for the WAF.
Im using the same policy. already had some not so WAF-situations ![]()
Anyway:
Ive tried your suggestions - learned a lot - but still:
TuneIn still wont recover.
My testing-rule (Ive configured the Sonos in the living-room also as audiosink in paperui for testing the off-slahed line “say(Home_TTS_Message.state.toString,“voicerss:deDE”)” - the output works, but not the resume (SONOS is on the most recent firmware):
rule "TTS Textinput Rule"
when
Item Home_TTS_Message changed
then
var String AudioSink
logInfo("TTS_textinput.rules", "Nachricht geaendert zu: "+ Home_TTS_Message.state.toString() + " mit geplanter Ausgabe auf: "+TTS_Ausgabe_Device.state.toString())
switch(TTS_Ausgabe_Device.state.toString()) {
case "Alexa": {
Echo_Living_Room_TTS.sendCommand(Home_TTS_Message.state.toString())
}
case "Wohnzimmer": {
AudioSink="sonos:CONNECT:RINCON_B8E9379B6FD401400"
say(Home_TTS_Message.state.toString,"voicerss:deDE",AudioSink)
//say(Home_TTS_Message.state.toString,"voicerss:deDE")
}
default: {
logInfo("TTS_textinput.rules", "Unerwarteter Ausgabekanal: "+TTS_Ausgabe_Device.state.toString())
}
}
end
to make it worse:
- played a radio station from tunein
- used openhab to inject a TTS-message
- message was played, no resume of tunein
- started a spotify-playlist
- used openhab to iniect a TTS-message
- message was played and afterwards the playlist resumed
- started playeing a radio station from tunein
- used openhab to inject a TTS-message
- nothing happened
- emptied the playlist
- used openhab to inject a TTS-message
- continue at bullet 3.
Any ideas? Can you reproduce the behaviour?
Problem solved ![]()
It was in the end a problem of my Sonos-configuration, especially the TuneIn-Part.
I deleted all the stations I have added some years ago to “my stations” and favourized them again (I had to remove them by using the IOS-app, the OSX-application did not offer the option).
Works now like a charm ![]()
Thank you all for your support and the additional ideas for improving my setup!
…and I just read the first post in that triple and started a recording on my boxes with “Good Morning Alexander”(or should that be ..America).
Not need anymore, have fun with it.
Ive stumbled over another problem:
Using the say-command works fine on the Sonos-devices when in a “Sonos-mode”, eg playing TuneIn or Spotify.
A problem occured in my office-room, here the playbar is connected to the TV, the TV is connected to the dockingstation:
Eg:
Play xyz using the Mac connected to the TV
Trigger TTS on the Playbar using the notificationvolume in the things-configuration
TTS is played on the Player (notificationvolume is used)
Playback from the Mac continues, but with the notificationvolume instead of the former volume
My guess is, that I can catch this by getting the “recentVolume”, playing the TTS and setting the “recentVolume” again, but this sounds a bit inconvenient.
Does anyone of you had a similiar situation and found a workaround?
thx in advance,
cheers, Alexander
