Skip to content
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

Android TV Remote & Fire TV : Failed to connect #92656

Closed
weimdall opened this issue May 5, 2023 · 8 comments · Fixed by home-assistant/home-assistant.io#28620
Closed

Android TV Remote & Fire TV : Failed to connect #92656

weimdall opened this issue May 5, 2023 · 8 comments · Fixed by home-assistant/home-assistant.io#28620

Comments

@weimdall
Copy link

weimdall commented May 5, 2023

The problem

I am unable to use the Android TV Remote integration with my Fire TV.
The error I see in the UI is simply : "Failed to connect"

Is it expected ?
In which case I will stick to the Android Debug Bridge integration to control my Fire TV

What version of Home Assistant Core has the issue?

2023.5.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Android TV Remote

Link to integration documentation on our website

https://www.home-assistant.io/integrations/androidtv_remote

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

home-assistant bot commented May 5, 2023

Hey there @tronikos, mind taking a look at this issue as it has been labeled with an integration (androidtv_remote) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of androidtv_remote can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign androidtv_remote Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


androidtv_remote documentation
androidtv_remote source
(message by IssueLinks)

@tronikos
Copy link
Member

tronikos commented May 6, 2023

I'm afraid it's expected. I don't own a Fire TV device but I have seen similar reports in the forum. Fire devices in general (including tablets) are known to be missing a lot of Google services. This integration needs the https://play.google.com/store/apps/details?id=com.google.android.tv.remote.service on the device. Not sure if you can sideload it. I'm updating the documentation in home-assistant/home-assistant.io#27273 to call out that it doesn't work with Fire TV.

@olylak
Copy link

olylak commented May 7, 2023

Not sure what I'm doing wrong but I have the same issue with two Android TVs. Both says "Failed to connect". Android TV Remote Service installed on both of them, assigned static IP addresses, I can ping them from homeassistant container.

@ctullos
Copy link

ctullos commented May 7, 2023

I've sideloaded the Android TV Remote Service via direct download of the APK on a FireTV cube, and I'm seeing the same error.

Debug logs reveal:

  • The integration recieves a remote_configure message and sends one in return (line 2 & 3)
  • A remote_error is then returned by the cube (line 4)

I've got the adb logcat fired up and connected to the cube, will report findings as available. Note: I replaced my IP address below with x.x.x.x

2023-05-07 12:29:33.353 DEBUG (MainThread) [androidtvremote2] Connected to ('x.x.x.x', 6466)
2023-05-07 12:29:33.356 DEBUG (MainThread) [androidtvremote2] Received: remote_configure { code1: 623 device_info { model: "AFTR" vendor: "Amazon" unknown1: 1 unknown2: "9" package_name: "com.google.android.tv.remote.service" app_version: "5.2.473254133" } }
2023-05-07 12:29:33.357 DEBUG (MainThread) [androidtvremote2] Sending: remote_configure { code1: 623 device_info { unknown1: 1 unknown2: "1" package_name: "atvremote" app_version: "1.0.0" } }
2023-05-07 12:29:33.364 DEBUG (MainThread) [androidtvremote2] Received: remote_error { value: true message { remote_configure { code1: 623 device_info { unknown1: 1 unknown2: "1" package_name: "atvremote" app_version: "1.0.0" } } } }
2023-05-07 12:29:33.365 DEBUG (MainThread) [androidtvremote2] Unhandled: remote_error { value: true message { remote_configure { code1: 623 device_info { unknown1: 1 unknown2: "1" package_name: "atvremote" app_version: "1.0.0" } } } }

@narrcom
Copy link

narrcom commented May 12, 2023

@tronikos
I don't know if this may help or not but I found this information on amazon about deep linking on Fire TV, I will be more than happy to test it for you if you come up with a solution...
Deep Linking to Featured Content from the Fire TV UI

@tronikos
Copy link
Member

@narrcom It doesn't help. That's irrelevant.

Others, since Fire TV isn't an officially supported device of the Android TV Remote Service and I don't own one, I'm afraid you are on your own.

After the associated PR is merged I consider this a feature request which shouldn't be tracked in github so this issue will be closed.

@narrcom
Copy link

narrcom commented May 12, 2023

@tronikos,
Just trying to help, I get the impression you don't like Amazon devices very much, the feeling is mutual, except I don't like google devices either, just a necessary evil ATM... both try to control their ecosystems too much... I can't wait until the day we can use home Assistant to handle it all, "year of the voice" will handle the smart speakers, but cant wait for "year of the display" I hope...

Fire TV is rebranded and modified Android TV and since it works fine with the Android debug bridge integration, I thought you would want to include it as well in your integration... your documentation does not mention not supporting any way... maybe just a note saying so would help others to understand...

BTW/ great work and it is appreciated by us all...

@issue-triage-workflows
Copy link

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 with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@issue-triage-workflows issue-triage-workflows bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 17, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Sep 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
5 participants