[RELEASE] cast-web v1.2.1 - Chromecast Integration (EDGE Driver discussion begins in post 1668)

Thank you, this is very helpful.

Do the media images ever actually get displayed in the mobile app? If so could you screenshot me an example?

I guess whatā€™s no longer working is the Google Assistant integration? Thatā€™s the API access that Google shut down (?)

No, mediaImageUrl donā€™t show up in app (as I remenber it did in smartthings classic), but on my Nest Hub Gen2 it does. Here a playback with preset 6

And in app settings you can define playback behavior:

Control function lacks functionality, I think it is because the SmartApp never got optimized to SmartThings app after SmartThings Classic shut down.

ive never actually used the integration or set it up , so how does the cast web api communicate with the google speakers/ home miniā€™s then.is that why it creates another device (i only have two google miniā€™s but it creates another cast web device)
so i have cast web kitchen , cast web living room and cast web device.
martin

just found this not sure if it helps

Update and some questions regarding the Edge port of this driver:

  • Iā€™ve made decent progress and have a driver that can discover and create cast devices
  • It updates whatā€™s playing status including app, title, subtitle, and connection status and allows you to control the playback through pause/play/stop.
  • You can use the device as a SmartThings-recognized speaker for notification messages
  • Not yet implemented: presets, resume media
  • Iā€™ve only tested with a Google nest mini and will also try a Chromecast device.

From reading prior comments I know that one annoyance with playing messages is that it stops whatever is currently playing and doesnā€™t resume it. I see that the DTH driver tried to address this by playing a preset following the message.

My understanding is that the Google oauth process has changed and anything having to do with Google Assistant is probably no longer working for anyone. For example, without Google Assistant configured, I canā€™t send a text message and use Googleā€™s TTS to play it. (SmartThings notifications work because they are already converted to an audio file).

Please let me know if Iā€™m wrong about the above - if any of you are able to still use the Google Assistant features (TTS messages to a specific speaker or broadcasting messages, or issuing Assistant commands).

Iā€™m having trouble with the web-cast-api app frequently disconnecting from the device. Does anyone else have this problem?

2 Likes

hi thats great , in notify someone/play message on speaker /i can write a message and it plays on the google device , i think thats tts isnt it ,
martin

Where are you doing that - the device itself or the service manager?

in the smartthings app a normal routine ,


the app on the pi ?

This is great news that you are working on this! So will the Edge port still require an external server (Pi, Mac or windows) or will the code all run on the smartthings hub? The current functionality that you describe working is all I would need and would happily beta test it for you.

1 Like

Yes - it sends my driver updates any time something changes and Iā€™ve noticed that it goes from ā€˜connectedā€™ to ā€˜disconnectedā€™ to ā€˜connectingā€™ and back to ā€˜connectedā€™ fairly frequently.

The Nest mini itself seems to be a bit flakey. I often have to repeat a command twice for it to respond. All Iā€™m doing is telling it to play music on Pandora for my testing.

i had a problem originally with it disconecting , the only way i found that didnt disconect was the (snap version) Install cast-web-api on Linux | Snap Store not had a problem with that one but i dont know what the difference is .

1 Like

it drives my wife crazy sometimes to the point of her cursing it ,lol

Do you have a direct link to the driver? Did I miss it? Thanks for your hard work!

Still working on it; I havenā€™t made it available yet. Perhaps in a few daysā€¦

1 Like

That doesnā€™t use the Google TTS. SmartThings does the TTS conversion. This is what I DO have working in the Edge driver.

By the way, Iā€™ve got Chromecast device working too now. Although itā€™s a bit limited in what it can do. For example it doesnā€™t look like there is a way to fire up Netflix, for example, or send other remote control commands like up/down/left/right/select.

2 Likes

Thats great
Martin

Does anyone use the embedded switch capability in their devices? I donā€™t really understand the purpose of why itā€™s included. Automation routines can directly set the deviceā€™s controls (pause/play/stop/preset selection, etc). So what value does the switch provide?

1 Like

You will continue to need the cast-web-api running on your network. Itā€™s possible that it could be eliminated but thatā€™s well beyond the scope of my effort right now.