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" |
adb shell service call tcl_tv_display 100 i32 0 i32 <0-100> i32 0
@sashoism this works perfectly for me but how would I get the current brightness value?
adb shell service call tcl_tv_display 100 i32 0 i32 <0-100> i32 0
@sashoism this works perfectly for me but how would I get the current brightness value?
% adb shell service call tcl_tv_display 101
Result: Parcel(00000000 00000032 '....2...')
32 is 50% in hexadecimal
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I found a way to set the brightness:
It launches the settings application but only displays the brightness slider.
The problem is that, as this is UI based, it's not possible to do this silently and get the current value.
My TV :
Model name: Smart TV Pro
Model number: 43C645
If it doesn't work for you, here are some files I used for reverse engineering that may help: