Closed weimdall closed 1 year ago
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!
(message by CodeOwnersMention)
androidtv_remote documentation androidtv_remote source (message by IssueLinks)
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 https://github.com/home-assistant/home-assistant.io/pull/27273 to call out that it doesn't work with Fire TV.
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.
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:
remote_configure
message and sends one in return (line 2 & 3)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" } } } }
@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
@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.
@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...
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.
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