Giter VIP home page Giter VIP logo

iobroker.philips-tv's Introduction

Logo

ioBroker.philips-tv

NPM version Downloads Number of Installations Current version in stable repository

NPM

Tests: Test and Release

Philips TV adapter for ioBroker

Adapter to control Philips TVs via network

Disclaimer

The developers of this module are in no way endorsed by or affiliated with Koninklijke Philips N.V., or any associated subsidiaries, logos or trademarks.

Changelog

0.5.4 (2024-07-29)

  • (foxriver76) fixed the pairing process due to changes in json config
  • (foxriver76) stability improvements

0.5.3 (2023-02-27)

  • (foxriver76) update lib

0.5.2 (2022-10-26)

  • (foxriver76) we renamed customAmbilightCommand to currentAmbilightConfiguration and update the state on polling (closes #431) Please delete customAmbilightCommand manually

0.5.1 (2022-10-17)

  • (foxriver76) fix ESOCKETTIMEDOUT on post requests

0.5.0 (2022-10-17)

  • (foxriver76) added new state hdmiInput without relying on Google Assistant

0.4.5 (2022-10-06)

  • (foxriver76) fixed communication with API

0.4.4 (2022-10-06)

  • (foxriver76) fix build

0.4.3 (2022-10-06)

  • (foxriver76) try to fix ESOCKETTIMEDOUT

0.4.0 (2022-09-17)

  • (foxriver76) marked state definitions of launch commands to be read-only
  • (foxriver76) we now use the real device name for the device object
  • (foxriver76) workaround to switch hdmi input via Google Assistant

0.3.2 (2022-09-17)

  • (foxriver76) corrected button PlayPause to lowercase playPause

0.3.1 (2022-09-16)

  • (foxriver76) added admin v5 dependency

0.3.0 (2022-09-12)

  • (foxriver76) adapter rework to support Android and JointSpace V6 API
  • BREAKING: Please use the adapter config to configure this instance properly

0.2.0

  • (AlCalzone) Support sending key presses

0.1.0

  • (AlCalzone) Initial release

License

MIT License

Copyright (c) 2022 Moritz Heusinger [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

iobroker.philips-tv's People

Contributors

alcalzone avatar apollon77 avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar foxriver76 avatar

Stargazers

 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

iobroker.philips-tv's Issues

Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:

https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/AlCalzone/ioBroker.philips-tv

  • [E104] No common.titleLang found in io-package.json
  • [E114] No adapter are allowed in the repo without admin3 support
  • [E150] No common.connectionType found in io-package.json
  • [E152] No common.dataSource found in io-package.json
  • [E506] Word "Philips TV adapter settings" is not translated to russian in admin/words.js. You can use https://translator.iobroker.in/ for translations
  • [E506] Word "Hostname/IP" is not translated to russian in admin/words.js. You can use https://translator.iobroker.in/ for translations
  • [E300] Not found on travis. Please setup travis
  • [E605] No actual year found in copyright. Please add "Copyright (c) 2017-2022 AlCalzone [email protected]" at the end of README.md

I have also found warnings that may be fixed if possible.

  • [W400] Cannot find "philips-tv" in latest repository

Thanks,
your automatic adapter checker.

P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

Could not poll API

Describe the bug
`

philips-tv.0 | 2024-02-26 22:33:46.885 | error | Could not poll API: Unexpected end of JSON input -- | -- | -- | -- philips-tv.0 | 2024-02-26 22:33:41.728 | error | Could not poll API: Unexpected end of JSON input philips-tv.0 | 2024-02-26 22:33:36.654 | error | Could not poll API: Unexpected end of JSON input philips-tv.0 | 2024-02-26 22:33:31.572 | error | Could not poll API: Unexpected end of JSON input philips-tv.0 | 2024-02-26 22:33:26.436 | error | Could not poll API: Unexpected end of JSON input philips-tv.0 | 2024-02-26 22:33:21.294 | error | Could not poll API: Unexpected end of JSON input philips-tv.0 | 2024-02-26 22:33:16.193 | error | Could not poll API: Unexpected end of JSON input philips-tv.0 | 2024-02-26 22:33:11.106 | error | Could not poll API: Unexpected end of JSON input philips-tv.0 | 2024-02-26 22:33:06.040 | error | Could not poll API: Unexpected end of JSON input `

To Reproduce
Steps to reproduce the behavior:
Happens from time to time. Actuylly every day.

Expected behavior
v0.5.3

Feature Request: set TV to Standby (without switching on again)

This is just a feature request:
We can use "pressKey" to set the Philips TV to Standby. However, if the TV is already in standby, then this will turn the TV on again. Would be nice to have a state button like "TV to Standby".
Below is some JavaScript code which does the job. It checks first the power state of the TV, and just executes the "Standby" command if the TV is still on.
Use case: when everyone leaves the home, you want to make sure that everything is being turned off. So you can include the Philips TV, and it would not be good if the TV turns on with the Standby command.

`/**

  • This function turns the Philips TV off (Standby). This is a workaround, as the regular
  • command for turning the TV off is "Standby", but by pressing it again the TV will turn on again.
  • So we need to check first if the TV is actually in Standby or not.
    */
    function TurnOffTv() {
    // We need to get the GET command to get the TV's powerstate
    let exec = require('child_process').exec;
    let args = "-X GET --digest --insecure -u " + PHILIPS_USER + ":" + PHILIPS_PASS + " " + PHILIPS_URL + "powerstate";
    exec('curl ' + args, function (error, stdout, stderr) {
    let powerStateStr = stdout;
    powerStateStr = powerStateStr.replace(/powerstate/gi, ''); // remove term 'powerstate'
    powerStateStr = powerStateStr.replace(/([^a-z]+)/gi, ''); // just keep a-z
    if (error === null) {
    // No error, so TV is reachable and there is no error message like "No route to host"
    if (LOG_DEBUG) log('Power state: ' + powerStateStr);
    } else {
    if (LOG_DEBUG) log('Power state X: ' + 'Standby');
    powerStateStr = 'Standby';
    }
    if (powerStateStr === 'On') {
    // No we can actually set the TV to standby
    setState('philips-tv.0.pressKey', 'Standby');
    } else {
    // We assume, the TV is already in standby, so nothing being done here
    }
    });
    }`

Request: Please add ability to send custom command

First of all, THANKS! Great work!

I am missing one little thing. I am not able to retrieve the information if the tv is runnung or in standby mode.
This feature would be nice, so i can check if the tv is turned off (standby) before sending the standby button which leads to turning on the tv.
Should be a simple API Call (https://github.com/eslavnov/Pylips/wiki/Power-state-(GET))
Or to unlock even more possibilitys: a generic send get/post request and a datapoint which holds the response

Compatibility check and testing for Node.js 14 and 16

Dear Adapter develop,

Node.js 14 is now available for a year and Node.js 16 was release just some days ago and will become LTS by October 2021. We plan to update the ioBroker Node.js recommendation (currently 12.x) to 14.x later this year.

Please check your adapter with Node.js 14 especially, and ideally also directly with Node.js 16

Please add both versions to the adapter testing which is executed on commits.

If your adapter requires a certain minimum version of Node.js please set the 'engine' setting in package.json accordingly! Please also do this if the adapter is not able to work in certain Node.js versions, so that ioBroker can prevent users from installing te adapter if not compatible!

On questions please talk to us at ioBroker/ioBroker.js-controller#1138

Please close the issue after you checked it.

Thank you very much for your support!

50PUS6754/12

Hello, is it possible to press the netflix button directly with the adapter on the TV 50PUS6754/12

Direct HDMI source

Hi, great enhancement, would be great if its possible to add direct HDMI switching?

No Connection to TV.

I didnt change anything, but the instance is not able to connect to the TV:

image

there is also no pairing button...
Versions:

  • Adapter version: 0.5.2 and 0.5.3 tried

npm install/add not working

Hi,

I tried to manually install/add the adapter on my rapsberry pi4 iobroker but have no success. Exit code 1 and nothing shows up when "iobroker list adapters". Can you pls help for the installation?

here my installation details:

#####################################################
pi@raspberrypi:/opt/iobroker $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

#####################################################
pi@raspberrypi:/opt/iobroker $ npm add iobroker.philips-tv

[email protected] preinstall /opt/iobroker/node_modules/node-aead-crypto
node lib/preinstall.js

node-aead-crypto not needed on this system, since all ciphers are natively supported

[email protected] install /opt/iobroker/node_modules/canvas
node-pre-gyp install --fallback-to-build --update-binary

node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.10.1/canvas-v2.10.1-node-v83-linux-glibc-arm.tar.gz
node-pre-gyp WARN Pre-built binaries not installable for [email protected] and [email protected] (node-v83 ABI, glibc) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.10.1/canvas-v2.10.1-node-v83-linux-glibc-arm.tar.gz
make: Verzeichnis „/opt/iobroker/node_modules/canvas/build“ wird betreten
SOLINK_MODULE(target) Release/obj.target/canvas-postbuild.node
COPY Release/canvas-postbuild.node
CXX(target) Release/obj.target/canvas/src/backend/Backend.o
CXX(target) Release/obj.target/canvas/src/backend/ImageBackend.o
CXX(target) Release/obj.target/canvas/src/backend/PdfBackend.o
CXX(target) Release/obj.target/canvas/src/backend/SvgBackend.o
CXX(target) Release/obj.target/canvas/src/bmp/BMPParser.o
../src/bmp/BMPParser.cc: In member function ‘void BMPParser::Parser::parse(uint8_t*, int, uint8_t*)’:
../src/bmp/BMPParser.cc:186:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
E(ptr - data > imgdOffset, "image data overlaps with another structure");
~~~~~~~~~~~^~~~~~~~~~~~
../src/bmp/BMPParser.cc:10:25: note: in definition of macro ‘E’
#define E(cond, msg) if(cond) return setErr(msg)
^~~~
../src/bmp/BMPParser.cc:201:27: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
E(ptr - data + imgdSize > len, "not enough image data");
~~~~~~~~~~~~~~~~~~~~~~^~~~~
../src/bmp/BMPParser.cc:10:25: note: in definition of macro ‘E’
#define E(cond, msg) if(cond) return setErr(msg)
^~~~
CXX(target) Release/obj.target/canvas/src/Backends.o
CXX(target) Release/obj.target/canvas/src/Canvas.o
CXX(target) Release/obj.target/canvas/src/CanvasGradient.o
CXX(target) Release/obj.target/canvas/src/CanvasPattern.o
CXX(target) Release/obj.target/canvas/src/CanvasRenderingContext2d.o
CXX(target) Release/obj.target/canvas/src/closure.o
CXX(target) Release/obj.target/canvas/src/color.o
CXX(target) Release/obj.target/canvas/src/Image.o
CXX(target) Release/obj.target/canvas/src/ImageData.o
CXX(target) Release/obj.target/canvas/src/init.o
CXX(target) Release/obj.target/canvas/src/register_font.o
SOLINK_MODULE(target) Release/obj.target/canvas.node
COPY Release/canvas.node
make: Verzeichnis „/opt/iobroker/node_modules/canvas/build“ wird verlassen
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/osx-temperature-sensor):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/node-aead-crypto):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] preinstall: node lib/preinstall.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

  • [email protected]
    added 20 packages from 24 contributors and removed 16 packages in 102.14s

