Open Faisalthe01 opened 9 months ago
I have tried KEYCODE_TV_POWER too
Have you tried removing "poweroff": "KEYCODE_SLEEP KEYCODE_SLEEP", "poweron": "KEYCODE_POWER KEYCODE_POWER"
from your config? Or just put one key code instead of double, for example: "poweroff": "KEYCODE_SLEEP", "poweron": "KEYCODE_POWER"
?
Also can you attach, the whole part of homebridge-adb log, from the when plugin start?
Hi @dwaan , yes i tried to remove it and tried few other combinations like KEYCODE_WAKEUP both singles and doubles but no luck. I tried with WOL too
15/02/2024, 12:16:27] [homebridge-adb] Restarting child bridge...
[15/02/2024, 12:16:27] Got SIGTERM, shutting down child bridge process...
[15/02/2024, 12:16:32] [homebridge-adb] Child bridge process ended
[15/02/2024, 12:16:32] [homebridge-adb] Process Ended. Code: 143, Signal: null
[15/02/2024, 12:16:39] [homebridge-adb] Restarting Process...
[15/02/2024, 12:16:43] [homebridge-adb] Launched child bridge with PID 2566
[15/02/2024, 12:16:43] Registering platform 'homebridge-adb.HomebridgeADB'
[15/02/2024, 12:16:43] [homebridge-adb] Loaded homebridge-adb v2.1.2 child bridge successfully
[15/02/2024, 12:16:43] Loaded 0 cached accessories from cachedAccessories.0E8CD2111874.
[15/02/2024, 12:16:43] [homebridge-adb] Bedroom TV - ð¤ Initializing
[15/02/2024, 12:16:44] [homebridge-adb] Google TV - ð¤ Initializing
[15/02/2024, 12:16:44] [homebridge-adb]
WARNING:
Unrecognized accessory - "Google TV".
Please check if the accessory's IP address is correct.
If your accessory is turned OFF, please turn it ON.
[15/02/2024, 12:16:44] Homebridge v1.5.1 (HAP v0.10.4) (homebridge-adb) is running on port 48293.
[15/02/2024, 12:16:44] Google TV 5D2A is running on port 37399.
[15/02/2024, 12:16:44] Please add [Google TV 5D2A] manually in Home app. Setup Code: 533-22-240
[15/02/2024, 12:16:44] [homebridge-adb] Bedroom TV - ð Input: Home
[15/02/2024, 12:16:45] [homebridge-adb] Bedroom TV - ð Input: Netflix
[15/02/2024, 12:16:45] [homebridge-adb] Bedroom TV - ð Input: YouTube
[15/02/2024, 12:16:45] [homebridge-adb] Bedroom TV - ð TV created
[15/02/2024, 12:16:45] [homebridge-adb] Bedroom TV - ð Speaker created
[15/02/2024, 12:16:45] [homebridge-adb] Bedroom TV - ð¤ Accessory initialized.
[15/02/2024, 12:16:45] [homebridge-adb] Bedroom TV - ð Connecting...
[15/02/2024, 12:16:45] Bedroom TV A722 is running on port 40167.
[15/02/2024, 12:16:45] Please add [Bedroom TV A722] manually in Home app. Setup Code: 533-22-240
[15/02/2024, 12:16:45] [homebridge-adb] Bedroom TV - ð Connected
[15/02/2024, 12:16:48] [homebridge-adb] Bedroom TV - ð Alive: Thu Feb 15 2024 12:16:48 GMT+1100 (Australian Eastern Daylight Time)
[15/02/2024, 12:16:56] [homebridge-adb] Bedroom TV - ð¤ Awake
[15/02/2024, 12:17:09] [homebridge-adb] Bedroom TV - ð Trying to turn OFF accessory
[15/02/2024, 12:17:09] [homebridge-adb] Bedroom TV - ð Turning power off
[15/02/2024, 12:17:10] [homebridge-adb] Bedroom TV - ð Turning power off: true, 10
[15/02/2024, 12:17:12] [homebridge-adb] Bedroom TV - ð Turning power off: false, 9
[15/02/2024, 12:17:12] [homebridge-adb] Bedroom TV - ð Turning power off: Success
[15/02/2024, 12:17:12] [homebridge-adb] Bedroom TV - ð¤ Sleep
[15/02/2024, 12:17:12] [homebridge-adb] Bedroom TV - ð Power Off - Success
[15/02/2024, 12:17:22] [homebridge-adb] Bedroom TV - ð Trying to turn ON accessory. This will take awhile, please wait...
[15/02/2024, 12:17:22] [homebridge-adb] Bedroom TV - ð Turning power on
[15/02/2024, 12:17:24] [homebridge-adb] Bedroom TV - ð Turning power on: false, 10
[15/02/2024, 12:17:26] [homebridge-adb] Bedroom TV - ð Turning power on: false, 9
[15/02/2024, 12:17:28] [homebridge-adb] Bedroom TV - ð Turning power on: false, 8
[15/02/2024, 12:17:30] [homebridge-adb] Bedroom TV - ð Turning power on: false, 7
[15/02/2024, 12:17:32] [homebridge-adb] Bedroom TV - ð Turning power on: false, 6
[15/02/2024, 12:17:35] [homebridge-adb] Bedroom TV - ð Turning power on: false, 5
[15/02/2024, 12:17:37] [homebridge-adb] Bedroom TV - ð Turning power on: false, 4
[15/02/2024, 12:17:39] [homebridge-adb] Bedroom TV - ð Turning power on: false, 3
[15/02/2024, 12:17:41] [homebridge-adb] Bedroom TV - ð Turning power on: false, 2
[15/02/2024, 12:17:43] [homebridge-adb] Bedroom TV - ð Turning power on: false, 1
[15/02/2024, 12:17:43] [homebridge-adb] Bedroom TV - ð Turning power on: Failed
[15/02/2024, 12:17:43] [homebridge-adb] Bedroom TV - ð¤ Power On - Failed
[15/02/2024, 12:17:43] [homebridge-adb] Bedroom TV - ð Power on error message: Failed
[15/02/2024, 12:17:53] [homebridge-adb] Bedroom TV - ð Alive: Thu Feb 15 2024 12:17:53 GMT+1100 (Australian Eastern Daylight Time)
`
Sorted, i turned on this from Network & Internet settings and it is turning on from Home app tile.
Before you post Please make sure you done all the necessary steps in Prerequisite in README.md Yes
config
{ "name": "Bedroom TV", "ip": "192.168.4.91:5555", "interval": 1000, "path": "/usr/bin/adb", "timeout": 1000, "playbacksensor": false, "category": "TELEVISION", "hidenumber": true, "hidehome": false, "hideother": true, "debug": true, "skipSpeaker": false, "inputs": [ { "name": "Netflix", "id": "com.netflix.ninja" }, { "name": "YouTube", "id": "com.google.android.youtube.tv" } ], "playpausebutton": "KEYCODE_MEDIA_PLAY_PAUSE", "backbutton": "KEYCODE_BACK KEYCODE_BACK", "infobutton": "KEYCODE_HOME KEYCODE_HOME", "poweroff": "KEYCODE_SLEEP KEYCODE_SLEEP", "poweron": "KEYCODE_POWER KEYCODE_POWER" },
Describe the situation android tv fails to turn on from HomeKit tile
Log output