# Binding to Philips 49PUS7101/12 android TV

**URL:** <https://community.openhab.org/t/binding-to-philips-49pus7101-12-android-tv/12428>\
**Category:** Bindings\
**Created:** [July 15, 2016, 8:00pm UTC](https://community.openhab.org/t/binding-to-philips-49pus7101-12-android-tv/12428 "2016-07-15T20:00:02Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![markus7017](https://community.openhab.org/user_avatar/community.openhab.org/markus7017/32/39859_2.png) [@markus7017](https://community.openhab.org/u/markus7017)\
**Post date:** [July 19, 2017, 9:58pm UTC](https://community.openhab.org/t/binding-to-philips-49pus7101-12-android-tv/12428/14 "2017-07-19T21:58:46Z")

</div>

see here for a solution based on ADB:

> [@Philips Android TV](https://community.openhab.org/t/philips-android-tv/15267):
>
> Hello, I want to control Philips Android TV via adb and exec binding. I can get screen status with such script: #!/bin/bash adb kill-server &\> /dev/null adb connect 192.168.2.247 &\> /dev/null sleep 1 &\> /dev/null if adb shell dumpsys power | grep -q 'Display Power: state=OFF'; then echo "OFF" else echo "ON" fi I can switch it on and off with: #!/bin/bash adb kill-server &\> /dev/null adb connect 192.168.2.247 &\> /dev/null sleep 1 &\> /dev/null if adb shell dumpsys power | grep -q 'Display P…

---

_[View the full topic](https://community.openhab.org/t/binding-to-philips-49pus7101-12-android-tv/12428)._