144 packages are looking for funding
run npm fund for details

No Connection to 9000er (9606) 2011 Series

Hello,

i have been able to use version 0.1.0 with the 9000 (9606) 2011 series from Philips.
I have seen that there is now a long time a new version of the adapter, but can no longer connect with this.
Are the older TV no longer supported?

Could not poll API: {"statusCode":404,"body":"<html><head><title>Not Found</title></head><body>Not Found</body></html>","headers":{"content-length":"72","access-control-allow-origin":"*","cache-control":"no-cache","content-type":"text/html; charset=utf-8","date":"Sun, 15 Oct 2023 08:46:58 GMT"},"request":{"uri":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.0.65:1925","port":"1925","hostname":"192.168.0.65","hash":null,"search":null,"query":null,"pathname":"/1/powerstate","path":"/1/powerstate","href":"http://192.168.0.65:1925/1/powerstate"},"method":"GET","headers":{}}}
I have tried API V1, V5 and V6.

Many greetings,
Leif

Ambilight Mode

Hi,

1st thanks for the great adapter, works well.

I using the adapter to control the ambilight and turn it automatically off during the day and back on in the evening.
I have the Abilight video mode setup to default.
When I turn ambilght off and back on, its set to "Spiele" - Games, not to the old value -default.

How this can be changed, I thought I can change the profile with philips-tv.0.settings.customAmbilightCommand, but was not able to do.
I checked the value of philips-tv.0.settings.customAmbilightCommand, but this doesnt change if I change the ambilight profile.

How I can change the ambilight profile or leave the profile as it is and just turn it off and on?

ETIMEDOUT

Seit dem Update auf die latest stable Version 0.5.2 bekomme ich im log ab und zu den error ETIMEDOUT

70PUS7906/12 : connect ECONNREFUSED

Describe the bug
After confuguring and starting the adapter, i get the error message "connect ECONNREFUSED 192.168.4.8:1926".
192.168.4.8 ist the IP of TV (DHCP)

To Reproduce
Steps to reproduce the behavior:

  1. Start the instance
  2. Klick on "PARING STARTEN"

Expected behavior
I expected to get the pin code for the instance shown on my tv

Screenshots & Logfiles
philips-tv.0 2022-11-19 20:18:51.341 info Start pairing process
philips-tv.0 2022-11-19 20:18:44.344 warn Please authenticate via the adapter configuration page
philips-tv.0 2022-11-19 20:18:44.343 info Starting with ip "192.168.4.8" (API v6 - Android)
philips-tv.0 2022-11-19 20:18:44.332 info starting. Version 0.5.2 (non-npm: AlCalzone/ioBroker.philips-tv#9e26469ed1578d03847fe168f5cc22bc4b064305) in /opt/iobroker/node_modules/iobroker.philips-tv, node: v16.18.0, js-controller: 4.0.23
host.ioBroker-MASTER 2022-11-19 20:18:43.510 info instance system.adapter.philips-tv.0 started with pid 62182

Versions:

  • Adapter version: 0.5.2
  • JS-Controller version: 4.0.23
  • Node version: 16.18
  • Operating system: Ubuntu 18.04.6

My instance config:
screenshot_konfig

More options?

Thanks for the adapter! It works with 9000er (9606) 2011 Serie.
Are more things possible? Control of the Ambilight (colors), texts on the screen, …

Many Greetings
Leif

Recieving Http 401

Hi,

first of all thanks for your work wich i rly appreciate.
I installed the version for v6 API and paired my tv corrctly. But i alway recieve:

(17139) Error handling state change philips-tv.0.pressKey => Options: 401 - "\n\n <title>Status page</title>\n\n<body style="font-family: sans-serif;">\n<p style="font-size: 1

after trying to send a "key".
Hope you can invesigate in this problem (maybe i have done something wrong)

Update stable version in repo from 0.5.3 to 0.5.4

Think about update stable version to 0.5.4

Version: stable=0.5.3 (533 days old) => latest=0.5.4 (15 days old)
Installs: stable=669 (82.59%), latest=81 (10%), total=810

Click to use developer portal
Click to edit

Do not close this issue manually as a new issue will be created if condition for update still exists.

Please drop a comment if any reason exists which blocks updating to version 0.5.4 at this time.

Note: This is an automatically generated message and not personally authored by bluefox!
@mcm1957 for evidence

No Connection to newer Philips TV with Titan OS

Unfortunately, it is not possible to connect to a new Philips PUS8909/12 Smart TV with the new Linux-based Titan OS.

I can connect via http://192.168.178.41:1925/1/system

{ "isInLRU": false, "menulanguage": "German", "name": "43PUS8909/12", "country": "Germany", "serialnumber_encrypted": "K2kseVsmQFgkd15gKkJ+aniBGp6cBoZFaFFyYuBFsCk=", "softwareversion_encrypted": "K2kseVsmQFgkd15gKkJ+atJJI6kYBl5fIhF2Isg2DFHegH9Cg/LU4b6H/tjCh/AJ", "model_encrypted": "K2kseVsmQFgkd15gKkJ+aoviIMlwx9B3+w70EcTxb5k=", "deviceid_encrypted": "Kzwse1shQCMkJV4mKj9+PsWy2AueSHxikqKLe/FAEic=", "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" ], "aurora": [ "available" ] }, "systemfeatures": { "tvtype": "consumer", "content": [ "dmr" ], "pairing_type": "digest_auth_pairing", "secured_transport": true, "os_type": "Linux" } } }

