dwaan / homebridge-adb

Homebridge script to control remote ADB enabled Android device
MIT License
76 stars 15 forks source link

Add IR Transmitter function #70

Closed Jerrys-j closed 2 years ago

Jerrys-j commented 2 years ago

My device won't turn on after shutting down. It needs an IR blaster to turn it on. I have installed a network IR transmitter and just need to access http to trigger the start IR. How to modify the code?

dwaan commented 2 years ago

Nice idea. If you can contribute, you can start by looking at handleOnOff() function inside index.js, or you can wait for my implementation once I got free time to look for it.

Jerrys-j commented 2 years ago

Thank you, I tried to modify the code, but there seems to be a bug, the device state will be uncontrolled, and the shutdown state will return to the on state 微信截图_20220127195456 微信图片_20220127195522

dwaan commented 2 years ago

Thank you for the contribution. Implemented in new version, in beta testing right now.