GithubHelp home page GithubHelp logo

arzzen / philips-tv Goto Github PK

View Code? Open in Web Editor NEW
75.0 10.0 17.0 31 KB

Tools to control Philips (2016, 2017, 2018, 2019) Android TV via command line.

Home Page: https://lukasmestan.com/how-to-controll-philips-tv-via-command-line/

License: MIT License

Makefile 7.05% Shell 92.95%
philips-tv philips tools control bash command-line-tool api-client tv

philips-tv's Introduction

             ---(  )----\==<
          >==\       oo  \
              \_       __ \--\  *
                /_____/  \_\  \/
                  ||
                  ||
                  ^^
          this cow was caught
      in a transporter malfunction

philips-tv's People

Contributors

arzzen avatar clearminds avatar fliphess avatar saitooo avatar suborb avatar tonialho avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

philips-tv's Issues

Helo me please

Hello, you could help me. I'm new with this and my goal is to install Homebridge Philips from 2018. I have followed this tutorial and when I run 192.168.0.182 "& &./tv.sh <12> does nothing, I do wrong???

Incompatible with macOS

Issue

Getting errors on macOS due to dependency issues:

  • tr raises an error
❯ ./tv.sh currentChannel
tr: Illegal byte sequence
./tv.sh: line 70: $1: unbound variable
  • base64 raises an error (-d on linux corresponds to -D on macOS)
❯ ./tv.sh
<selected Option 1>
tr: Illegal byte sequence
Please enter 4 digit PIN code from your TV:
9969
base64: invalid option -- d
Usage:	base64 [-hvD] [-b num] [-i in_file] [-o out_file]
  -h, --help     display this message
  -D, --decode   decodes input
  -b, --break    break encoded string into num character lines
  -i, --input    input file (default: "-" for stdin)
  -o, --output   output file (default: "-" for stdout)

Here, it seems a connection to the TV is established (Pin shows up on TV), but base64 crashes the script immediately afterwards.

I will try to help, when I get around to have a look at your source code. For now, let me just report these errors here for future reference!

Setup

Running macOS on most recent macOS Mojave 10.14.3.

  1. I have installed jq via brew
❯ brew install jq
❯ jq --version
jq-1.6
  1. I have cloned your repo and installed via sudo make install
  2. I have set the _TV_IP environment variable.

Question: trigger event from tv?

Hi!
Thanks for sharing your code, it helped me get stated creating my own app!

Do you have any idea if it is possible to trigger an event (like a web hook or similar) from the TV?
For instance, I want to listen for if the tv is turned on or off.

Thanks!

How to re-pair?

Hi,

i entered the wrong pin number, then i have not been able to redo the pair. I removed the .credentials.tv file but he did not ask for a pin again.

How can i get this fixed?

Getting "The server has not found anything" when running commands

Hi! Very good initiative you've made here! But I have an issue. I have PHILIPS 55PUS7170 . When running any of the commands I'm getting error:

<html> <head> <title>Status page</title> </head> <body style="font-family: sans-serif;"> <p style="font-size: 1.2em;font-weight: bold;margin: 1em 0px;">Not Found</p> <p>The server has not found anything matching the request URI</p> <p>You can get technical details <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.5">here</a>.<br> Please continue your visit at our <a href="/">home page</a>. </p> </body> </html>

The same when I'm accessing https://[my-ip]:1926/

Do you know how to overcome this?

No response from TV

I have a model 49PUS6803 and I tried your script but It does return nothing. I could provide some debug information if you give me a tip on how to do that.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.