Are there any plans to update the adapter?

kein Pairing möglich

Nach Eingabe des Codes der auf dem TV erscheint nachdem ich den Button "Pairing starten" gedrückt habe kommt das Pop-Up "Bitte bestätigen / Bitte aktualisieren sie die Webseite nach dem Absenden", einige Sekunden später bricht der Pairing Vorgang mit der Meldung "Fehler / ESOCKETTIMEOUT" ab.

Adapter version: 0.5.2
JS-Controller version: 4.0.24
Node version: 14.21.2
Operating system: Raspbian GNU/Linux 11 (bullseye)

Please add you adapter to our repository

We saw your adapter and if it is ready please request that it is added to the repository. With this it becomes available for all users. Please consult https://github.com/ioBroker/ioBroker.repositories#add-a-new-adapter-to-the-latest-repository and the following sections for more details.
If you need help, contact us in the forum https://forum.iobroker.net/ or in the developer chat https://github.com/iobroker-community-adapters/info .

Thank you for your support.

Cannot read property 'username' of undefined

Hallo AlCalzone,

erstmal großen Dank für den Philips TV Adapter. Nach sowas habe ich schon lange gesucht bzw. schon angefangen selber die API v6 meines TVs zu verstehen und anzusprechen. Hat auch geklappt :geek: , aber dann bin ich über deinen Adapter gestolpert.

