Note: I was looking at Wireshark while sending Sony IP control commands with the errors seen below. There were no packets sent out to Port 20060, only 5555, and the log immediately showed no connection. After a reboot of MyServer, IP control is now working correctly. I'll keep an eye on it to make sure it continues to work. I'll leave the notes below for troubleshooting.
==========
The Android TV driver is no longer working for Power control, and I don't know the syntax to change inputs on the TV using the Test command from the Android TV driver.
For the Sony IP control driver, here is the log:
17/10/2025 16:16:02.16 · DEBUG · Server.doCommand - AV|7~Power~On from dashboard-fx-9u4m
17/10/2025 16:16:02.16 · DEBUG · SonyTVs.doCommand - Cmd=[7~Power~On] Client=[dashboard-fx-9u4m]
17/10/2025 16:16:02.16 · DEBUG · SonyTVs.TX >>> - TheaterTV:*SCPOWR0000000000000001
17/10/2025 16:16:02.16 · ERROR · SonyTVs.SendCommand - Cannot send command to device TheaterTV - Device not connected
17/10/2025 16:16:02.16 · DEBUG · SonyTVs.TX >>> - TheaterTV:*SEPOWR################
17/10/2025 16:16:02.16 · ERROR · SonyTVs.SendCommand - Cannot send command to device TheaterTV - Device not connected
Port 20060 is open:allonis@AllonisMyServer6:~ $ sudo nmap -p 20060 192.168.2.54
Starting Nmap 7.93 (
nmap.org
) at 2025-10-17 16:17 EDT
Nmap scan report for 192.168.2.54\
Host is up (0.00021s latency).
PORT STATE SERVICE
20060/tcp open unknown
MAC Address: 14:3F:A6:76:EB:E7 (Sony Home Entertainment&Sound Products)\
Nmap done: 1 IP address (1 host up) scanned in 0.28 seconds
Android TV Driver:
17/10/2025 16:21:05.21 · DEBUG · Server.doCommand - AV|35~Power~On from dashboard-fx-9u4m
17/10/2025 16:21:05.21 · DEBUG · AndroidTV.doCommand - Cmd=[35~Power~On] Client=[dashboard-fx-9u4m]
17/10/2025 16:21:05.21 · DEBUG · AndroidTV.doCommand - Reconnect to 192.168.2.54:5555
17/10/2025 16:21:05.21 · ERROR · AndroidTV.doCommand - Error in MoveNext - Object reference not set to an instance of an object.
17/10/2025 16:21:14.21 · DEBUG · AndroidTV.CheckAdb - Checking for ADB running
17/10/2025 16:21:14.21 · DEBUG · AndroidTV.CheckAdb - List of devices attached 192.168.2.129:55055 device 192.168.2.132:5555 unauthorized 192.168.2.23:5555 device 192.168.2.54:5555 device
17/10/2025 16:21:17.21 · DEBUG · AndroidTV.TX: ATV_TheaterTV - dumpsys display| grep "mScreenState"
17/10/2025 16:21:17.21 · DEBUG · AndroidTV.RX - ATV_TheaterTV << mScreenState=OFF>>
17/10/2025 16:21:17.21 · DEBUG · AndroidTV.TX: ATV_TheaterTV - dumpsys activity activities | grep "mResumedActivity"
17/10/2025 16:21:17.21 · DEBUG · AndroidTV.RX - ATV_TheaterTV <<>>