Anyone is having a very laggish experience with FireTV? for example setupping a remote (that issues command like input keyevent …) will get a response after the click on home assistant after like 5seconds, sometime FireTV will totally miss these commands, also the background img in the media_player card is loaded very rarely any suggestion to improve performance?
Have you tried the Androidtv.learn_sendevent service? Android TV - Home Assistant
That made most commands faster for me.
As far as the background/screen cap, most images are restricted unless you are on the Home Screen as part of the copyright protection features to prevent people from recording stuff they aren’t supposed to… are you at least getting the images on the Home Screen?
Yes, i’ve tried the sendevent (someone have a full list of events of the firestick remote to avoid learning all myself?) but the unreliability is still here, sometime commands are lost in space, sometime just delayed of some secs, faraway from the experience of the original remote or (for a better comparison) the Fire TV app that allow you to use the smartphone as remote.
And yes, also when the fire stick is idle on homescreen i can see the background card image flickering on home assistant randomly changing blue/black/screenshot of firetv, here for example a 25sec clip:
Is ADB no more?
I decided once again to try and get this configured (tried numerous times before and it never works for me) I uninstalled the add-on and restarted HA to do it all over from the ground up, went back to the add-on store… ADB doesn’t show up under community add-ons at all anymore. Anyone else having this issue or is it just me?
It has been deprecated in favor of using the python adb implementation, which for me has been extremely reliable lately… you could still run your own server if needed but not via the add-on…
Why is the addon not shown in the store for me? HAOS installed on Proxmox
See above post…
A mí tampoco me aparece en la tienda de complementos, no se si es que ya no está. Alguien puede corroborarlo?
Can anyone clarify to me how androidtv.adb_command can be called right now?
I’ve already set it up in a script but I try to execute I get an error with “Unable to find service media_player.adb_command”.
I can’t find a way to call the command in order to get Custom State Detection correctly configured.
No wonder, because media_player
is for controlling a player, not your android device. You could easily have a few different media player on one Android device.
ADB commands are sent by the integration androidtv
, therefor you must use androidtv.adb_command
.
Sorry it was a typo in my post, the error that I’m getting is “Unable to find service androidtv.adb_command”.
Androidtv doens’t show in Services list in Programmer Tools either.
Did anyone manage to get an adb command working for starting a RTSP stream of a Unifi G4 Doorbell?
I tried this command multiple ways but can’t get it working, just getting a black screen and then a message some error:
command: >-
am start -a android.intent.action.VIEW -d
rtsp://user:[email protected]:XXX/Streaming/Channels/301 -n
org.videolan.vlc/.gui.video.VideoPlayerActivity
Hi guys, I was just wondering if anyone encountered this when using adb on an android tv. Sometimes, I need to press a button on the remote before adb commands work. Does this means that the remote is in a sleep mode and thus the TV would not respond to the ADB commands?
Has anyone got this to work with Plex when there are multiple accounts setup? I run a command
am start -a android.intent.action.VIEW -d plex://255b0c7c0bb81c6a402791ea7a36bb3eab3570b0/movie/library/metadata/49606
But it just brings me to the plex screen where you choose the user.
Hello,
Ive got my Mibox3 connected with Home Assistant, and it doesnt show errors in the logs, but also no new entities, states etc.
The mibox prompts me for a new key when I reconnect it, and I see the newly created keys in .storage.
However, except for that prompt and the new key files, nothing happens.
Does anyone know what to do next?
/config/mediaplayers.yaml
- platform: androidtv
host: 10.69.50.16
name: MIBOX3
I have the Python ADB implementation running, but have some troubles launching a few apps on my shield.
What is the best/easiest way now to find the ADB commands without the ADB server container running?
Can you forward the code?
heyy all
I get a new xiaomi 55 SMART TV and I try to connect her to HA,
And unfortunately I do not succeed to control her, I try anything
HA run on debian dokcer on rpi4, PYADB and ADB server on docker
Neflix and plex work not perfect but work
but the remote, it is slow like 3-4 sec per click
when I try androidtv.learn_sendevent and send whit androidtv: ADB command
I got adb_response: sendevent: /dev/input/event3: Permission denied
PLZ help
Bumping, just in case someone knowledgeable enough here, can help with my question…
Thanks in advance.
Is there a similar command to start a tv show? and how do I get the number at the end?