Das Pairing hatte ich bereits über die console durchgeführt und name und password dem Object hinzugefügt.

const obj = getObject("system.adapter.philips-tv.0");
obj.native.username = "dein username hier";
obj.native.password = "dein passwort hier";
setObject("system.adapter.philips-tv.0", obj);

Der TV wird jetzt gefunden und der Adapter leuchtet grün.

Wenn ich aber PressKey ausführen möchte, bekomme ich folgende Fehlermeldung:
error Error handling state change philips-tv.0.pressKey => Standby: Cannot read property 'username' of undefined

Scheint so, dass username und password hier nicht greifen.

Hast du eventuell auf Anhieb eine Lösung dafür? Ich habe die Version 0.3.0-alpha4

No Connection to 65PUS8507/12

The Adapter asks for authentication, the television sends a pin. The Adapter accepts the pin but still shows no connection.

Screenshot_20240127-195329

Compatibility check to js-controller 4.0

Dear Adapter developer,

with js-controller 4.0 object definitions are now also checked that min/max in only provided for number/mixed objects and that the type of the default value matches to the object type.

If something is not correct this is logged as 'warning' or 'info' log.

Please also make sure to update to the lastest @iobroker/testing dependency 2.5.4 or to accept the PR from Apollon77 for legacy testing!

