NEWS
Test Adapter Philips-TV v0.2.x
-
@prinzvonbillair sagte in Test Adapter Philips-TV v0.2.x:
@lucky_esa Zur Info, mein Problem aus Post https://forum.iobroker.net/post/1169762 mit dem Pairen mittels des Buttons im Adapter selbst besteht weiterhin, allerdings konnte ich den TV durch die 2 Javaskripte von dir pairen. Eventuell kannst du dies ja irgendwie in den Adapter integrieren. Übrigens mein TV hat Andoid 12, einige hier schreiben ja von Android 11, eventuell ist das 12er OS das Problem? Allerdings hat die Paarung vor ~ 3/4 Jahr ohne Probleme mit dem Button im Adapter funktioniert.!
Die 2 Scripte machen das was eigentlich der Adapter machen sollte. In meinen Augen ist das ein issues in der jsonConfig.json. Hier muss der Entwickler wahrscheinlich mal die Datei anpassen.
Des Weiteren nutzt dieser Adapter das Package "request" was nicht mehr angewendet werden sollte.Gruß//Lucky
-
Das Pairing Problem sollte mit 0.5.4 gefixt sein, anscheinend hat sich was im Verhalten von JSON Config verändert.
-
@foxriver76 sagte in Test Adapter Philips-TV v0.2.x:
Das Pairing Problem sollte mit 0.5.4 gefixt sein, anscheinend hat sich was im Verhalten von JSON Config verändert.
Moin,
das mit dem Pairing hat mit der 0.5.4 tatsächlich funktioniert, aber dafür bekomme ich im Log jetzt immer folgende Meldung:
2024-08-14 20:57:51.828 - info: philips-tv.0 (86167) starting. Version 0.5.4 (non-npm: AlCalzone/ioBroker.philips-tv) in /opt/iobroker/node_modules/iobroker.philips-tv, node: v20.16.0, js-controller: 6.0.9 2024-08-14 20:57:51.839 - info: philips-tv.0 (86167) Starting with ip "x.x.x.x" (API v6 - Android) 2024-08-14 20:58:05.558 - error: philips-tv.0 (86167) Could not poll API: Unexpected end of JSON input 2024-08-14 20:58:11.108 - error: philips-tv.0 (86167) Could not poll API: Unexpected end of JSON input 2024-08-14 20:58:16.743 - error: philips-tv.0 (86167) Could not poll API: Unexpected end of JSON input
gruß
Marc -
Habe genau das gleiche Problem mit meinem 75PUS8108/12 TV.
Gibt es schon eine Lösung?
Obwohl der Adapter nicht grün ist funktionieren dennoch einige Buttons und manche Datenpunkte werden aktualisiert und das trotz andauernder Fehlermeldung im Log:
Could not poll API: Unexpected end of JSON input
@fenriswolf sagte in Test Adapter Philips-TV v0.2.x:
@foxriver76 sagte in Test Adapter Philips-TV v0.2.x:
Das Pairing Problem sollte mit 0.5.4 gefixt sein, anscheinend hat sich was im Verhalten von JSON Config verändert.
Moin,
das mit dem Pairing hat mit der 0.5.4 tatsächlich funktioniert, aber dafür bekomme ich im Log jetzt immer folgende Meldung:
2024-08-14 20:57:51.828 - info: philips-tv.0 (86167) starting. Version 0.5.4 (non-npm: AlCalzone/ioBroker.philips-tv) in /opt/iobroker/node_modules/iobroker.philips-tv, node: v20.16.0, js-controller: 6.0.9 2024-08-14 20:57:51.839 - info: philips-tv.0 (86167) Starting with ip "x.x.x.x" (API v6 - Android) 2024-08-14 20:58:05.558 - error: philips-tv.0 (86167) Could not poll API: Unexpected end of JSON input 2024-08-14 20:58:11.108 - error: philips-tv.0 (86167) Could not poll API: Unexpected end of JSON input 2024-08-14 20:58:16.743 - error: philips-tv.0 (86167) Could not poll API: Unexpected end of JSON input
gruß
Marc -
@domi920 sagte in Test Adapter Philips-TV v0.2.x:
75PUS8108/12
Stop mal den Adapter und restarte den Fernseher unter Einstellung/system. Danach mal den Adapter starten...Kommt dann noch immer diese Fehler?
-
@lucky_esa Leider gibt es keine Möglichkeit den TV über die Einstellungen neu zu starten:
Habe den TV dafür ausgesteckt und 1 Minute gewartet und wieder neu gestartet.
Leider kommt die Fehlermeldung wieder.
Also erst ist der Adapter grün und nach wenigen Sekunden wieder orange und die Fehlermeldung kommt. -
@domi920 Wenn du den Adapter auf debug stellst, sind dann Logeinträge vorhanden?
-
@lucky_esa Hier ein Auszug:
27 12 Log-Größe: 1.6 MB philips-tv.0 Zeit debug Nachricht philips-tv.0 2024-08-25 14:38:28.883 error Could not poll API: Unexpected end of JSON input philips-tv.0 2024-08-25 14:38:23.586 error Could not poll API: Unexpected end of JSON input philips-tv.0 2024-08-25 14:38:18.335 error Could not poll API: Unexpected end of JSON input philips-tv.0 2024-08-25 14:38:13.259 debug Sending key "VolumeDown" philips-tv.0 2024-08-25 14:38:13.259 debug state change philips-tv.0.keys.volumeDown: false philips-tv.0 2024-08-25 14:38:13.102 error Could not poll API: Unexpected end of JSON input philips-tv.0 2024-08-25 14:38:07.852 error Could not poll API: Unexpected end of JSON input philips-tv.0 2024-08-25 14:38:02.613 error Could not poll API: Unexpected end of JSON input philips-tv.0 2024-08-25 14:37:57.282 error Could not poll API: Unexpected end of JSON input philips-tv.0 2024-08-25 14:37:51.992 error Could not poll API: Unexpected end of JSON input philips-tv.0 2024-08-25 14:37:46.696 error Could not poll API: Unexpected end of JSON input philips-tv.0 2024-08-25 14:37:44.350 debug Sending key "VolumeUp" philips-tv.0 2024-08-25 14:37:44.350 debug state change philips-tv.0.keys.volumeUp: true philips-tv.0 2024-08-25 14:37:41.453 error Could not poll API: Unexpected end of JSON input philips-tv.0 2024-08-25 14:37:39.302 debug Sending key "VolumeUp" philips-tv.0 2024-08-25 14:37:39.301 debug state change philips-tv.0.keys.volumeUp: true philips-tv.0 2024-08-25 14:37:36.251 error Could not poll API: Unexpected end of JSON input philips-tv.0 2024-08-25 14:37:30.998 error Could not poll API: Unexpected end of JSON input philips-tv.0 2024-08-25 14:37:25.738 error Could not poll API: Unexpected end of JSON input philips-tv.0 2024-08-25 14:37:20.448 error Could not poll API: Unexpected end of JSON input philips-tv.0 2024-08-25 14:37:14.913 debug No Ambilight plus Hue support: {"statusCode":404,"body":"<html><head><title>Not Found</title></head><body>Not Found</body></html>","headers":{"date":"Sun, 25 Aug 2024 12:37:14 GMT","connection":"close","content-type":"text/html; charset=utf-8","cache-control":"no-cache","access-control-allow-origin":"*","content-length":"72"},"request":{"uri":{"protocol":"https:","slashes":true,"auth":null,"host":"192.162.1.101:1926","port":"1926","hostname":"192.162.1.101","hash":null,"search":null,"query":null,"pathname":"/6/HueLamp/power","path":"/6/HueLamp/power","href":"https://192.162.1.101:1926/6/HueLamp/power"},"method":"GET","headers":{}}} philips-tv.0 2024-08-25 14:37:14.621 debug No app launch support: {"statusCode":403,"body":"<html><head><title>Forbidden</title></head><body>Forbidden</body></html>","headers":{"date":"Sun, 25 Aug 2024 12:37:14 GMT","connection":"close","content-type":"text/html; charset=utf-8","cache-control":"no-cache","access-control-allow-origin":"*","content-length":"72"},"request":{"uri":{"protocol":"https:","slashes":true,"auth":null,"host":"192.162.1.101:1926","port":"1926","hostname":"192.162.1.101","hash":null,"search":null,"query":null,"pathname":"/6/applications","path":"/6/applications","href":"https://192.162.1.101:1926/6/applications"},"method":"GET","headers":{}}} philips-tv.0 2024-08-25 14:37:09.370 info Starting with ip "192.162.1.101" (API v6 - Android) philips-tv.0 2024-08-25 14:37:09.362 info starting. Version 0.5.4 (non-npm: AlCalzone/ioBroker.philips-tv) in /opt/iobroker/node_modules/iobroker.philips-tv, node: v20.16.0, js-controller: 6.0.9 philips-tv.0 2024-08-25 14:37:09.173 debug States connected to redis: 127.0.0.1:9000 philips-tv.0 2024-08-25 14:37:09.110 debug States create User PubSub Client philips-tv.0 2024-08-25 14:37:09.110 debug States create System PubSub Client philips-tv.0 2024-08-25 14:37:09.097 debug Redis States: Use Redis connection: 127.0.0.1:9000 philips-tv.0 2024-08-25 14:37:09.075 debug Objects connected to redis: 127.0.0.1:9001 philips-tv.0 2024-08-25 14:37:09.071 debug Objects client initialize lua scripts philips-tv.0 2024-08-25 14:37:09.033 debug Objects create User PubSub Client philips-tv.0 2024-08-25 14:37:09.032 debug Objects create System PubSub Client philips-tv.0 2024-08-25 14:37:08.988 debug Objects client ready ... initialize now philips-tv.0 2024-08-25 14:37:08.965 debug Redis Objects: Use Redis connection: 127.0.0.1:9001
Die Lautstärkeregelung funktioniert
-
@domi920 sagte in Test Adapter Philips-TV v0.2.x:
6/6/applications
Poste mal den Inhalt von https://192.168.1.101:1926/6/system
Entferne aber bitte die Seriennummer. -
@Lucky_ESA
Hier bitte:{ "menulanguage": "German", "name": "75PUS8108/12", "country": "Germany", "serialnumber_encrypted": "ENTFERNT", "softwareversion_encrypted": "K2kseVsmQFgkd15gKkJ+atJJI6kYBl5fIhF2Isg2DFHegH9Cg/LU4b6H/tjCh/AJ", "model_encrypted": "K2kseVsmQFgkd15gKkJ+ahs1fLaY49yyZSxQD2RFgy0=", "deviceid_encrypted": "K2kseVsmQFgkd15gKkJ+arzW4E7OQEjAjzaJpAc3qtQ=", "nettvversion": "", "epgsource": "no_epg", "api_version": { "Major": 6, "Minor": 1, "Patch": 0 }, "featuring": { "jsonfeatures": { "recordings": [ "List", "Schedule", "Manage" ], "ambilight": [ "Ambilight" ], "textentry": [ "context_based", "initial_string_available" ], "inputkey": [ "key", "unicode" ], "pointer": [ "context_based" ], "activities": [ "browser" ], "alexa": [ "ssl_available" ] }, "systemfeatures": { "tvtype": "consumer", "content": [ "dmr" ], "pairing_type": "digest_auth_pairing", "secured_transport": true, "os_type": "Linux" } } }
-
@domi920 said in Test Adapter Philips-TV v0.2.x:
Leider gibt es keine Möglichkeit den TV über die Einstellungen neu zu starten:
Android-Gerät?
In den Einstellungen "Häufige Einstellungen" - "Alle Einstellungen" - "Android-Einstellungen" - "Geräteeinstellungen" - ganz nach unten scrollen -
@michaelnorge sagte in Test Adapter Philips-TV v0.2.x:
@domi920 said in Test Adapter Philips-TV v0.2.x:
Leider gibt es keine Möglichkeit den TV über die Einstellungen neu zu starten:
Android-Gerät?
In den Einstellungen "Häufige Einstellungen" - "Alle Einstellungen" - "Android-Einstellungen" - "Geräteeinstellungen" - ganz nach unten scrollenNein es ist kein Android System
-
Nein es ist kein Android System
Kenne jetzt nicht alle Einstellungen vom Adapter aber musst du dann nicht jointspace statt android auswählen?
Gruß//Lucky
-
@lucky_esa sagte in Test Adapter Philips-TV v0.2.x:
Nein es ist kein Android System
Kenne jetzt nicht alle Einstellungen vom Adapter aber musst du dann nicht jointspace statt android auswählen?
Gruß//Lucky
Dann kann man kein Pairing Starten im Adapter und dadurch auch keine Verbindung herstellen.
Der TV zeigt dann erst einen Pin an wenn man das Pairing einmal macht.Außerdem funktioniert dann gar nichts mehr:
philips-tv.0 2024-08-27 13:43:19.144 error Could not poll API: {"statusCode":403,"body":"<html><head><title>Forbidden</title></head><body>Forbidden</body></html>","headers":{"date":"Tue, 27 Aug 2024 11:43:18 GMT","connection":"close","content-type":"text/html; charset=utf-8","cache-control":"no-cache","access-control-allow-origin":"*","content-length":"72"},"request":{"uri":{"protocol":"http:","slashes":true,"auth":null,"host":"192.162.1.101:1925","port":"1925","hostname":"192.162.1.101","hash":null,"search":null,"query":null,"pathname":"/6/audio/volume","path":"/6/audio/volume","href":"http://192.162.1.101:1925/6/audio/volume"},"method":"GET","headers":{}}} philips-tv.0 2024-08-27 13:43:14.137 error Could not poll API: {"statusCode":403,"body":"<html><head><title>Forbidden</title></head><body>Forbidden</body></html>","headers":{"date":"Tue, 27 Aug 2024 11:43:13 GMT","connection":"close","content-type":"text/html; charset=utf-8","cache-control":"no-cache","access-control-allow-origin":"*","content-length":"72"},"request":{"uri":{"protocol":"http:","slashes":true,"auth":null,"host":"192.162.1.101:1925","port":"1925","hostname":"192.162.1.101","hash":null,"search":null,"query":null,"pathname":"/6/audio/volume","path":"/6/audio/volume","href":"http://192.162.1.101:1925/6/audio/volume"},"method":"GET","headers":{}}} philips-tv.0 2024-08-27 13:43:09.132 error Could not poll API: {"statusCode":403,"body":"<html><head><title>Forbidden</title></head><body>Forbidden</body></html>","headers":{"date":"Tue, 27 Aug 2024 11:43:08 GMT","connection":"close","content-type":"text/html; charset=utf-8","cache-control":"no-cache","access-control-allow-origin":"*","content-length":"72"},"request":{"uri":{"protocol":"http:","slashes":true,"auth":null,"host":"192.162.1.101:1925","port":"1925","hostname":"192.162.1.101","hash":null,"search":null,"query":null,"pathname":"/6/audio/volume","path":"/6/audio/volume","href":"http://192.162.1.101:1925/6/audio/volume"},"method":"GET","headers":{}}} philips-tv.0 2024-08-27 13:43:06.192 error Could not send key "VolumeDown": {"statusCode":403,"body":"<html><head><title>Forbidden</title></head><body>Forbidden</body></html>","headers":{"date":"Tue, 27 Aug 2024 11:43:05 GMT","connection":"close","content-type":"text/html; charset=utf-8","cache-control":"no-cache","access-control-allow-origin":"*","content-length":"72"},"request":{"uri":{"protocol":"http:","slashes":true,"auth":null,"host":"192.162.1.101:1925","port":"1925","hostname":"192.162.1.101","hash":null,"search":null,"query":null,"pathname":"/6/input/key","path":"/6/input/key","href":"http://192.162.1.101:1925/6/input/key"},"method":"POST","headers":{"content-length":20}}} philips-tv.0 2024-08-27 13:43:06.187 debug Sending key "VolumeDown" philips-tv.0 2024-08-27 13:43:06.187 debug state change philips-tv.0.keys.volumeDown: true philips-tv.0 2024-08-27 13:43:04.601 error Could not send key "YellowColour": {"statusCode":403,"body":"<html><head><title>Forbidden</title></head><body>Forbidden</body></html>","headers":{"date":"Tue, 27 Aug 2024 11:43:03 GMT","connection":"close","content-type":"text/html; charset=utf-8","cache-control":"no-cache","access-control-allow-origin":"*","content-length":"72"},"request":{"uri":{"protocol":"http:","slashes":true,"auth":null,"host":"192.162.1.101:1925","port":"1925","hostname":"192.162.1.101","hash":null,"search":null,"query":null,"pathname":"/6/input/key","path":"/6/input/key","href":"http://192.162.1.101:1925/6/input/key"},"method":"POST","headers":{"content-length":22}}} philips-tv.0 2024-08-27 13:43:04.597 debug Sending key "YellowColour" philips-tv.0 2024-08-27 13:43:04.597 debug state change philips-tv.0.keys.yellowColour: true philips-tv.0 2024-08-27 13:43:04.124 error Could not poll API: {"statusCode":403,"body":"<html><head><title>Forbidden</title></head><body>Forbidden</body></html>","headers":{"date":"Tue, 27 Aug 2024 11:43:03 GMT","connection":"close","content-type":"text/html; charset=utf-8","cache-control":"no-cache","access-control-allow-origin":"*","content-length":"72"},"request":{"uri":{"protocol":"http:","slashes":true,"auth":null,"host":"192.162.1.101:1925","port":"1925","hostname":"192.162.1.101","hash":null,"search":null,"query":null,"pathname":"/6/audio/volume","path":"/6/audio/volume","href":"http://192.162.1.101:1925/6/audio/volume"},"method":"GET","headers":{}}} philips-tv.0 2024-08-27 13:43:03.304 error Could not send key "VolumeUp": {"statusCode":403,"body":"<html><head><title>Forbidden</title></head><body>Forbidden</body></html>","headers":{"date":"Tue, 27 Aug 2024 11:43:02 GMT","connection":"close","content-type":"text/html; charset=utf-8","cache-control":"no-cache","access-control-allow-origin":"*","content-length":"72"},"request":{"uri":{"protocol":"http:","slashes":true,"auth":null,"host":"192.162.1.101:1925","port":"1925","hostname":"192.162.1.101","hash":null,"search":null,"query":null,"pathname":"/6/input/key","path":"/6/input/key","href":"http://192.162.1.101:1925/6/input/key"},"method":"POST","headers":{"content-length":18}}} philips-tv.0 2024-08-27 13:43:03.301 debug Sending key "VolumeUp" philips-tv.0 2024-08-27 13:43:03.300 debug state change philips-tv.0.keys.volumeUp: true philips-tv.0 2024-08-27 13:43:00.877 error Could not send key "VolumeUp": {"statusCode":403,"body":"<html><head><title>Forbidden</title></head><body>Forbidden</body></html>","headers":{"date":"Tue, 27 Aug 2024 11:42:59 GMT","connection":"close","content-type":"text/html; charset=utf-8","cache-control":"no-cache","access-control-allow-origin":"*","content-length":"72"},"request":{"uri":{"protocol":"http:","slashes":true,"auth":null,"host":"192.162.1.101:1925","port":"1925","hostname":"192.162.1.101","hash":null,"search":null,"query":null,"pathname":"/6/input/key","path":"/6/input/key","href":"http://192.162.1.101:1925/6/input/key"},"method":"POST","headers":{"content-length":18}}} philips-tv.0 2024-08-27 13:43:00.873 debug Sending key "VolumeUp" philips-tv.0 2024-08-27 13:43:00.873 debug state change philips-tv.0.keys.volumeUp: true philips-tv.0 2024-08-27 13:42:59.119 error Could not poll API: {"statusCode":403,"body":"<html><head><title>Forbidden</title></head><body>Forbidden</body></html>","headers":{"date":"Tue, 27 Aug 2024 11:42:58 GMT","connection":"close","content-type":"text/html; charset=utf-8","cache-control":"no-cache","access-control-allow-origin":"*","content-length":"72"},"request":{"uri":{"protocol":"http:","slashes":true,"auth":null,"host":"192.162.1.101:1925","port":"1925","hostname":"192.162.1.101","hash":null,"search":null,"query":null,"pathname":"/6/audio/volume","path":"/6/audio/volume","href":"http://192.162.1.101:1925/6/audio/volume"},"method":"GET","headers":{}}} philips-tv.0 2024-08-27 13:42:54.072 error Could not poll API: {"statusCode":403,"body":"<html><head><title>Forbidden</title></head><body>Forbidden</body></html>","headers":{"date":"Tue, 27 Aug 2024 11:42:53 GMT","connection":"close","content-type":"text/html; charset=utf-8","cache-control":"no-cache","access-control-allow-origin":"*","content-length":"72"},"request":{"uri":{"protocol":"http:","slashes":true,"auth":null,"host":"192.162.1.101:1925","port":"1925","hostname":"192.162.1.101","hash":null,"search":null,"query":null,"pathname":"/6/audio/volume","path":"/6/audio/volume","href":"http://192.162.1.101:1925/6/audio/volume"},"method":"GET","headers":{}}} philips-tv.0 2024-08-27 13:42:49.065 error Could not poll API: {"statusCode":403,"body":"<html><head><title>Forbidden</title></head><body>Forbidden</body></html>","headers":{"date":"Tue, 27 Aug 2024 11:42:48 GMT","connection":"close","content-type":"text/html; charset=utf-8","cache-control":"no-cache","access-control-allow-origin":"*","content-length":"72"},"request":{"uri":{"protocol":"http:","slashes":true,"auth":null,"host":"192.162.1.101:1925","port":"1925","hostname":"192.162.1.101","hash":null,"search":null,"query":null,"pathname":"/6/audio/volume","path":"/6/audio/volume","href":"http://192.162.1.101:1925/6/audio/volume"},"method":"GET","headers":{}}} philips-tv.0 2024-08-27 13:42:44.055 error Could not poll API: {"statusCode":403,"body":"<html><head><title>Forbidden</title></head><body>Forbidden</body></html>","headers":{"date":"Tue, 27 Aug 2024 11:42:43 GMT","connection":"close","content-type":"text/html; charset=utf-8","cache-control":"no-cache","access-control-allow-origin":"*","content-length":"72"},"request":{"uri":{"protocol":"http:","slashes":true,"auth":null,"host":"192.162.1.101:1925","port":"1925","hostname":"192.162.1.101","hash":null,"search":null,"query":null,"pathname":"/6/audio/volume","path":"/6/audio/volume","href":"http://192.162.1.101:1925/6/audio/volume"},"method":"GET","headers":{}}} philips-tv.0 2024-08-27 13:42:39.034 info Starting with ip "192.162.1.101" (API v6 - Jointspace) philips-tv.0 2024-08-27 13:42:39.024 info starting. Version 0.5.4 (non-npm: AlCalzone/ioBroker.philips-tv) in /opt/iobroker/node_modules/iobroker.philips-tv, node: v20.16.0, js-controller: 6.0.9 philips-tv.0 2024-08-27 13:42:38.832 debug States connected to redis: 127.0.0.1:9000 philips-tv.0 2024-08-27 13:42:38.769 debug States create User PubSub Client philips-tv.0 2024-08-27 13:42:38.768 debug States create System PubSub Client philips-tv.0 2024-08-27 13:42:38.756 debug Redis States: Use Redis connection: 127.0.0.1:9000 philips-tv.0 2024-08-27 13:42:38.735 debug Objects connected to redis: 127.0.0.1:9001 philips-tv.0 2024-08-27 13:42:38.731 debug Objects client initialize lua scripts philips-tv.0 2024-08-27 13:42:38.697 debug Objects create User PubSub Client philips-tv.0 2024-08-27 13:42:38.696 debug Objects create System PubSub Client philips-tv.0 2024-08-27 13:42:38.695 debug Objects client ready ... initialize now philips-tv.0 2024-08-27 13:42:38.674 debug Redis Objects: Use Redis connection: 127.0.0.1:9001
-
@domi920 Dann musst du wohl ein Issues auf Github erstellen. Habe leider keine weitere Idee.