-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
module crash #8
Comments
i have the same issue... :( |
Might be because your TV doesn't support jointspace, which is required for this plugin to work. If your TV is based on Android TV (smart TV) then it will not work. |
Well it's smart tv based but jointspace is enabled... (by the remote code and it has been displayed on the screen that jointspace was enabled) |
Ok, did you try to trigger some actions on your tv with jointspace (turning on/off ambilight for instance), using web browser (ip of your tv:1925) ? |
well... my TV is a philips 55pus7600/12 based on android (smart) TV :( |
You're welcome. Unfortunately jointspace is not supported anymore, on your 2015 model Android API is taking over... I'm sorry I don't know if there is a solution available yet (I guess not). |
Strange, my TVs both support jointspace - the page is displayed when accessing it. |
Hi @trendchiller , hi @newbeetle59 , if also had the problem. Seems that the port :1925 is no longer supported, but :1926 is doing the job now. I've looked around a little bit, and found this python script. https://github.com/suborb/philips_android_tv I played a little bit around with curl, and could authenticate against the tv. But that was it. After that i always get access denied errors. Here i found the hint, that 2016 models (or earlier) changed the API: https://www.domoticz.com/wiki/Philips_tv |
Is there an update? |
@Bankaifan what is the model-year of your TV? 2016? 2017? You can try my (still unmerged) pull-request here: #9 It adds compatibility for the 2016th models and their new API. |
It is a 2016 Model. |
@skrollme |
@Bankaifan what do you mean exactly with "seems to stop working"? Any error messages? For me it works since I created the 2016-version. Unfortunatly I have only one TV to test with ;) |
Yepp: This happens when I have switched the TV off via the standard remote |
@Bankaifan Ah, you are talking about switching it on again. That is not supported by the TV's API. The creator of this homekit plugin did a workaround for this. Try to enable/configure the WakeOnLan functionality in this Plugin and your TV. As far as I know, that is the only way to remotly switch the TV on. |
Switching off and on again using HomeKit works great. What is The difference when switching off using the TVs remote? |
Maybe the API-Call used by this plugin does not switch off completely and only does a hibernate or sleep, from which the TV can be woken up again via API. |
I’ve the same issue with my 55POS901f… |
Do you mean this, @maciboy ?
|
Just git cloned and replaced my directory for homebridge-philipstv with your modified files @skrollme Any idea why I keep getting this error that stops homebridge from even booting up? Thanks in advance for the help! *** WARNING *** The program 'nodejs' uses the Apple Bonjour compatibility layer of Avahi.
[1/10/2017, 5:15:38 PM] Homebridge is running on port 51826. SyntaxError: Unexpected token < |
Had same error as first post, but got it working by editing these lines in homebridge-philipstv/index.js: this.off_url = "http://"+this.ip_address+":1925/"+this.api_version+"/input/key"; Status url will report source when the tv is on, so even if the plug-in don't get the correct response it sets variable to on. Seems like some jointspace API versions don't have /powerstate implemented. (I have 2012 version) |
I had same error. I have 2011 Philips. I fixed the homebridge-philipstv/index.js for status_url. |
I think a simple try-catch around |
This plugin must implement the new HAP-NodeJS API for TVs. It currently doesn't. |
[11/27/2016, 10:23:20 PM] [My Philips TV] getPowerState - actual mode
<title>Not Found</title>Not Found ^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 ?
The text was updated successfully, but these errors were encountered: