TV: Philips 70pus7304/12
OH: 2.4
Binding version from 1 post
Is it true that Philips API works for about 100 request and then stops working? It could be aswer to common problems when everything works and rapidly stops working.
I’ve tried so many configurations, and recreations, copying and pasting user and pass codes, new PINS, everything, but when in the end of a day integration works again, next day morning… not. Sometimes cuting of power from TV and restart helps, other time no and I have to reconfigure everything from beggining.
For now I have on running TV thing status “Online Standby” and Power switch in OH turned off, when my TV is working and I’m watching TV. When I will switch it on i OH I will get Online but nothing else changes. So I could generate different status codes, but without impact on TV. I logs I have many of these errors:
"2020-01-06 21:12:43.127 [WARN ] [hilipstv.internal.service.AppService] - Error occurred during handling of command for apps: No content to map due to end-of-input
at [Source: ; line: 1, column: 1]
com.fasterxml.jackson.databind.JsonMappingException: No content to map due to end-of-input
at [Source: ; line: 1, column: 1]
at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148) ~[203:com.fasterxml.jackson.core.jackson-databind:2.4.5]
at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:3110) ~[203:com.fasterxml.jackson.core.jackson-databind:2.4.5]
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3051) ~[203:com.fasterxml.jackson.core.jackson-databind:2.4.5]
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2161) ~[203:com.fasterxml.jackson.core.jackson-databind:2.4.5]
at org.openhab.binding.philipstv.internal.service.AppService.getAvailableAppListFromTv(AppService.java:171) ~[?:?]
at org.openhab.binding.philipstv.internal.service.AppService.handleCommand(AppService.java:82) ~[?:?]
at org.openhab.binding.philipstv.internal.handler.PhilipsTvHandler.refreshTvProperties(PhilipsTvHandler.java:378) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
2020-01-06 21:12:43.138 [WARN ] [tv.internal.service.TvChannelService] - Error occurred during handling of command for TV Channels: No content to map due to end-of-input
at [Source: ; line: 1, column: 1]
com.fasterxml.jackson.databind.JsonMappingException: No content to map due to end-of-input
at [Source: ; line: 1, column: 1]
at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148) ~[203:com.fasterxml.jackson.core.jackson-databind:2.4.5]
at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:3110) ~[203:com.fasterxml.jackson.core.jackson-databind:2.4.5]
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3051) ~[203:com.fasterxml.jackson.core.jackson-databind:2.4.5]
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2161) ~[203:com.fasterxml.jackson.core.jackson-databind:2.4.5]
at org.openhab.binding.philipstv.internal.service.TvChannelService.getAvailableTvChannelListFromTv(TvChannelService.java:108) ~[?:?]
at org.openhab.binding.philipstv.internal.service.TvChannelService.handleCommand(TvChannelService.java:70) ~[?:?]
at org.openhab.binding.philipstv.internal.handler.PhilipsTvHandler.refreshTvProperties(PhilipsTvHandler.java:382) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
"
It seems like non of channels are refreshed now.
PS If you could werify my registration proces on TV:
- Turn on TV, wait for thing doscovered and add discovered thing.
- After displaying PIN on TV add it to thing.
- After that in thing should appear proper user, pass, mac, port, etc.
Q: Port should be to the end set to 1926…?
- Link all channels inside item string (I have defined them in files).
End
When firs problem occurred, I’ve rewiten all config to files. I thought it will be more stable. Now my thing defined as:
Thing philipstv:tv:F00DBABE_AA5E_BABA_DADA_(MAC) “Living Room TV - Philips” [host=“192.168.1.80”, port=“1926”, pairingCode="(pin)", username="(user)", password="(pass)" ]
What is the propper “start procedure”?
Did I missed something? I wa sin situation when binding/thing stopped working (COMMUNICATION ERROR/tv not responding to commands, etc), and then I’ve changed port to 8443. Suddenly thing had back to live, but after that situation described on the beggining of post occured.
5’th day I fighting with binding and only partial succes I have.
I be gratefully for eny help.
Edit: Now I’ve changed port to 1926 and again everything works fine na dI have no errors. I have no clue why it’s so unstable here.