i’ve got the same issue with the break on line 31, what did you do to get past that?
Just ran npm install a few times
Also ran npm install mdns
there’s a bug in the chromecast manager app it seems when using a local service?
the requests still go out to https://my-app.herokuapp.com, or am i just being special…
I fixed that in the code, but mu chrome casts still aren’t receiving commands.
can anyone give me a line of code to add to app.js so I can verify if the requests are hitting my node install?, not sure where to place it…
By all my accounting it appears up…
Does core need to be modified as discussed in google home notifier thread because can’t seem to get it to work.
Nope.
Did you do the discovery and add your device(s) through the smartapp?
Yes the smart app works ok. When I do the test in it, they work ok. Both the beep and tts.
But can’t get Core to work at all using post command of the text variable
Post a screenshot of your piston.
I’m not using a text variable but this works fine for me:
Using your example worked. Thanks.
Was sending a post command instead of a speak command.
Raspi came in today, got everything up and running.
Seems to work fine with my chromecast audios. app.js errors with connect eth0stunreach then [ip and port] only on my chromecast video… all chromecasts and the pi are on ethernet. Any ideas?
NM, wrong IP address…
just a thought here…
The ST hub only supports SSDP, not MDNS, a quick troll reveled that chromecast audio groups are only being advertised via MDNS.
So me thinking that perhaps the discovery of these should be relegated to node JS, with the relevant devices available for consumption and child device creation from the chrome-cast service manager app…
I don’t know enough about node js currently to pull this off yet, but all the bits are there to do it…
I’ve got core setup to have the GH speak when doors/windows open, but there’s about a 3-4 second delay before a chime, followed by the message. Wondering if others experience the delay and if there’s a way to remove the chime?
Yes, I experience the same few second delay with my GH setup. Also running the .js app on a raspberry pi on the local lan. My guess is… the fact it’s going “around the world” and back to your house, is what causes the delay.
The chime is an option that’s selectable, and enabled by default for the chrome cast audio devices. Go into the chromecast settings in Google home to change it.
I’m running on a local synology server. The delay on mine is there but under 2 seconds to the chime, then another smaller delay till it speaks.
I have Castv2 installed on my Raspberry Pi, but no idea how to start the castv2 server to get the Google Home and Smartthings App talking to it?
How do I start Castv2?
As long as you have castv2 installed, I don’t think you need to worry about actually running it. app.js should take care of what it needs castv2 for on it’s own. I found @MichaelK’s instructions from February to be quite helpful:
I ran into a few problems with the node app.
It would be helpful to add steps for installing and configuring the node client, eg.
git clone https://github.com/germasch/smartthings-cast cd smartthings-cast npm install app.js nano app.js
search for 8080 and change it to the desired port. hit ctrl-x, y. now run
node app.js
Now that the app is running, I need to set up a linux service. please consider starting a new thread for the setup of the node server.
I’ve had this working well to stop my ChromeCast audio’s when needed, but as I only ever playmusic to them in groups the usefulness of this is limited.
Any idea if controlling groups of CC Audio’s will be possible in the future?
Thanks in advance!
Adam
I have this successfully working for reading text via CoRE. What I want to do now is splay a specific song on event. It seems to require a URL. Do I just need to provide a URL of the mp3 I want? What if I can store the mp3 locally on the server I’m running smart cast from?
I tried storing the mp3 in google drive and using that link, but that didn’t work.
Google Music doesn’t seem to expose a direct link to a song either.
For those wondering, I just want to play School’s out for the summer when my son gets home on his last day of school tomorrow.