Please spent some time to verify your adapter by ideally starting with a fresh instance and do some actions and verify the log. If you see a warn or info log there from these checks please adjust the adapter and fix the relevant cases.

For questions please refer to ioBroker/ioBroker.js-controller#1749

Please close the issue after you checked it.

Thank you very much for your support to get the best experience for the growing numbers of ioBroker users!

Kein powerstate bei V1 API

In der v1 API gibt es keine powerstate Methode, die wird aber scheinbar für das /settings/power Objekt verwendet.
https://jointspace.sourceforge.net/projectdata/documentation/jasonApi/1/doc/API.html

Leider gibt es deswegen alle 5 Sekunden einen Error, wenn das Gerät eingeschaltet ist.

philips-tv.0 25438 2022-09-29 13:51:59.008 error Could not poll API: {"statusCode":404,"body":"<title>Not Found</title>Not Found","headers":{"content-length":"72","access-control-allow-origin":"*","cache-control":"no-cache","content-type":"text/html; charset=utf-8","date":"Thu, 29 Sep 2022 11:51:58 GMT"},"request":{"uri":{"protocol":"http:","slashes":true,"auth":null,"host":"xx.xx.xx.xx:1925","port":"1925","hostname":"xx.xx.xx.xx","hash":null,"search":null,"query":null,"pathname":"/1/powerstate","path":"/1/powerstate","href":"http://xx.xx.xx.xx:1925/1/powerstate"},"method":"GET","headers":{}}}

Auch das Objekt /info/connection Objekt wird nicht aktualisiert, obwohl der Adapter nach dem Einschalten beginnt den obigen Fehler auszugeben.

Evtl, muss man das für leider sehr eingeschränkte V1 über einen anderen Weg machen. Vielleicht die HTTP-Codes oder einen Ping.

Die Buttons und Lautstärkeeinstellungen funktionieren übrigens trotzdem.

Could not poll API: read ECONNRESET

Ab und an bekomme ich im log im ioBroker folgende Fehlermeldung:

error | Could not poll API: read ECONNRESET

Ich verwende einen OLED806

iobroker Admin: v6.3.5
Nodejs: v16.19.1

65OLED873/12

Hallo

I tried the adapter the first time v0.5.2

i only get a connection if MAC Address is empty

will it fall in sleep now after several time when tv is in standby?

any ideas?

thank you
tom

Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:

https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/AlCalzone/ioBroker.philips-tv

  • [E518] "@alcalzone/release-script" is used, but ".releaseconfig.json" not found
  • [E605] No actual year found in copyright. Please add "Copyright (c) 2023 AlCalzone [email protected]" at the end of README.md
  • [E701] No actual year found in LICENSE. Please add "Copyright (c) 2023 AlCalzone [email protected]" at the start of LICENSE

I have also found warnings that may be fixed if possible.

  • [W105] "common.titleLang" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
  • [W109] "common.desc" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
  • [W145] Each "common.news" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)

Thanks,
your automatic adapter checker.

P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

Please consider fixing issues detected by repository checker

Notification from ioBroker Check and Service Bot

Dear adapter developer,

I'm the ioBroker Check and Service Bot. I'm an automated tool processing routine tasks for the ioBroker infrastructure. I have recently checked the repository for your adapter philips-tv for common errors and appropiate suggestions to keep this adapter up to date.

Please see the result of the check below.

ioBroker.philips-tv

Downloads Number of Installations (latest) Number of Installations (stable) - Test and Release
NPM

ERRORS:

  • ❗ [E029] Node.js 16 is required as minimum, node.js 18 is recommended. Please adapt "{'engines' : { 'node' >= '14.0.0' } }" at package.json.
  • ❗ [E162] js-controller 4.0.0 listed as dependency but 4.0.24 is required as minimum, 5.0.19 is recommended. Please update dependency at io-package.json.
  • ❗ [E518] "@alcalzone/release-script" (>=3.0.0) is used, but ".releaseconfig.json" not found. Please create.
  • ❗ [E605] No actual year found in copyright. Please add "Copyright (c) 2024 AlCalzone [email protected]" at the end of README.md
  • ❗ [E701] No actual year found in LICENSE. Please add "Copyright (c) 2024 AlCalzone [email protected]" at the start of LICENSE

WARNINGS:

Please review issues reported and consider fixing them as soon as appropiate.

Errors reported by repository checker should be fixed as soon as possible. Some of them require a new release to be considered as fixed. Please note that errors reported by checker might be considered as blocking point for future updates at stable repository.

Warnings reported by repository checker should be reviewed. While some warnings can be considered as a suggestion and be ignored due to good reasons or a dedicated decision of the developer, most warnings should be fixed as soon as appropiate.

Feel free to contact me (@ioBroker-Bot) if you have any questions or feel that an issue is incorrectly flagged.

And THANKS A LOT for maintaining this adapter from me and all users.
Let's work together for the best user experience.

your
ioBroker Check and Service Bot

@mcm1957 for evidence

Please check ioBroker.philips-tv with js-controller 2.0

Hi,

the new js-controller 2.0 will come into latest repository in the next days and we want to make sure that all adapters are working well. We already did a 2 weeks Beta test and so some adapter were aleady checked and some needed slight adjustments.

You can find more information in ioBroker/ioBroker.js-controller#482 and in the ioBroker Forum. If you have more technical questions please write in the referenced issue or in the Developer thread please. General questions are best in the genral thread.

Please update your systems to js-controller 2.0 and check your adapter.

Please close this issue once you have checked your adapter or received successfull reports from users.

Thank you very much for your support. Please contact us in the other Threads or Forum on any question.

Support newer JointSpace API Versions

Hi,

I've a new Philips PUS8505 from this year and the philips-tv adapter in iobroker stays yellow and no connection is made. So adapter isn't working for newer models.
I have checked out the JointSpace API v6 which is working great. If you need all possible commands, just contact me.

After a software update of the TV, the adapter no longer works (65PUS8555/12)

Describe the bug
Could not poll API: {"statusCode":401,"body":"\n\n <title>Status page</title>\n\n<body style="font-family: sans-serif;">\n<p style="font-size: 1.2em;font-weight: bold;margin: 1em 0px;">Unauthorized

\n

The request requires user authentication

\n

You can get technical details <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2\">here.
\nPlease continue your visit at our <a href="/">home page.\n

\n\n\n","headers":{"date":"Mon, 08 Jul 2024 06:09:16 GMT","accept-ranges":"bytes","server":"Restlet-Framework/2.3.12","www-authenticate":"Digest realm="XTV", domain="/", nonce="MTcyMDQxODk1Njc3Nzo5NDI3YmNmZTc0YjY2MmJiYWRkYzY1NjkyY2M5NjQzOA==", algorithm=MD5, qop="auth"","content-length":"424","content-type":"text/html; charset=UTF-8"},"request":{"uri":{"protocol":"https:","slashes":true,"auth":null,"host":"192.168.0.64:1926","port":"1926","hostname":"192.168.0.64","hash":null,"search":null,"query":null,"pathname":"/6/audio/volume","path":"/6/audio/volume","href":"https://192.168.0.64:1926/6/audio/volume"},"method":"GET","headers":{"authorization":"Digest username="DcJJ671onjpDBk3f", realm="XTV", nonce="MTcyMDQxODk1Njc0MDphZGIzZjU5ZmQwMzI2ZjFkZWUwYzU3MTZlNDc2OGU0ZA==", uri="/6/audio/volume", qop=auth, response="53ee0259e59a921138cc35d66c5f72c8", nc=00000001, cnonce="0c125509352c4f34855b7b173b647f74", algorithm=MD5","referer":"https://192.168.0.64:1926/6/audio/volume"}}}

a new pairing with the TV is not possible

Fehler
Unknown message payload for "pairing": null

What can i do now?

MfG
Jörg

Verify Compact mode for your adapter

We have detected that your adapter supports the compact mode. Please use the latest js-controller 2.0 and verify that everything works.

Some more information what is important to check can be found at ioBroker/ioBroker.js-controller#512

On questions please answer to the linked issue. Please close this issue after your test and add the version number that you have tested please as a comment.

Thank you for your support.

bekomme im log ESOCKETTIMEDOUT

Ab und an bekomme ich im log im ioBroker folgende Fehlermeldung:

Could not change Ambilight + Hue state: ESOCKETTIMEDOUT

und die Änderung ist wie in der Meldung auch nicht umgesetzt wurden.

Ich verwende einen OLED803

iobroker Admin: v6.2.20
Nodejs: v16.15.1

Der Fehler tritt nicht immer auf, ich versuche mal ein Schema zu erkennen.

Documentation

A short documentation would be nice. I couldnt connect the adapter to my pus7101. Adapter logs nothing (on debug)

65OLED718 compatibility and current state info

Hi everyone,

I'm looking for some advice on using an adapter with Philips 65OLED718 TV. Has anyone tried using it with this specific model? Also, I'm curious if there's a possibility to add a feature for reading the current state of the TV to check if Netflix, Youtube, HDMI1..4, or TV channels are currently active. Does the API offer similar functionality?

Compatibility check to js-controller 3.3 and Admin5 React UI

Dear Adapter developer,

with js-controller 3.2 and js-controller 3.3 some additional checks were added to make sure that created objects match to the specifications and also written state values match to the object definition.

If something is not correct this is logged as 'warning' or 'info' log.

Please take the time to verify your adapter by ideally starting with a fresh instance and do some actions and verify the log. If you see a warn log there from these checks please adjust the adapter and fix the relevant cases.

For questions please refer to ioBroker/ioBroker.js-controller#1301

Additionally we are preparing Admin 5 which will have a completely rewritten UI. Please install Admin 5, activate that new UI and verify that the configuration of you adapter works as expected also there.

More informations on Admin 5 can be found in Forum https://forum.iobroker.net/topic/44282/test-adapter-admin-5-0-x-alpha-der-neuen-ui

Please close the issue after you checked it.

Thank you very much for your support!

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.