-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sample code dont work #27279
Comments
Hey there @tronikos, mind taking a look at this feedback as it has been labeled with an integration ( Code owner commandsCode owners of
|
Does the following work? |
I also have a Chromecast with Google TV, I can help answer that. I was also hoping that the value in the |
If you can get a copy of the APK follow the guide at https://community.home-assistant.io/t/android-tv-remote-app-links-deep-linking-guide/567921 and update the wiki there. |
No it dont work. When having an url TV say no app to handle, when using youtube://play nothing happends.
/Thomas Lj
Från: ***@***.***>
Skickat: den 6 maj 2023 08:17
Till: ***@***.***>
Kopia: Thomas ***@***.***>; ***@***.***>
Ämne: Re: [home-assistant/home-assistant.io] Sample code dont work (Issue #27279)
Does the following work?
youtube://play
—
Reply to this email directly, view it on GitHub<#27279 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIQ2TVLHZR4Z4SF3CU5IYVTXEXUJDANCNFSM6AAAAAAXXE6TJ4>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
TL;DR: The activity to use on Chromecast with Google TV is Details: So I did Command output (First 51 lines)
This appears to be similar to the information that the guide leads you to obtain. For those figuring out what to put in the activity field, and have access to your device, a computer with the Android debug bridge, and a cable to connect the two together (or if the device allows it, wireless debugging), then you can see if the steps above work for you. One more thing, if you are struggling to find the package name, the name inside the "current_activity" attribute is the package name. Or alternatively, you might be able to find it in Now, regardless of the method you choose, I don't think it works with every single app. I tried doing the same thing with VLC Media Player, and I cannot get it to launch no matter what I try. |
I can verify this; i.e. Tried the same approach to figure out Netflix --> scheme
|
The scheme
So the link should be As for navigation not working, it's not related to the deep link. The navigation keys available for use are |
hmm, I don't really understand this as I was trying to map the YouTube example above with Netflix... Given joystick inputs work is there a way to implement this for this integration? |
bbayu123, I can confirm that the vnd.youtube.launch:// link works on my Chromecast (CCWGTV) from Home Assistant: now I can put TV commands into automations. But here's a challenge for you - volume control/mute and TV input do not work (I think the Chromecast uses the HDMI-CEC feature to control the connected TV volume and inputs). So, what is the call service/command or adb command to send the mute command through HDMI-CEC to the TV connected to the Chromecast? I looked in the service list and found: |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved. |
Not trying to let this issue close but if anyone has a solution to the Netflix issue (can start Netflix but can't use the remote within Netflix) I'd appreciate some advise on how you addressed it |
Feedback
Copied sample code, but the link to start YouTube ect, the TV say no app to handle that,
URL
https://www.home-assistant.io/integrations/androidtv_remote/
Version
2023.5.1
Additional information
Using Google Chrome Cast TV 4K
The text was updated successfully, but these errors were encountered: