Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter Philips-TV v0.2.x

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Adapter Philips-TV v0.2.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • AlCalzone
      AlCalzone Developer last edited by

      Hallo zusammen,

      auf Github wurde mir bestätigt, dass der experimentelle Branch die ESOCKETTIMEDOUT-Fehler behebt. Ich habe diesen jetzt in den api-v5+v6 Branch gemerged. Wäre super, wenn jemand mit einem v6-Fernseher hier nochmal updaten und testen könnte.

      1 Reply Last reply Reply Quote 0
      • U
        Ulfhednir last edited by

        Sorry, ich konnte in letzter Zeit kein Feedback geben, da mein Rechner geschrottet war. Mein letzter Stand war der, dass in Version 0.3.0-alpha7 der ESOCKETTIMEDOUT-Fehler bestand. Dieser ist nun im api-v5+v6 Branch gefixed? Mit welcher URL kann diese Version installiert und getestet werden?

        1 Reply Last reply Reply Quote 0
        • A
          akr1983 last edited by

          @AlCalzone:

          https://github.com/AlCalzone/ioBroker.p … stom-agent bitte nochmal testen, ich hatte da was vergessen.

          Der ursprüngliche Branch erfordert noch etwas mehr Arbeit meinerseits, da der Fehler nicht richtig erkannt wird.

          @Ulfhednir: Magst du mir den Trafficlog mal zukommen lassen? `

          Ich wollte jetzt Testen, aber leider ohne Erfolg. Bei dem Link kommt nur ein 404.

          Und wenn ich die Version mit V5+V6 am Ende der URL installiere, mault er mich an, dass ich das der Fernseher gepaired werden muss. Benutzername und Kennwort hab ich bereits über das Script gesetzt.

          Lg

          Arne

          1 Reply Last reply Reply Quote 0
          • AlCalzone
            AlCalzone Developer last edited by

            Hallo Arne,

            danke fürs Testen! Die Version mit v5+v6 am Ende ist korrekt, die andere existiert nicht mehr bzw. ist in die erstere eingeflossen.

            Hast du alle diese Schritte in dieser Reihenfolge ausgeführt?

            1. Installation von Github

            2. Adapter-Upload

            3. Zugangsdaten per Skript gesetzt

            4. Adapter gestartet

            Dann dürfte er eigentlich nicht wegen Zugangsdaten meckern.

            1 Reply Last reply Reply Quote 0
            • A
              akr1983 last edited by

              Hiho und danke für die schnelle Antwort,

              ich glaub ich bin zu doof das Script richtig auszuführen. Hab das Scriptmodul installiert, ein neues Script gemacht, den Code hinzugefügt und Username und Passwort angepasst.

              Wenn ich dann jedoch auf ausführen drücke, kommt entweder ein Compilerfehler oder aber die "Scriptengine" stürzt ab… Ich vermute mal, dass es daran liegt :?

              Lg

              Arne

              1 Reply Last reply Reply Quote 0
              • AlCalzone
                AlCalzone Developer last edited by

                Dann kopier mal dein Skript 1:1 hier rein. Mit den Zugangsdaten kann eh keiner was anfangen, also keine Sorge.

                1 Reply Last reply Reply Quote 0
                • A
                  akr1983 last edited by

                  Hiho,

                  hier das Script:

                  const obj = getObject("system.adapter.philips-tv.0");
                  obj.native.username = "OlzSQ3PYMBMZfPDS";
                  obj.native.password = "250ff7b75e22da0144b0da7086382b3f11b9bf1e771a3db30451f971f0b01fea";
                  setObject("system.adapter.philips-tv.0", obj);
                  

                  Und Anbei noch ein Screenshot. Ich will nicht ausschließen, dass ich zu doof bin um ein Script zu starten… Ich komm eigentlich aus der FHEM Welt.

                  1 Reply Last reply Reply Quote 0
                  • AlCalzone
                    AlCalzone Developer last edited by

                    Hast du in den Adaptereinstellungen vom JS-Adapter setObject erlaubt?

                    Wenn ja, was ist die Fehlermeldung?

                    1 Reply Last reply Reply Quote 0
                    • U
                      Ulfhednir last edited by

                      Also Zwischenmeldung von mir: Vom neuen Branch gibt es keine Fehlermeldungen bei v6 und das in den Standby-Schalten per VIS hat schon mal funktioniert! Richtig knorke! Jetzt wird es spannend, wie man das Ganze am besten in den CloudAdapter integriert, da hatte ich eben meine Schwierigkeiten mit den Tasten.

                      1 Reply Last reply Reply Quote 0
                      • A
                        akr1983 last edited by

                        Hiho,

                        also setObject war wirklich nicht aktiviert. Trotzdem keine Änderung 😕

                        Bei mir leider noch immer der selbe Effekt. Das Script will einfach nicht starten. Ich hab den Loglevel auf Debug gestellt, aber ohne Erfolg. Anbei noch ein Screenshot dazu, was passiert, wenn ich auf den "Play" Knopf beim Script drücke.

                        Ich geh mal ganz stark davon aus, dass da was mit meiner Installation nicht in Ordnung ist. Ich hab den Script Adapter auch schon neu installiert. Ich werde mal schauen, ob ich die Zeit finde, es auf einem neuen System zu testen. Ich hab hier noch einen Pi rumliegen…

                        Liebe Grüße

                        Arne
                        8068_2018-07-27_10_17_42-iobroker.admin.png

                        1 Reply Last reply Reply Quote 0
                        • AlCalzone
                          AlCalzone Developer last edited by

                          Ich sehe im Log nur dass der JS-Adapter angehalten und gestartet wird. Vom Skript sehe ich da nix. Entschuldige die möglicherweise dumme Frage, aber du hast sowohl den JS-Adapter (Siehe Tab "Instanzen") als auch das Skript (siehe Tab "Skripte") selbst aktiviert?

                          Als Alternative kannst du auch direkt das Objekt bearbeiten. Dazu in der Objektliste den Expertenmodus aktivieren, das Objekt "system.adapter.philips-tv.0" suchen, ganz rechts auf den Bleistift klicken und im Reiter "nativ" neben Username und Passwort die Werte eintragen (ohne Anführungszeichen").

                          1 Reply Last reply Reply Quote 0
                          • A
                            akr1983 last edited by

                            Hiho,

                            ich hab im Scripteditor auf den "Play" Knopf beim Script gedrückt… Was anderes hab ich immer nicht gemacht. Und nein, es ist keine doofe Frage, ich bin einfach nicht sonderlich Fit im IOBroker... Dafür kann ich dich ggf. aber mit TCPDumps und Co versorgen.

                            So, aber zurück zum Topic, das Native eintragen direkt ins Objekt hat funktioniert und die Lampe ist jetzt grün.

                            Der hat auch erfolgreich erkannt, dass der Fernseher nicht auf Stumm geschaltet ist und das die eingestellte Lautstärke auf "13" gestellt ist. Sieht gut aus 🙂

                            Wenn ich jetzt weiter was testen soll, immer her damit... Solange es nix mit den Scripten zu tun hat 😉

                            1 Reply Last reply Reply Quote 0
                            • AlCalzone
                              AlCalzone Developer last edited by

                              Cool, dann muss ich nur noch das Admin-Interface fertig stellen. Da wird nochmal ein wenig getestet werden müssen. Soweit schon mal danke!

                              1 Reply Last reply Reply Quote 0
                              • S
                                schmuh last edited by

                                Hi zusammen,

                                kann mir bitte mal jemand auf die Sprünge helfen (ich glaube der Urlaub war zu lange :lol: ), welche Github URL soll den jetzt für V6 verwendet werden, diese?

                                https://github.com/AlCalzone/ioBroker.p … /api-v5+v6

                                Danke.

                                1 Reply Last reply Reply Quote 0
                                • AlCalzone
                                  AlCalzone Developer last edited by

                                  Ja 🙂

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    schmuh last edited by

                                    @AlCalzone:

                                    Ja 🙂 `

                                    Funktioniert 😄 , Top Arbeit, vielen Dank!

                                    1 Reply Last reply Reply Quote 0
                                    • sigi234
                                      sigi234 Forum Testing Most Active last edited by

                                      Leider geht mein Philips noch immer nicht…...

                                      32PFL7605H/12

                                      1 Reply Last reply Reply Quote 0
                                      • AlCalzone
                                        AlCalzone Developer last edited by

                                        @sigi234:

                                        Leider geht mein Philips noch immer nicht…...

                                        32PFL7605H/12 `
                                        Kannst du dann bitte mit der aktuellsten Version nochmal einen Debug-Log erstellen?

                                        1 Reply Last reply Reply Quote 0
                                        • sigi234
                                          sigi234 Forum Testing Most Active last edited by

                                          philips-tv.1	2018-08-01 12:46:49.512	debug	Could not initialize connection. Reason: No connection to host 192.168.178.24
                                          philips-tv.1	2018-08-01 12:46:49.512	debug	 state with id philips-tv.1.info.apiVersion updated: ack=true; val=not found
                                          philips-tv.1	2018-08-01 12:46:49.512	debug	connection is DEAD. Reason: [undefined] Error: ETIMEDOUT
                                          philips-tv.1	2018-08-01 12:46:49.512	debug	no further attempts
                                          philips-tv.1	2018-08-01 12:46:49.512	debug	error is not recoverable
                                          philips-tv.1	2018-08-01 12:46:49.511	debug	attempt 1 failed with code undefined
                                          philips-tv.1	2018-08-01 12:46:44.510	debug	attempt 1 of 3
                                          philips-tv.1	2018-08-01 12:46:44.510	debug	checking if connection is alive
                                          philips-tv.1	2018-08-01 12:46:44.510	debug	initializing connection to 192.168.178.24
                                          philips-tv.1	2018-08-01 12:46:34.505	debug	Could not initialize connection. Reason: No connection to host 192.168.178.24
                                          philips-tv.1	2018-08-01 12:46:34.505	debug	 state with id philips-tv.1.info.apiVersion updated: ack=true; val=not found
                                          philips-tv.1	2018-08-01 12:46:34.505	debug	connection is DEAD. Reason: [undefined] Error: ETIMEDOUT
                                          philips-tv.1	2018-08-01 12:46:34.505	debug	no further attempts
                                          philips-tv.1	2018-08-01 12:46:34.505	debug	error is not recoverable
                                          philips-tv.1	2018-08-01 12:46:34.505	debug	attempt 1 failed with code undefined
                                          philips-tv.1	2018-08-01 12:46:29.504	debug	attempt 1 of 3
                                          philips-tv.1	2018-08-01 12:46:29.504	debug	checking if connection is alive
                                          philips-tv.1	2018-08-01 12:46:29.504	debug	initializing connection to 192.168.178.24
                                          philips-tv.1	2018-08-01 12:46:20.380	debug	system.adapter.admin.0: logging true
                                          
                                          http://192.168.178.24:49153/nmrConnectionManager.xml
                                          
                                           <scpd xmlns="urn:schemas-upnp-org:service-1-0"><specversion><major>1</major>
                                          <minor>0</minor></specversion> 
                                           <actionlist><action><name>GetProtocolInfo</name>
                                           <argumentlist><argument><name>Source</name>
                                          <direction>out</direction>
                                          <relatedstatevariable>SourceProtocolInfo</relatedstatevariable></argument> 
                                           <argument><name>Sink</name>
                                          <direction>out</direction>
                                          <relatedstatevariable>SinkProtocolInfo</relatedstatevariable></argument></argumentlist></action> 
                                           <action><name>GetCurrentConnectionIDs</name>
                                           <argumentlist><argument><name>ConnectionIDs</name>
                                          <direction>out</direction>
                                          <relatedstatevariable>CurrentConnectionIDs</relatedstatevariable></argument></argumentlist></action> 
                                           <action><name>GetCurrentConnectionInfo</name>
                                           <argumentlist><argument><name>ConnectionID</name>
                                          <direction>in</direction>
                                          <relatedstatevariable>A_ARG_TYPE_ConnectionID</relatedstatevariable></argument> 
                                           <argument><name>RcsID</name>
                                          <direction>out</direction>
                                          <relatedstatevariable>A_ARG_TYPE_RcsID</relatedstatevariable></argument> 
                                           <argument><name>AVTransportID</name>
                                          <direction>out</direction>
                                          <relatedstatevariable>A_ARG_TYPE_AVTransportID</relatedstatevariable></argument> 
                                           <argument><name>ProtocolInfo</name>
                                          <direction>out</direction>
                                          <relatedstatevariable>A_ARG_TYPE_ProtocolInfo</relatedstatevariable></argument> 
                                           <argument><name>PeerConnectionManager</name>
                                          <direction>out</direction>
                                          <relatedstatevariable>A_ARG_TYPE_ConnectionManager</relatedstatevariable></argument> 
                                           <argument><name>PeerConnectionID</name>
                                          <direction>out</direction>
                                          <relatedstatevariable>A_ARG_TYPE_ConnectionID</relatedstatevariable></argument> 
                                           <argument><name>Direction</name>
                                          <direction>out</direction>
                                          <relatedstatevariable>A_ARG_TYPE_Direction</relatedstatevariable></argument> 
                                          1.8.2018 192.168.178.24:49153/nmrConnectionManager.xml
                                          http://192.168.178.24:49153/nmrConnectionManager.xml 2/2
                                           <argument><name>Status</name>
                                          <direction>out</direction>
                                          <relatedstatevariable>A_ARG_TYPE_ConnectionStatus</relatedstatevariable></argument></argumentlist></action></actionlist> 
                                           <servicestatetable><statevariable sendevents="yes"><name>SourceProtocolInfo</name>
                                          <datatype>string</datatype></statevariable> 
                                           <statevariable sendevents="yes"><name>SinkProtocolInfo</name>
                                          <datatype>string</datatype></statevariable> 
                                           <statevariable sendevents="yes"><name>CurrentConnectionIDs</name>
                                          <datatype>string</datatype></statevariable> 
                                           <statevariable sendevents="no"><name>A_ARG_TYPE_ConnectionStatus</name>
                                          <datatype>string</datatype>
                                           <allowedvaluelist><allowedvalue>OK</allowedvalue>
                                          <allowedvalue>ContentFormatMismatch</allowedvalue>
                                          <allowedvalue>InsufficientBandwidth</allowedvalue>
                                          <allowedvalue>UnreliableChannel</allowedvalue>
                                          <allowedvalue>Unknown</allowedvalue></allowedvaluelist></statevariable> 
                                           <statevariable sendevents="no"><name>A_ARG_TYPE_ConnectionManager</name>
                                          <datatype>string</datatype></statevariable> 
                                           <statevariable sendevents="no"><name>A_ARG_TYPE_Direction</name>
                                          <datatype>string</datatype>
                                           <allowedvaluelist><allowedvalue>Input</allowedvalue>
                                          <allowedvalue>Output</allowedvalue></allowedvaluelist></statevariable> 
                                           <statevariable sendevents="no"><name>A_ARG_TYPE_ProtocolInfo</name>
                                          <datatype>string</datatype></statevariable> 
                                           <statevariable sendevents="no"><name>A_ARG_TYPE_ConnectionID</name>
                                          <datatype>i4</datatype></statevariable> 
                                           <statevariable sendevents="no"><name>A_ARG_TYPE_AVTransportID</name>
                                          <datatype>i4</datatype></statevariable> 
                                           <statevariable sendevents="no"><name>A_ARG_TYPE_RcsID</name>
                                          <datatype>i4</datatype></statevariable></servicestatetable></scpd> 
                                          
                                          http://192.168.178.24:49153/nmrDescription.xml
                                          
                                           <root xmlns="urn:schemas-upnp-org:device-1-0" xmlns:pcrc="urn:schemas-philips-com:philips-crc-1-
                                          0"><specversion><major>1</major>
                                          <minor>0</minor></specversion> 
                                           <device><devicetype>urn:schemas-upnp-org:device:MediaRenderer:1</devicetype>
                                          <friendlyname>Philips TV</friendlyname>
                                          <manufacturer>Philips</manufacturer>
                                          <manufacturerurl>http://www.philips.com</manufacturerurl>
                                          <modeldescription>UPnP Media Renderer 1.0</modeldescription>
                                          <modelname>NMR</modelname>
                                          <modelnumber>1.0</modelnumber>
                                          <modelurl>http://www.philips.com/</modelurl>
                                          <serialnumber>12345</serialnumber>
                                          <udn>uuid:F00DBABE-SA5E-BABA-DADA188ED505DD03</udn>
                                          <upc>12345</upc>
                                           <iconlist><icon><mimetype>image/png</mimetype>
                                          <height>48</height>
                                          <width>48</width>
                                          <depth>24</depth>
                                          <url>CP_logo_0.png</url></icon> 
                                           <icon><mimetype>image/png</mimetype>
                                          <height>120</height>
                                          <width>120</width>
                                          <depth>24</depth>
                                          <url>CP_logo_1.png</url></icon> 
                                           <icon><mimetype>image/jpeg</mimetype>
                                          <height>48</height>
                                          <width>48</width>
                                          <depth>24</depth>
                                          <url>CP_logo_2.jpg</url></icon> 
                                           <icon><mimetype>image/jpeg</mimetype>
                                          <height>120</height>
                                          <width>120</width>
                                          <depth>24</depth>
                                          <url>CP_logo_3.jpg</url></icon></iconlist> 
                                           <servicelist><service><servicetype>urn:schemas-upnp-org:service:RenderingControl:1</servicetype>
                                          <serviceid>urn:upnp-org:serviceId:RenderingControl</serviceid>
                                          <controlurl>upnp/control/RenderingControl1</controlurl>
                                          <eventsuburl>upnp/event/RenderingControl1</eventsuburl>
                                          <scpdurl>nmrRenderingControl.xml</scpdurl></service> 
                                           <service><servicetype>urn:schemas-upnp-org:service:ConnectionManager:1</servicetype>
                                          <serviceid>urn:upnp-org:serviceId:ConnectionManager</serviceid>
                                          <controlurl>upnp/control/ConnectionManager1</controlurl>
                                          <eventsuburl>upnp/event/ConnectionManager1</eventsuburl>
                                          <scpdurl>nmrConnectionManager.xml</scpdurl></service> 
                                           <service><servicetype>urn:schemas-upnp-org:service:AVTransport:1</servicetype>
                                          <serviceid>urn:upnp-org:serviceId:AVTransport</serviceid>
                                          <controlurl>upnp/control/AVTransport1</controlurl>
                                          <eventsuburl>upnp/event/AVTransport1</eventsuburl>
                                          <scpdurl>nmrAVTransport.xml</scpdurl>
                                          1.8.2018 192.168.178.24:49153/nmrDescription.xml
                                          http://192.168.178.24:49153/nmrDescription.xml 2/2</service></servicelist> 
                                          <presentationurl>MediaRendererPresentation.html</presentationurl>
                                          <dlna:x_dlnadoc xmlns:dlna="urn:schemas-dlna-org:device-1-0">DMR-1.50</dlna:x_dlnadoc></device> 
                                          <pcrc:x_philipscrc>726948130</pcrc:x_philipscrc></root> 
                                          
                                          http://192.168.178.24:49153/nmrRenderingControl.xml
                                          
                                           <scpd xmlns="urn:schemas-upnp-org:service-1-0"><specversion><major>1</major>
                                          1.8.2018 192.168.178.24:49153/nmrRenderingControl.xml
                                          http://192.168.178.24:49153/nmrRenderingControl.xml 2/3
                                          
                                           <argument><name>PresetName</name>
                                          <direction>in</direction>
                                          <relatedstatevariable>A_ARG_TYPE_PresetName</relatedstatevariable></argument> 
                                          
                                           <action><name>GetVolume</name>
                                           <argumentlist><argument><name>InstanceID</name>
                                          <direction>in</direction>
                                          <relatedstatevariable>A_ARG_TYPE_InstanceID</relatedstatevariable></argument> 
                                           <argument><name>Channel</name>
                                          <direction>in</direction>
                                          <relatedstatevariable>A_ARG_TYPE_Channel</relatedstatevariable></argument> 
                                           <argument><name>CurrentVolume</name>
                                          <direction>out</direction>
                                          <relatedstatevariable>Volume</relatedstatevariable></argument></argumentlist></action> 
                                           <action><name>SetVolume</name>
                                           <argumentlist><argument><name>InstanceID</name>
                                          <direction>in</direction>
                                          <relatedstatevariable>A_ARG_TYPE_InstanceID</relatedstatevariable></argument> 
                                           <argument><name>Channel</name>
                                          <direction>in</direction>
                                          <relatedstatevariable>A_ARG_TYPE_Channel</relatedstatevariable></argument> 
                                           <argument><name>DesiredVolume</name>
                                          <direction>in</direction>
                                          <relatedstatevariable>Volume</relatedstatevariable></argument></argumentlist></action> 
                                           <action><name>SetMute</name>
                                           <argumentlist><argument><name>InstanceID</name>
                                          <direction>in</direction>
                                          <relatedstatevariable>A_ARG_TYPE_InstanceID</relatedstatevariable></argument> 
                                           <argument><name>Channel</name>
                                          <direction>in</direction>
                                          <relatedstatevariable>A_ARG_TYPE_Channel</relatedstatevariable></argument> 
                                           <argument><name>DesiredMute</name>
                                          <direction>in</direction>
                                          <relatedstatevariable>Mute</relatedstatevariable></argument></argumentlist></action> 
                                           <action>1.8.2018 192.168.178.24:49153/nmrRenderingControl.xml
                                          http://192.168.178.24:49153/nmrRenderingControl.xml 3/3
                                          <name>GetMute</name>
                                           <argumentlist><argument><name>InstanceID</name>
                                          <direction>in</direction>
                                          <relatedstatevariable>A_ARG_TYPE_InstanceID</relatedstatevariable></argument> 
                                           <argument><name>Channel</name>
                                          <direction>in</direction>
                                          <relatedstatevariable>A_ARG_TYPE_Channel</relatedstatevariable></argument> 
                                           <argument><name>CurrentMute</name>
                                          <direction>out</direction>
                                          <relatedstatevariable>Mute</relatedstatevariable></argument></argumentlist></action></specversion></scpd> 
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • AlCalzone
                                            AlCalzone Developer last edited by

                                            Ach, du warst der Kollege mit der ganz anderen API. Fürchte das wird so schnell nix…

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            575
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            philips philips tv
                                            83
                                            549
                                            112258
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo