suborb / philips_android_tv

Tools to control Philips 2016 Android TVs
GNU General Public License v2.0
121 stars 61 forks source link

How do i install this? #36

Open vaenror opened 3 years ago

vaenror commented 3 years ago

Hello, I'm a noob. I have 0 knowledge with python or programming. I'm using a Homebridge and want to add my Philips TV (OLED854/12). I installed the homebridge plugin, and now i'm trying to get the credentials to add the to the homebridge plugin.

How do i fetch the credentials? Do i have to run something in the homebridge command prompt or can i also do this on windows? I always get a syntax Error on the command line in homebridge when trying anything. Please send help v.v

vaenror commented 3 years ago

When i enter in homebridge console: pip install -r requirements.txt it says Errno2 no such file or directory

vaenror commented 3 years ago

So i got a little further. But when i try to download or install, i get: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-731V9v/

szpanelewski commented 3 years ago

can u help me to use correctly command "pip install -r requirements.txt"? Where did u typed it in?

EDIT: found it, but still need help if u can help me reply to this

Staubgeborener commented 3 years ago
  1. sudo apt-get update
  2. sudo apt-get install git
  3. git clone https://github.com/suborb/philips_android_tv
  4. cd philips_android_tv
  5. Install Python3: Tutorial
  6. sudo apt-get install pip3
  7. pip3 install -r requirements.txt
  8. Turn on TV
  9. python3 philips.py --host <YOUR_IP_ADDRESS> pair
  10. Your TV shows a code, be fast, the code will disappear
  11. Type the code on your tv into your terminal
  12. You get a username and a password. gg.