A tiny Android TV app that lets Home Assistant make a Sony Bravia TV's remote control beep, so you can find it.
Some Sony TVs have a "find the remote" feature, started by a button on the TV. Home Assistant's Android TV Remote integration can't start it directly, but it can open links on the TV. This app handles the link findremote://go: it starts Sony's own feature, then closes.
- About 9 KB, with no permissions and no internet access
- Shows no screen of its own and doesn't appear in the TV's app list
- Debugging is only needed to install it, not to use it
- A Sony TV with Android TV or Google TV that has the find remote feature, and a remote that supports it
- Home Assistant with the Android TV Remote integration connected to the TV
Tested on one TV: a 65-inch Sony BRAVIA 8 OLED (model K-65XR80C) with Android 14. Other models may not have the Sony screen this app relies on.
-
Download
find-remote.apkfrom this repository's Releases page. -
On the TV, turn on Developer options, then Wireless debugging.
-
Choose Pair device with pairing code on the TV, then run this on your computer with the address and port it shows:
adb pair TV_IP:PAIRING_PORT -
Connect using the port on the main Wireless debugging screen (it's different from the pairing port), then install:
adb connect TV_IP:PORT adb install find-remote.apk -
Test it. The remote should beep:
adb shell am start -a android.intent.action.VIEW -d findremote://go -
Turn Wireless debugging off again.
Add a button to a dashboard, using your TV's remote entity:
type: shortcut
label: Find remote
icon: mdi:remote-tv
color: orange
tap_action:
action: perform-action
perform_action: remote.turn_on
target:
entity_id: remote.family_room_tv
data:
activity: findremote://goThe same action works in a script or automation:
action: remote.turn_on
target:
entity_id: remote.family_room_tv
data:
activity: findremote://goThe app starts this Sony screen, which is already on the TV:
| Package | com.sony.dtv.assistantadapter |
| Activity | com.sony.dtv.assistantadapter.activity.ControlTvActivity |
| Action | com.sony.dtv.cdaadapter.intent.action.FIND_RC |
Sony doesn't document it, so a TV software update could change or remove it.
Any app on the TV can open findremote://go. All it can do is make the remote beep.
With debugging on, trigger the button and read the app's log:
adb logcat -d -s FindRemote
Find remote request sent: the app did its part. If there's no beep, check the remote's batteries and that it's paired with the TV.Could not start the Sony find remote screen: this TV doesn't have the screen the app needs.- Nothing logged: the link didn't reach the app. Check that it's installed and that the Home Assistant entity is the right TV.
On Windows with JDK 17 and the Android SDK (build-tools 36.0.0 and platform android-36):
.\build.ps1The result is build\find-remote.apk. The first build creates a signing key, key.jks, which is not in this repository. Android only installs an update signed with the same key, so to install your own build over a release you must uninstall the app first.
Remove Find Remote from the TV's app settings, or run adb uninstall com.gblachstein.findremote.
This project is not affiliated with Sony.