[RELEASE] cast-web v1.2.1 - Chromecast Device Handler & SmartApp

I’m having issues discovering devices. I installed cast-web using the gui option on a Windows 10 machine. I’m able to do a successful test connection using the smartapp in smartthings. But I can’t discover my devices. I even tried disabling the firewall on the PC.

Smarthings IDE log shows that the device list comes back empty as well. Anybody have a successfull windows 10 installation.

Edit: Got android to work. But need it to work on Windows. Anyone available to offer some help?

Edit2: Nevermind got it working on Windows 10 as well.

Can I get Cast Web API to send a command “ok, google show me my front door” to one off my Google home hub when I bypass a motion sensor?

any update on android app?

No, it doesn’t work that way. You want to look at Google Assistant Relay

Zero luck with Google assistant on Raspbian. /assistant page gives {“assistant”:false,“ready”:false}

Edit: got it running in the end. It seems it keeps displaying “false” until you actually use it.

Yes you can - if you are using webCoRE.

When creating a new piston, define a variable called ‘message’ (this must be exactly - message, and nothing else) and enter this as the value - ‘cast {cameraName} to {homeHubName}’.

Replace the {cameraName} with the name of your nest camera and replace {homeHubName} with the name of your Google Home Hub.


When motion sensor changes to active
Make a web request to http://x.x.x.x:yyyy/assistant/command
Set Method to POST
Set Request body type to JSON
Set Send Variables to your ‘message’ variable you created earlier.

Your home hub should now cast the live stream to your home hub. The only problem with this, is you can’t stop the cast by doing the similar action (using the stop command). You will need to actually speak to the home hub to stop it.

Still trying to figure out why. Maybe @vervallsweg might know why :slight_smile:


Thanks, I will try that! Many thanks for the input. When it comes to the stop command I can live with that, or can I!? :grin:


I am having same trouble with iMac. How did you resolve yours? Never-mind I got it working. I didn’t have correct IP address.

Glad you got it working!

I understand that I can’t initiate spotify. But, if Spotify is already playing, can I use the app to change the volume or skip tracks? Particularly in WebCore.

Just tried this and it was able to stop the cast.

© 2019 SmartThings, Inc. All Rights Reserved. Terms of Use | Privacy Policy

SmartThings; SmartApps®; Physical Graph; Hello, Home; and Hello, Smart Home are all trademarks of the SmartThings, Inc.