Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

WoL: Unable to Wake Up from Sleep #83

Closed
ahmadnazirafiq opened this issue May 8, 2022 · 2 comments
Closed

WoL: Unable to Wake Up from Sleep #83

ahmadnazirafiq opened this issue May 8, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@ahmadnazirafiq
Copy link

ahmadnazirafiq commented May 8, 2022

Hi, I just got a new Haier Android TV which supports WoL and WoW. Added the correct IP and MAC address in the plugin. I’m able to put the TV to sleep however I’m unable to wake it up at all.

I’ve tried using all sorts of key_code commands like:
• KEYCODE_AWAKE
• KEYCODE_POWER
• KEYCODE_TV_POWER

Here’s an excerpt of the plugin config:

"hidenumber": true, "hideother": false, "playbacksensor": false, "debug": false, "upbutton": "KEYCODE_DPAD_UP", "downbutton": "KEYCODE_DPAD_DOWN", "leftbutton": "KEYCODE_DPAD_LEFT", "rightbutton": "KEYCODE_DPAD_RIGHT", "selectbutton": "KEYCODE_ENTER", "backbutton": "KEYCODE_BACK", "playpausebutton": "KEYCODE_MEDIA_PLAY_PAUSE", "infobutton": "KEYCODE_HOME", "poweron": "KEYCODE_TV_POWER KEYCODE_POWER KEYCODE_AWAKE KEYCODE_AWAKE", "poweronretry": 3, "poweroff": "KEYCODE_SLEEP", "volumeup": "KEYCODE_VOLUME_UP", "volumedown": "KEYCODE_VOLUME_DOWN"

However, when I use a separate plugin called Homebridge WoL (https://github.com/AlexGustafsson/homebridge-wol) with the same key-code as Homebridge ADB, I’m able to both wake and sleep the TV just fine.

Do you think its a bug? I’d prefer to just stick to a single plugin instead of relying another one just to wake the TV from sleep.

@dwaan
Copy link
Owner

dwaan commented May 8, 2022

I think this is a bug, will look at homebridge-wol to see how they implement their wol. Thank you for the head up.

dwaan added a commit that referenced this issue May 8, 2022
…ble fix for issue "ADB 2.0.0 beta 3 - Playback sensor not working on Firestik #81"
@dwaan dwaan added the bug Something isn't working label May 8, 2022
@dwaan
Copy link
Owner

dwaan commented May 18, 2022

Close and merge to #84 of similar issue.

@dwaan dwaan closed this as completed May 18, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants