CAL.Hub. i will work yours today to determine issue.
CrisD. In Hubitat Environment, Select Settings >> Hub Details. At the bottom of the settings is Default Text To Speech (TTS) Voice. I use Nicole, Female, Australian. Really a kick and I really loved my 1 year in Oz.
Investigation of using TTS with Bluetooth indicates the following behavior
Setup: Connected to my Samsung S8 via Bluetooth and playing a song. TTS sent via Hubitat interface of Play Text and Resume.
a. Speaker switches to WiFi and announces "WiFi is Connected"
b. The TTS string plays.
c. Speaker switches back to Speker and anounces "Bluetooth is Ready".
Problem: The speaker does not reconnect to the S8 and does not restart audio. This may be either the S8 (is there an auto Bluetooth Connect function?????).
Implications: TV Sound Connect would act similarly. Need confirmation. If not restarting TV audio, it is a limit in the TV.
Not sure this helps, but here's my observations:
When using a group of Samsung speakers as surround speakers for a Samsung TV, the TV-configuration takes precedense and any "normal" grouping you've made will break.
This is what it looks like in the Samsung app (sorry for the Swedish, I think you get the geist):
I have therefore separated the 4 X WiFi TV-audio speakers from my normal/day to day streaming surround-audio set-up.
One problem I have is: when using TTS announcements on a group of speakers that are intended for non-TV use, the announcement will only play on the master-speaker and any previously playing WiFi source will not re-commence.
In the log, I'm also getting constant warning messages for
2018-12-16 14:36:56.174 warnNo route to host (Host unreachable)
Will look into over the next few weeks. It worked in the past. The No route to host implies that the WiFi connectivity issues. I get the same when I unplug the speaker.
Thanks for the investigation! The above is further than I got. Once the speakers are connected to the TV (via Wi-Fi), I could not make a connection to Hubitat. In the Multiroom app, it says the speakers are connected to the TV and I have to disconnect before connecting to Hubitat. Maybe because both are Wi-Fi?
By "separated" do you mean you have a set of speakers dedicated to the TV and a set dedicated to other uses?
Yes, that is correct.
I've found that once I configured WiFi speakers to be used for surround sound on the TV, and also grouping them for other uses, the preference on the TV breaks, forcing me to re do the TV set up.
Working on adding buttons for Preset Channels
One of the features of the Samsung Multiroom is a number of embedded applets that connect to WiFi music and radio services. This driver provides eight channel presets that can be set via the UI. However, this has not been accessible to to the Dashboard. This week I will release an update that includes buttons:
0 - triggers the next action to assign the preset number to the currently playing channel.
1-8 - if not triggered, plays the selected preset.
Note, that may also add buttons 9 - 11. If not triggered, starts the selected group number. If triggered, creates a group from the current group and assigns it to the group number.
Also interested if anyone is interested in other functions to be available as buttons:
toggleShuffle
toggleRepeat
toggleEqualizerPreset
toggleInputSource
Also, holdable buttons will be implemented for groups and presets - but will be useless on the Hubitat Dashboard.
Any interest in incorporating any of this into the Hubitat 2.0 baseline????
Hubitat does not support adding attribites to buttons. I do provide attributes and you could create an attribute tile below each button to provide the name of the group or channel player station.
My intention is to have the speaker(s) on my main page with a link to a preset page. The presets page would include a link back to the main page.
I had already fixed. The current driver corrected the problem. Just in case, I reloaded.
Since this is an update, be sure to press refresh. Also, try pressing a button to update the attribute state. It was impractical to update all attributes to current.
The not route to host is generated by Hubitat (not my code) when the speaker is unreachable (i.e., off). The same is true for the others. Keep the units powered on. I will work on some long-term checking - but will take some creativity.
I will test locally and see if I can trap/avoid the error logging.
Ok, will check but the speakers are constantly powered and WiFi setting is only used.
Another thing popped up - I have a trash day reminder that announced as it should, but the previously playing stream did not resume, even though the logs informs differently (besides the repeated "updated appVersion to 2.0.01") :
dev:112019-01-16 20:17:56.449 infoupdateData: updated appVersion to 2.0.01
dev:112019-01-16 20:17:56.274 infoupdateData: updated appVersion to 2.0.01
dev:112019-01-16 19:47:56.508 infoupdateData: updated appVersion to 2.0.01
dev:112019-01-16 19:47:56.494 infoupdateData: updated appVersion to 2.0.01
dev:112019-01-16 19:30:08.406 inforestorePlayer: Restoring play to [level:20, inputsource:wifi]
The "playTrackAndResume" message indicates that you are playing through either PlayTrackAndRestore or PlayTextAndRestore (Resume = 0). PlayTextAndResume or PlayTrackAndResume resume the playback. Logic:
PlayTrackAndRestore:
a. Command received with track.
b. state.resumePlay set to 0
c. call playTrackAndResume
PlayTrackAndResume:
a. command received with track data.
b. If state.resumePlay = 1, set up resume function
1) Skip set up resume function if stateResumePlay = 0
c. Play the track
d. set stateResumePlay = 0