This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Comments
Now it directly communicates with media player (chromecast app) and thus requiring Chromecast app version 0.12.1.
Apps are currently available on github
https://github.com/matjaz/homey-youtube
https://github.com/matjaz/com.google.chromecast
Source token is set as follows:
- from "Search YouTube" action source is set to "'video=<video id>"
- from "Search YouTube (live)" action, source is set to "search=<query>"
- from "YouTube playlist" action, source is set to "playlist=<playlist id>"
And with that we can use and.. column.
Installed both new Apps, having the problem as described in quote.
Peao, try adding action for each Chromecast.
with pleasure, i'm going to try debugging tonight.
Tnx
ok I guess I have to wait till Homey supports different audio-outputs including chromecast as they mentioned earlier.
I've created a flow which plays the videos of songs played on a particular radiostation and, thru a third party program, it plays them one at a time. In the meanwhile on each song played it cycles to the next (pre-defined) station. Creating my own playlist thru the day as it where of my favorite stations.
My problem is that sometimes the youtube app fails to load anything for a few hours. Before I re-arange my complete network for extra speed, I need to be sure it's not a quota thingy,
I'll add setting where you can add your own API key and app would use you key. (similar as wolfram alpha).
You can obtain YouTube Data API server key from https://console.developers.google.com
When app wide key will hit quota limits, I'll consider removing it and requiring your own key.
Did you already have a version where you can put in your own api-key? But I suspect something else is wrong to be honest...
Then add:
{
Then manually install the app (athom project --install), then u will use your own api key.
Any change we can use this not only to cast to chromecast, but also via dlna/upnp, for example i have multiple Kodi installations in my house, it would be awesome to cast youtube to Kodi as well ! ( and dlna/upnp is a universal protocol implemented in many media hardware/software devices :-) )
Thnx for the great work !
Dave
Direct casting (without Homey) from phone or tablet is no problem. Connection (from Homey) is there (as I see the volume bar (of Chromecast) changed through triggering the flow. Variabele values (link youtube) are set correct as I can see in (tags) Homey and they work as I copy and paste them in browser. Chromecast is on latest version. But for some reason it will not do further to youtube anymore and stops at small light icon of cast in centre of TV-screen.
Also latest versions of Youtube app en Chromecast app.
Notice the 404 error.
I use 2 chromecasts, 1 for audio only and one for musicvideo. The audio plating chromecast is the 1st generation hooked up to an aux. The second one is a 2nd generation. I use them seperatly. I also have my own API-key and it shows that the requests are received proper. No errors there. (also tried key via env.json, just to be sure)
Still using the old chromecast app, due to it's capability to read the casts status. For testing purposes i tried the new chromecast app, but it didn't make a differance.
I also created a flow which puts the youtube search result in to a string. Copying the strings value (search result) to my browser DOES play the video in my browser, figuring the search result is valid.
'till a couple of days ago it worked fine. Once in a while chromecast is suddenly able to play a video, but most of the times it does nothing. Could it be that google changed some codecs or apis??
-------EDIT
It seems that older versions of the app, have the same problem. Could it be a google-'ban' ?! If so, there is some hard recoding to do
Kudos to Marvin Schenkel!
Getting this error while searching on youtube in "Music". Installed the 0.6.0 version
No I did not, have to make one (let's find out..hahah)
...nope, same problem.