gw-wiscon / homebridge-philipstv Goto Github PK
View Code? Open in Web Editor NEWHomebridge module for Philips TV (with JointSpace enabled)
Homebridge module for Philips TV (with JointSpace enabled)
Hi, i am a noob, do you think i have to put manually for
{"serialnumber":"Unknown","model":"Unknown","manufacterer":"Philips","name":"not provided","softwareversion":"Unknown","manufacturer":"Philips"}
where can i find file to modify config please
Thanks for your help
2016-04-05 01:45:19] Loading 1 accessories...
[2016-04-05 01:45:19] [My Philips TV] Initializing PhilipsTV accessory...
[2016-04-05 01:45:19] [My Philips TV] Model year: 2014
[2016-04-05 01:45:19] [My Philips TV] API version: 5
[2016-04-05 01:45:19] [My Philips TV] Setting info: {"serialnumber":"Unknown","model":"Unknown","manufacterer":"Philips","name":"not provided","softwareversion":"Unknown","manufacturer":"Philips"}
[2016-04-05 01:45:19] [My Philips TV] start polling..
[2016-04-05 01:45:19] [My Philips TV] getPowerState - actual mode
[2016-04-05 01:45:19] [Philips Hue] Initializing platform accessory 'Ruban salon'...
[2016-04-05 01:45:19] [Philips Hue] Initializing platform accessory 'Spot salon'...
[2016-04-05 01:45:19] [Philips Hue] Initializing platform accessory 'Ruban cuisine'...
[2016-04-05 01:45:19] [Philips Hue] Initializing platform accessory 'Spot cuisine'...
[2016-04-05 01:45:20] [Living Room Harmony Hub] Found Logitech Harmony remote hub: 192.168.1.13
[2016-04-05 01:45:20] [Living Room Harmony Hub] Connecting to Logitech Harmony remote hub...
[2016-04-05 01:45:21] [Living Room Harmony Hub] Connected to Logitech Harmony remote hub
[2016-04-05 01:45:21] [Living Room Harmony Hub] Fetching Logitech Harmony devices and activites...
[2016-04-05 01:45:21] [Living Room Harmony Hub] Fetching Logitech Harmony activities...
[2016-04-05 01:45:22] [My Philips TV] getPowerState - actual mode - current state: false
[2016-04-05 01:45:22] [My Philips TV] event - status poller - new state: false
[2016-04-05 01:45:22] [My Philips TV] setPowerState - polling mode, ignore, state: false
[2016-04-05 01:45:23] [Living Room Harmony Hub] Found activities:
Jouer a la Xbox
Regarder la TV
PowerOff
Htpc
[2016-04-05 01:45:23] [Living Room Harmony Hub] Initializing platform accessory 'Htpc'...
[2016-04-05 01:45:23] [Living Room Harmony Hub] Initializing platform accessory 'Jouer a la Xbox'...
[2016-04-05 01:45:23] [Living Room Harmony Hub] Initializing platform accessory 'Regarder la TV'...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
┌────────────┐
│ 031-45-154 │
└────────────┘
[2016-04-05 01:45:23] Homebridge is running on port 51826.
[2016-04-05 01:46:19] [My Philips TV] start polling..
[2016-04-05 01:46:19] [My Philips TV] getPowerState - actual mode
[2016-04-05 01:46:22] [My Philips TV] getPowerState - actual mode - current state: false
[2016-04-05 01:47:04] [My Philips TV] getPowerState - polling mode, return state: false
[2016-04-05 01:47:08] [My Philips TV] getPowerState - polling mode, return state: false
[2016-04-05 01:47:09] [My Philips TV] setPowerState - setting power state to on
[2016-04-05 01:47:09] [My Philips TV] setPowerState - WOL request done..
[2016-04-05 01:47:09] [My Philips TV] Excuting WakeOnLan request to 1C:5a:6b:80:42:72
[2016-04-05 01:47:09] [My Philips TV] setPowerState - WOL callback response: OK
[2016-04-05 01:47:09] [My Philips TV] setPowerState - powerstate attempt, attempt id: 8
[2016-04-05 01:47:12] [My Philips TV] setPowerState - powerstate attempt, attempt id: 7
[2016-04-05 01:47:15] [My Philips TV] setPowerState - powerstate attempt, attempt id: 6
[2016-04-05 01:47:18] [My Philips TV] setPowerState - powerstate attempt, attempt id: 5
[2016-04-05 01:47:19] [My Philips TV] start polling..
[2016-04-05 01:47:19] [My Philips TV] getPowerState - actual mode
[2016-04-05 01:47:21] [My Philips TV] setPowerState - powerstate attempt, attempt id: 4
[2016-04-05 01:47:22] [My Philips TV] getPowerState - actual mode - current state: false
[2016-04-05 01:47:22] [My Philips TV] event - status poller - new state: false
[2016-04-05 01:47:22] [My Philips TV] setPowerState - polling mode, ignore, state: false
[2016-04-05 01:47:24] [My Philips TV] setPowerState - powerstate attempt, attempt id: 3
[2016-04-05 01:47:27] [My Philips TV] setPowerState - powerstate attempt, attempt id: 2
[2016-04-05 01:47:30] [My Philips TV] setPowerState - powerstate attempt, attempt id: 1
[2016-04-05 01:47:33] [My Philips TV] setPowerState - powerstate attempt, attempt id: 0
[2016-04-05 01:47:36] [My Philips TV] setPowerState - failed: ETIMEDOUT
[2016-04-05 01:47:36] [My Philips TV] setPowerState - failed - current state: false
[2016-04-05 01:47:36] [My Philips TV] setPowerState - PWR: Error: HTTP attempt failed - false -- current state: false
[2016-04-05 01:47:36] [My Philips TV] setPowerState - PWR: ERROR -- current state: false
[2016-04-05 01:47:36] [My Philips TV] setPowerState - polling mode, ignore, state: false
[2016-04-05 01:47:47] [My Philips TV] getPowerState - polling mode, return state: false
[2016-04-05 01:47:55] [My Philips TV] Identify requested!
[2016-04-05 01:48:01] [My Philips TV] setPowerState - setting power state to on
[2016-04-05 01:48:01] [My Philips TV] setPowerState - WOL request done..
[2016-04-05 01:48:01] [My Philips TV] Excuting WakeOnLan request to 1C:5a:6b:80:42:72
[2016-04-05 01:48:01] [My Philips TV] setPowerState - WOL callback response: OK
[2016-04-05 01:48:01] [My Philips TV] setPowerState - powerstate attempt, attempt id: 8
[2016-04-05 01:48:04] [My Philips TV] setPowerState - powerstate attempt, attempt id: 7
[2016-04-05 01:48:06] [My Philips TV] setPowerState - setting power state to off
[2016-04-05 01:48:07] [My Philips TV] setPowerState - powerstate attempt, attempt id: 6
[2016-04-05 01:48:09] [My Philips TV] setPowerState - failed: ETIMEDOUT
[2016-04-05 01:48:09] [My Philips TV] setPowerState - failed - current state: false
[2016-04-05 01:48:09] [My Philips TV] setPowerState - PWR: Error: HTTP attempt failed - false -- current state: false
[2016-04-05 01:48:09] [My Philips TV] setPowerState - PWR: ERROR -- current state: false
[2016-04-05 01:
Hello i have a 2016 TV and when i turn off Ambilight it wont turn on over the Plugin when i press the switch in Home APP i have to turn it on over my Remote Controll
hey, does anyone have a Philips Ambilight 2019 model running on homebridge yet? I haven't been able to get any of the published plugins working.. just wondered if someone has successfully forked it?
Hi,
I just discovered that to work properly the function of WOL in models 2014 or higher , would have to add the module wake on lan and when the function of power on launches first have to make a wol the WiFi Mac address and then launch the function as power on this , but does not work well . Therefore should add the module wake on lan and first wol command to launch the IP address and then the function wifi poweron.
Thanks
Hi,
I really like this plugin and the successor …-x by @skrollme
From the python script needed for pairing, I learned that toggling mute seems to be a possible command. https://github.com/suborb/philips_android_tv
Would it be possible to add a mute toggle as a third switch besides power and Ambilight?
I think it would be a great addition ;)
Hi gw-wiscon you can make a big favor me? I need control sharp aquos tv! You think you can make homebridge-sharptv?
Hello, is it possible to have compatibility with TV in home that came with iOS 12.2, rather than the switch? thank you
[11/27/2016, 10:23:20 PM] [My Philips TV] getPowerState - actual mode
undefined:1
SyntaxError: Unexpected token < in JSON at position 0
at Object.parse (native)
at Object. (/usr/lib/node_modules/homebridge-philipstv/index.js:246:35)
at Request._callback (/usr/lib/node_modules/homebridge-philipstv/index.js:92:3)
at Request.self.callback (/usr/lib/node_modules/homebridge-philipstv/node_modules/request/request.js:186:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request. (/usr/lib/node_modules/homebridge-philipstv/node_modules/request/request.js:1081:10)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at IncomingMessage. (/usr/lib/node_modules/homebridge-philipstv/node_modules/request/request.js:1001:12)
Every time my tv is switched on, the module crashes.
What might be the issue ?
Hi, with my Philips TV 7000 series i need to press 1 time on homekit App, wait homebridge to do 8 attempts and then retry to press on homekit, after that the TV will power on.
Why does it happen?
Hello @skrollme,
i tried to use your fork version. I get the following errors after a short time when starting the Homebridge:
Mär 16 11:17:09 HomeKitServer homebridge[10387]: [2018-3-16 11:17:09] [My Philips TV] getPowerState - ERROR: ETIMEDOUT
Mär 16 11:17:10 HomeKitServer homebridge[10387]: /usr/lib/node_modules/homebridge-philipstv-x/index.js:294
Mär 16 11:17:10 HomeKitServer homebridge[10387]: if (that.state != powerState) {
Mär 16 11:17:10 HomeKitServer homebridge[10387]: ^
Mär 16 11:17:10 HomeKitServer homebridge[10387]: ReferenceError: powerState is not defined
Mär 16 11:17:10 HomeKitServer homebridge[10387]: at HttpStatusAccessory. (/usr/lib/node_modules/homebridge-philipstv-x/index.js:294:22)
Mär 16 11:17:10 HomeKitServer homebridge[10387]: at Request._callback (/usr/lib/node_modules/homebridge-philipstv-x/index.js:165:5)
Mär 16 11:17:10 HomeKitServer homebridge[10387]: at self.callback (/usr/lib/node_modules/homebridge-philipstv-x/node_modules/request/request.js:186:22)
Mär 16 11:17:10 HomeKitServer homebridge[10387]: at Request.emit (events.js:180:13)
Mär 16 11:17:10 HomeKitServer homebridge[10387]: at Timeout._onTimeout (/usr/lib/node_modules/homebridge-philipstv-x/node_modules/request/request.js:849:16)
Mär 16 11:17:10 HomeKitServer homebridge[10387]: at ontimeout (timers.js:466:11)
Mär 16 11:17:10 HomeKitServer homebridge[10387]: at tryOnTimeout (timers.js:304:5)
Mär 16 11:17:10 HomeKitServer homebridge[10387]: at Timer.listOnTimeout (timers.js:267:5)
Mär 16 11:17:10 HomeKitServer systemd[1]: homebridge-test.service: Main process exited, code=exited, status=1/FAILURE
I have a Philips Tv with Ambilight from year 2013.
Here is my config:
{
"accessory": "PhilipsTV",
"name": "My Philips TV",
"ip_address": "192.168.x.xx",
"poll_status_interval": "60",
"model_year" : "2013"
}
Do you have any idea why I get this error?
Another question. I switch my TV on and off with the Harmonyhub plugin, I would like to use only the Ambilight function. Is it possible for the power function to disable in the config.json?
Thank You!!!
Hey, do you work on Update about Homekit on iOS12.2 ?
Hello,
do you know if it's works for models : 43PUS6754 or 55PFK7509 ?
because for me this plugin doesn’t works :(
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.