How do I get all my apps on android TV ?(miobox 3)
Hi i have a issue with this , the addon connect to my tvbox ,and say connected on log but the media player component on HA , say unavailible , after many reboots when TV Is on , and restarting also ha and the addon , i can see the media player component, but as soon reboot the HA the media player back to unavailible
I don’t know why my device looped as image, after restar the hassio addon, but when is looping , i don’t see any error or issue on logs
Which log has no errors, the HA log or the ADB server add-on log?
neither, on adb log only say “already connected to 192.168.1.42:5555” on every timeout reconnect, and on the HA log i don’t show any issue, but when restart the addon, back to normal, for a while , i think happens when mi tv box goes to standby and after a time go to play again
Try this as a custom component and post the HA log. It won’t fix the issue, but it will log a lot of info.
ok, let me do it
Thanks for posting the log. Unfortunately, I don’t know what the cause of the error is. Does it ever go back to a stable connection?
When it’s doing this, try using the androidtv.adb_command
service to send the command echo hello
and post the HA log results (just the relevant lines).
Random idea: try adding device_class: firetv
to your config and let me know if the error still occurs.
hi, just now see the reply , let me do that and i post the log thanks
Release v0.5.1
This is a general maintenance release.
Changes
- Upgrades add-on base image to v3.1.4
Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck
Release v0.5.2
This is a general maintenance release.
Changes
- Upgrades add-on base image to v3.2.0
Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck
Hi,
After some recent update, I have noticed that my nvidia shield stoped respond to HA. Log for adb addon looks ok:
[a6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
-----------------------------------------------------------
Hass.io Add-on: ADB - Android Debug Bridge
The Android Debug Bridge server program
-----------------------------------------------------------
Add-on version: 0.5.2
You are running the latest version of this add-on.
System: Arch Linux ARM (armv7 / odroid-xu)
Home Assistant version: 0.98.5
Supervisor version: 187
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] adb.sh: executing...
[cont-init.d] adb.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[13:54:42] INFO: Starting the Android Debug Bridge server...
[13:54:43] INFO: Connecting to device: 192.168.0.230...
connected to 192.168.0.230:5555
[13:57:43] INFO: Connecting to device: 192.168.0.230...
already connected to 192.168.0.230:5555
So what can be wrong?
To be honest I can find the point when it stopped to work. My bad.
Never mind start working again.
Release v0.5.3
This is a general maintenance release.
Changes
- Upgrades add-on base image to v4.0.0
Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck
My nvidia shield keeps cycling between standby and playing despite it being in playing mode logs show no issues.
Exacly the same thing started happening to my configuration abourt a week ago.
Same here, I eventually got round to looking at it last night and after trying a few things it seems to work again. I restarted the add-on, turned network debugging off and back on, rebooted the Shied and then rebooted Hassio. No idea if any of that actually fixed the issue, and if so probably the on/off of the network debug but it seemed to be fine afterwards (at least last night anyway, I’ll report back if it stops working again). Perhaps worth a try?
Cheers
I restarted my nvidia shield, the addon and hassio with no luck. Haven’t tried to turn off and on the networking debug. I’ll try it that too.
Yeah, I’ve got the same issue as well. I set the scan_interval to 2 seconds a few weeks ago and thought I’d remove it as a test. After removing it, the component’s status doesn’t even update at all. It remains on Standby even if the Shield is playing.
Just as a side, seeing this in the logs of the add-on is rather disturbing as this suggests that the add-on attempts actual connectivity and realises that it is already connected. Seems rather unnecessary. I don’t know much about the ADB protocol, but if there is some or other network management messaging that should be used to maintain activity on the transport instead of attempting to connect every few seconds, then that should be used and thus, there should not be a need to “connect” every time.
[17:50:10] INFO: Connecting to device: 192.168.1.101…
already connected to 192.168.1.101:5555