Created
January 20, 2020 19:14
-
-
Save det-peralta/eab8c1ffbc0263c9dcd9359ccbdedd45 to your computer and use it in GitHub Desktop.
TCL TV - android adb command - Home Assistant
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| entity_id: media_player.tcl_tv | |
| command: "am start -n com.tcl.tv/.TVActivity" |
Does it have input options on there. Trying to get the t.v. to read what's
in the HDMI port. When I check the logs or whatever it is called on termux
that I had show me the TV's current tasks, and it showed that the tv is
connecting to my phone through adb but stuck on the loop good enough to
where It won't finish the action of it connecting fully to hdmi since all I
care about is getting to use the t.v. as a monitor for my FireStick. IDC
about restoring the os and making in a functioning t.v.
…On Wed, Jul 30, 2025, 1:56 PM Sharan Kumar ***@***.***> wrote:
***@***.**** commented on this gist.
------------------------------
I found the path to quick menu panel that has brightness, bluetooth and
other options. But do not know how to automate it further. May be first
call this service and then send a up or down key event?
The command to bring that panel is adb shell am start -a
com.tcl.settings.action.QUICKSETTINGS
—
Reply to this email directly, view it on GitHub
<https://gist.github.com/det-peralta/eab8c1ffbc0263c9dcd9359ccbdedd45#gistcomment-5700977>
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BTW7YCM3M7KJUKFYUWR3ZQD3LEIOVBFKMF2HI4TJMJ2XIZLTSKBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDHNFZXJJDOMFWWLK3UNBZGKYLEL52HS4DFVRZXKYTKMVRXIX3UPFYGLK2HNFZXIQ3PNVWWK3TUUZ2G64DJMNZZDAVEOR4XAZNEM5UXG5FFOZQWY5LFVEYTAMBWHE3DINBSU52HE2LHM5SXFJTDOJSWC5DF>
.
You are receiving this email because you commented on the thread.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>
.
Thanks for the nice information.
I am trying to archive that homeassistant will start the „only audio“ setting from the TCL TV Settings. (Settings -> sound -> only audio) the App is com.tcl.settings but I am not sure how to get the Activity that needs to be starting. Do you have any hint?
I'm not using home assistant but the app TV Quick Actions Pro on my TV. What I did was launch the settings app and then use key input events to activate the audio mode only. It has to be adapted for your TV but it does the job for me.
keyevent 19 = UP
keyevent 20 = DOWN
keyevent 23 = ENTER
# open main settings
am start -n com.android.tv.settings/.MainSettings
# Just in case a different item is highlighted, press the "up" button 8 times to select the first item
input keyevent 19; input keyevent 19; input keyevent 19; input keyevent 19; input keyevent 19; input keyevent 19; input keyevent 19; input keyevent 19;
# open display and sound
input keyevent 20; input keyevent 23; sleep 2
# open sound
input keyevent 20; input keyevent 20; input keyevent 23
# open other settings
input keyevent 20; input keyevent 20; input keyevent 20; input keyevent 20; input keyevent 23
# select audio only
input keyevent 20; input keyevent 20; input keyevent 20; input keyevent 23
# confirm audio only
input keyevent 23
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found the path to quick menu panel that has brightness, bluetooth and other options. But do not know how to automate it further. May be first call this service and then send a up or down key event?
The command to bring that panel is adb shell am start -a com.tcl.settings.action.QUICKSETTINGS