Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Entwicklung
    4. lgtv Adapter zur Steuerung von LG WebOS SmartTVs

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    lgtv Adapter zur Steuerung von LG WebOS SmartTVs

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

      Ich bekomme diese Meldung wenn ich die Remote Objekte benutze, Befehle werden am TV ausgeführt.
      Scheint nur falsches Logging zu sein??

      2019-10-21 18:00:39.663 - error: lgtv.2 State change "remote.up" - VALUE: {"val":true,"ack":false,"ts":1571673639661,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1571671245616}
      

      Und die Rolle müsste doch Button sein.

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

        @marcuskl

        Hm, anscheinend verliert der Adapter zeitweise die Verbindung zum adb server

        Failure: 'device unauthorized.This adb server's $ADB_VENDOR_KEYS is not setTry 'adb kill-server' if that seems wrong.Otherwise check for a confirmation dialog on your device.'
        
        1 Reply Last reply Reply Quote 0
        • marcuskl
          marcuskl last edited by

          @sigi234 sagte in lgtv Adapter zur Steuerung von LG WebOS SmartTVs:

          @marcuskl

          Hm, anscheinend verliert der Adapter zeitweise die Verbindung zum adb server

          Failure: 'device unauthorized.This adb server's $ADB_VENDOR_KEYS is not setTry 'adb kill-server' if that seems wrong.Otherwise check for a confirmation dialog on your device.'
          

          Komisch, was hat ein adp Server mit den Adapter zu tun, ist doch eigentlich eine Schnittstelle für Android?
          Hast du die im Log gehabt?

          Ich habe keine solche Fehlermeldung.

          1 Reply Last reply Reply Quote 0
          • oberfragger
            oberfragger last edited by

            @sigi234 said in lgtv Adapter zur Steuerung von LG WebOS SmartTVs:

            die Ka

            Hat jemand eine Idee wie ich vielleicht via Adapter einen rtsp-Stream direkt an den Fernseher übergeben bekomme. Ich hab es mal geschafft diesen Stream irgendwie im Browser am Fernseher aufzurufen.

            Ziel: Klingel -> Umschalten des TV auf Kamera

            Jey Cee 1 Reply Last reply Reply Quote 0
            • Jey Cee
              Jey Cee Developer @oberfragger last edited by

              @oberfragger bin gerade nicht daheim, aber wenn der Stream im Browser vom TV geht (hab meine zweifel), gibt es im Adapter einen DP open URL oder so. Mit dem hab ich mal Testweise gespielt.

              Sonst musst du den Stream mit motioneye oder so umwandeln und kannst ihn mit dem upnp (Github version) an den TV Streamen.

              oberfragger 1 Reply Last reply Reply Quote 0
              • oberfragger
                oberfragger last edited by

                Weitere Frage:
                Hat jemand bereits einen LG-TV mittels diesem Adapter und yakha/ Homekit in einem Apple-Device vernünftig eingepflegt. So richtig bekomme ich den Service nicht gepflegt. Zumindest an/aus will ich hinbekommen.

                Aktuell habe es nur "geschafft"- bei Wahl im Fernseher in der Home-App... "TV-Einstellungen anzeigen"... geht der TV aus. Aber nicht wieder an.

                ...seltsam. Da brauche ich noch Nachhilfe mit den Services. Ideen?

                1 Reply Last reply Reply Quote 0
                • oberfragger
                  oberfragger @Jey Cee last edited by oberfragger

                  @Jey-Cee Jupp. Gesehen und klappt nun doch. Durch direkte Eingabe im DP "openURL" wird bei eingeschaltetem TV der Browser mit der entsprechenden Webseite aufgerufen.

                  Für die Allgemeinheit: Hier geht dann nur http und https. RTSP wird nicht unterstützt.
                  Meine Doorbird bietet aber eine entsprechende Webseite an deshalb hatte das auch mal funktioniert).
                  http://user:passwort@doorbird-ip/bha-api/view.html
                  Dann wird die Webseite inkl. Sound! aufgerufen...

                  1 Reply Last reply Reply Quote 0
                  • B
                    Bluelightcrew last edited by

                    Kann mir jemand mal sein Script zur Überprüfung, ob der TV aus ist damit er nicht angeschaltet wird wenn ich ihn ausschalte, zur Verfügung stellen?
                    Hab sowas schon vor Ewigkeiten gebastelt leider bin ich zu doof dazu und es Funktioniert einfach nicht, ich weiß leider nicht wo der Fehler liegt.

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

                      @SchuetzeSchulz

                      Hallo, beiße mir gerade die Zähne aus.
                      Wie bekomme ich es hin das ich auf den klick des Sender-Logos eine Kanalnummer über 9 schaltet.
                      Also es geht mit den Kanal 0-9 natürlich, auch wenn ich schnell auf 1 + 1 klicke geht er auf den Kanal 11.
                      Das ist ok so. Num Block!

                      Jetzt das Problem, ich kann über die im Screenshot angelegten Widget jqui ctrl icon state keinen Kanal über 9 senden.Objekt ID select channel geht nicht.

                      Ziel ist klick auf Logo und der Kanal geht auf 10 -100

                      Screenshot (546).png

                      liv-in-sky S 2 Replies Last reply Reply Quote 0
                      • liv-in-sky
                        liv-in-sky @sigi234 last edited by liv-in-sky

                        @sigi234

                        ich habe das mal so gemacht - einen eigenen datenpunkt für die channels erzeugt, den ich bescheiben kann - und zusätzlich ein script, das umwandelt und die remote -dp schaltet

                        vielleicht kanns du es brauchen

                        <xml xmlns="http://www.w3.org/1999/xhtml">
                          <variables>
                            <variable type="" id="/`9#6,$1vh;JqLGRCH:a">wahl</variable>
                            <variable type="" id="KEOu|nd+WpbU[xVpjr)y">erst</variable>
                            <variable type="undefined" id="timeout">timeout</variable>
                            <variable type="undefined" id="timeout3">timeout3</variable>
                            <variable type="undefined" id="timeout2">timeout2</variable>
                          </variables>
                          <block type="on" id="~bc5VYgdFTYp{c4J^kev" x="38" y="-162">
                            <field name="OID">controll-own.0.LG-TV.ChannelWahl</field>
                            <field name="CONDITION">any</field>
                            <field name="ACK_CONDITION"></field>
                            <statement name="STATEMENT">
                              <block type="variables_set" id="=DCq`OuR._5Mlh8848Vo">
                                <field name="VAR" id="/`9#6,$1vh;JqLGRCH:a" variabletype="">wahl</field>
                                <value name="VALUE">
                                  <block type="convert_tostring" id="x}iM@!lE9Wr)cV#/gwuq">
                                    <value name="VALUE">
                                      <block type="get_value" id="aZ1%)[.Z9l,gf;D(|xp7">
                                        <field name="ATTR">val</field>
                                        <field name="OID">controll-own.0.LG-TV.ChannelWahl</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="debug" id="!Reg)y./3@yz_^gNiz=1">
                                    <field name="Severity">log</field>
                                    <value name="TEXT">
                                      <shadow type="text" id="e5zTLZw#BKiMw1s*v,6Y">
                                        <field name="TEXT">test</field>
                                      </shadow>
                                      <block type="variables_get" id="HffQ4(lFMn%~_R,bBr33">
                                        <field name="VAR" id="/`9#6,$1vh;JqLGRCH:a" variabletype="">wahl</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="controls_if" id="[L/!c^fI,xk1Z!)*r^%r">
                                        <mutation elseif="2"></mutation>
                                        <value name="IF0">
                                          <block type="logic_compare" id=":vqhr.r%:Pi92OHky$]G">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="text_length" id="f)_Du!~%XIP-B*3(kdKI">
                                                <value name="VALUE">
                                                  <shadow type="text" id="leUEhe1fduf0ubS4JNMS">
                                                    <field name="TEXT">abc</field>
                                                  </shadow>
                                                  <block type="variables_get" id="!jJ#Rr63ZMT}=eSU:7BB">
                                                    <field name="VAR" id="/`9#6,$1vh;JqLGRCH:a" variabletype="">wahl</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_number" id="3^s*mjk0#Ae{vj^Sz9H@">
                                                <field name="NUM">1</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="variables_set" id="u9(KRrBO1:.;P~kl5B~v">
                                            <field name="VAR" id="KEOu|nd+WpbU[xVpjr)y" variabletype="">erst</field>
                                            <value name="VALUE">
                                              <block type="variables_get" id="?{FQ:f2aOHFmvC%f_=]Z">
                                                <field name="VAR" id="/`9#6,$1vh;JqLGRCH:a" variabletype="">wahl</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="procedures_callnoreturn" id="Q3$ROf!6%fYv.g[?^2VI">
                                                <mutation name="schalteJetzt"></mutation>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                        <value name="IF1">
                                          <block type="logic_compare" id="S0[D4@~.]#|:A2dd*22w">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="text_length" id="2lD1O)]+8?V`XOccPw{:">
                                                <value name="VALUE">
                                                  <shadow type="text" id="fPV90qQ%`A1]j^kAXFRl">
                                                    <field name="TEXT">abc</field>
                                                  </shadow>
                                                  <block type="variables_get" id="^JjG4i,e_,y5.zN{z}M;">
                                                    <field name="VAR" id="/`9#6,$1vh;JqLGRCH:a" variabletype="">wahl</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_number" id="(J2EP6T^k=xPvl:~#mhN">
                                                <field name="NUM">2</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO1">
                                          <block type="variables_set" id=")2cYQ-@MfD!3At1HJikp">
                                            <field name="VAR" id="KEOu|nd+WpbU[xVpjr)y" variabletype="">erst</field>
                                            <value name="VALUE">
                                              <block type="text_charAt" id="}A}Cp}}zvE?XNG4h@{g{">
                                                <mutation at="true"></mutation>
                                                <field name="WHERE">FROM_START</field>
                                                <value name="VALUE">
                                                  <block type="variables_get" id="9{FNy2DUrZ[gB@?HG%M,">
                                                    <field name="VAR" id="/`9#6,$1vh;JqLGRCH:a" variabletype="">wahl</field>
                                                  </block>
                                                </value>
                                                <value name="AT">
                                                  <block type="math_number" id="_-NN~gPJ.%2a!@d`?|4E">
                                                    <field name="NUM">1</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="procedures_callnoreturn" id="vIB_[0:`=|6oIs7Z25}k">
                                                <mutation name="schalteJetzt"></mutation>
                                                <next>
                                                  <block type="timeouts_settimeout" id="#3Eca.~~rb%PMaWrNF2`">
                                                    <field name="NAME">timeout</field>
                                                    <field name="DELAY">500</field>
                                                    <field name="UNIT">ms</field>
                                                    <statement name="STATEMENT">
                                                      <block type="variables_set" id="h@n_*#Hy)4VGvC.:KN6u">
                                                        <field name="VAR" id="KEOu|nd+WpbU[xVpjr)y" variabletype="">erst</field>
                                                        <value name="VALUE">
                                                          <block type="text_charAt" id="K1^_%F4F#dVu{5zYfvGd">
                                                            <mutation at="true"></mutation>
                                                            <field name="WHERE">FROM_START</field>
                                                            <value name="VALUE">
                                                              <block type="variables_get" id="!/JxDx,]]CFb.jodWH?S">
                                                                <field name="VAR" id="/`9#6,$1vh;JqLGRCH:a" variabletype="">wahl</field>
                                                              </block>
                                                            </value>
                                                            <value name="AT">
                                                              <block type="math_number" id="(1L@mBXAX1OXq$$H8R!T">
                                                                <field name="NUM">2</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="procedures_callnoreturn" id="AkljHo^Obv?PiPWy=d%F">
                                                            <mutation name="schalteJetzt"></mutation>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </statement>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                        <value name="IF2">
                                          <block type="logic_compare" id="b2-2DO.52cqYKTqH64@z">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="text_length" id=";4@^Spg,Z|nr,4Wy2q5|">
                                                <value name="VALUE">
                                                  <shadow type="text" id="TM_);wos6=d]z~T~sja:">
                                                    <field name="TEXT">abc</field>
                                                  </shadow>
                                                  <block type="variables_get" id="im!j{1X1PQE}2{moo!Hp">
                                                    <field name="VAR" id="/`9#6,$1vh;JqLGRCH:a" variabletype="">wahl</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_number" id="Sj8z|!V`E~^ybt-9MgZf">
                                                <field name="NUM">3</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO2">
                                          <block type="variables_set" id="bg)ZJi8(XIbo$b-v+xpJ">
                                            <field name="VAR" id="KEOu|nd+WpbU[xVpjr)y" variabletype="">erst</field>
                                            <value name="VALUE">
                                              <block type="text_charAt" id="2s2Omfv#gy64B+MFqhQA">
                                                <mutation at="true"></mutation>
                                                <field name="WHERE">FROM_START</field>
                                                <value name="VALUE">
                                                  <block type="variables_get" id="3_V);T44ty^E,2__h-p$">
                                                    <field name="VAR" id="/`9#6,$1vh;JqLGRCH:a" variabletype="">wahl</field>
                                                  </block>
                                                </value>
                                                <value name="AT">
                                                  <block type="math_number" id="+lkt-=%aIw:-?=38*eiO">
                                                    <field name="NUM">1</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="procedures_callnoreturn" id="|K+T`TK)jMgSD*wVm%(c">
                                                <mutation name="schalteJetzt"></mutation>
                                                <next>
                                                  <block type="timeouts_settimeout" id="IFaC?bmWX-$!UguB![CI">
                                                    <field name="NAME">timeout3</field>
                                                    <field name="DELAY">500</field>
                                                    <field name="UNIT">ms</field>
                                                    <statement name="STATEMENT">
                                                      <block type="variables_set" id="os%};1r+ZUu+4U[rZdyB">
                                                        <field name="VAR" id="KEOu|nd+WpbU[xVpjr)y" variabletype="">erst</field>
                                                        <value name="VALUE">
                                                          <block type="text_charAt" id="]20PlzN!gnVIo.`N~fGZ">
                                                            <mutation at="true"></mutation>
                                                            <field name="WHERE">FROM_START</field>
                                                            <value name="VALUE">
                                                              <block type="variables_get" id="^V~W;F,rJN%`J/nr%o.r">
                                                                <field name="VAR" id="/`9#6,$1vh;JqLGRCH:a" variabletype="">wahl</field>
                                                              </block>
                                                            </value>
                                                            <value name="AT">
                                                              <block type="math_number" id="-5WFv;+gp]9b~i]H^{I-">
                                                                <field name="NUM">2</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="procedures_callnoreturn" id="UBY](Rtgi.iy16j;_JhJ">
                                                            <mutation name="schalteJetzt"></mutation>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </statement>
                                                    <next>
                                                      <block type="timeouts_settimeout" id="nd:1)|kb]d7s{QBhP3{!">
                                                        <field name="NAME">timeout2</field>
                                                        <field name="DELAY">500</field>
                                                        <field name="UNIT">ms</field>
                                                        <statement name="STATEMENT">
                                                          <block type="variables_set" id=".=ox,QC.J1b*9TIrZmm#">
                                                            <field name="VAR" id="KEOu|nd+WpbU[xVpjr)y" variabletype="">erst</field>
                                                            <value name="VALUE">
                                                              <block type="text_charAt" id="O)t=iI1GSB$A2*6HA}y?">
                                                                <mutation at="true"></mutation>
                                                                <field name="WHERE">FROM_START</field>
                                                                <value name="VALUE">
                                                                  <block type="variables_get" id="B)oEUm46/uCX}:v[5);j">
                                                                    <field name="VAR" id="/`9#6,$1vh;JqLGRCH:a" variabletype="">wahl</field>
                                                                  </block>
                                                                </value>
                                                                <value name="AT">
                                                                  <block type="math_number" id="a40bx~FcnvB^P.RKS%I0">
                                                                    <field name="NUM">3</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="procedures_callnoreturn" id="7z0vQZ2U2V#17hv/#xdA">
                                                                <mutation name="schalteJetzt"></mutation>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </statement>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                          <block type="procedures_defnoreturn" id="[Vp}u,M0)xj)MN:k?WOV" x="987" y="-137">
                            <field name="NAME">schalteJetzt</field>
                            <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                            <statement name="STACK">
                              <block type="controls_if" id="Zn*PAx{~~!vc]GRdY7pF">
                                <value name="IF0">
                                  <block type="logic_compare" id="kKmd5_bU:CZrgq^H+/fT">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                      <block type="variables_get" id="O+tY,5n$TviuwO}JWZcz">
                                        <field name="VAR" id="KEOu|nd+WpbU[xVpjr)y" variabletype="">erst</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="text" id="@Vv8j?_`ErdG9R7-M+CM">
                                        <field name="TEXT">0</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="control" id="Cv_Q1X,3c4]g6]wTfvlG">
                                    <mutation delay_input="false"></mutation>
                                    <field name="OID">lgtv.0.remote.0</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="c7pi}ff},+{GUVk5e6iX">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                  </block>
                                </statement>
                                <next>
                                  <block type="controls_if" id="AF1:NJZNvM`f$ov(Tl$Y">
                                    <value name="IF0">
                                      <block type="logic_compare" id=".ReJAgpK0C1p{lGeTu0[">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="variables_get" id="-V1xLo[R5RUxCeJ3-y+p">
                                            <field name="VAR" id="KEOu|nd+WpbU[xVpjr)y" variabletype="">erst</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="text" id="DPSISihc5,uOnC(^1LtM">
                                            <field name="TEXT">1</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="control" id="*F58G66uc}`uhCE~/zrA">
                                        <mutation delay_input="false"></mutation>
                                        <field name="OID">lgtv.0.remote.1</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="t/SL#gs{6=a3SR6D@vn9">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="controls_if" id="zh*VaOSV[b2Ou%T=QwGk">
                                        <value name="IF0">
                                          <block type="logic_compare" id="AVF(zC.49a{tgJ=/gnAD">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="variables_get" id="d+6kM?tpX$ZtH(lnKMFe">
                                                <field name="VAR" id="KEOu|nd+WpbU[xVpjr)y" variabletype="">erst</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="text" id="G.,RS373(LVcoDqiVFJ*">
                                                <field name="TEXT">2</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="control" id="^2jw?RZb:}PMc-k3#tw,">
                                            <mutation delay_input="false"></mutation>
                                            <field name="OID">lgtv.0.remote.2</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="s~Os8{O)I9}z0?ehXamP">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </statement>
                                        <next>
                                          <block type="controls_if" id="K(sSXiaVQofUp(fhd1eC">
                                            <value name="IF0">
                                              <block type="logic_compare" id=".{NBTW.-7H*+p5y6^-9-">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="variables_get" id="}**1aWf_qCN0qtWo#b+s">
                                                    <field name="VAR" id="KEOu|nd+WpbU[xVpjr)y" variabletype="">erst</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="text" id="wvhw,wU_-Q^Yc*{}fiLU">
                                                    <field name="TEXT">3</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="control" id="ILsNEbPs4wrxNBQ+$,T(">
                                                <mutation delay_input="false"></mutation>
                                                <field name="OID">lgtv.0.remote.3</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id=":DA9V+xPpE%C67fr}s*b">
                                                    <field name="BOOL">TRUE</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </statement>
                                            <next>
                                              <block type="controls_if" id="4nuH!`QYiTGioC{}A)W+">
                                                <value name="IF0">
                                                  <block type="logic_compare" id=")Mu=64z~aceU#*o;a42`">
                                                    <field name="OP">EQ</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="fvOBa``NWO5O-|-.]sg#">
                                                        <field name="VAR" id="KEOu|nd+WpbU[xVpjr)y" variabletype="">erst</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="text" id="^1uKLLz[}^3$.6Ek;]i6">
                                                        <field name="TEXT">4</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="control" id="*k~Xr_ymo-9!%KceNE[o">
                                                    <mutation delay_input="false"></mutation>
                                                    <field name="OID">lgtv.0.remote.4</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id=";q)7=Dn{*CR|Q.Y2/gd1">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </statement>
                                                <next>
                                                  <block type="controls_if" id="|(5Br@/1ZYN%FZ4!%fT)">
                                                    <value name="IF0">
                                                      <block type="logic_compare" id="qvtU*InT9LjNVO0*#@Se">
                                                        <field name="OP">EQ</field>
                                                        <value name="A">
                                                          <block type="variables_get" id="m,PS2}YU2NVci^*zNm=T">
                                                            <field name="VAR" id="KEOu|nd+WpbU[xVpjr)y" variabletype="">erst</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="text" id="-y#$[s,8S`Xa5ALgLKB?">
                                                            <field name="TEXT">5</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <statement name="DO0">
                                                      <block type="control" id="/cvPXwycm:Zux75!D85b">
                                                        <mutation delay_input="false"></mutation>
                                                        <field name="OID">lgtv.0.remote.5</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE">
                                                          <block type="logic_boolean" id="8GPPkXMVgW917%$Or0H[">
                                                            <field name="BOOL">TRUE</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </statement>
                                                    <next>
                                                      <block type="controls_if" id="!KS5j8!d:t9,bk|;$,-b">
                                                        <value name="IF0">
                                                          <block type="logic_compare" id="w|*Kv#VqYKG7LeF+i}7!">
                                                            <field name="OP">EQ</field>
                                                            <value name="A">
                                                              <block type="variables_get" id="c+mYE|efo%No]!-)*#WN">
                                                                <field name="VAR" id="KEOu|nd+WpbU[xVpjr)y" variabletype="">erst</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="text" id="b{zOwZnfV!Yugc$Zu`Ip">
                                                                <field name="TEXT">6</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <statement name="DO0">
                                                          <block type="control" id="#d$qtGOYY=RZeDya2#Ie">
                                                            <mutation delay_input="false"></mutation>
                                                            <field name="OID">lgtv.0.remote.6</field>
                                                            <field name="WITH_DELAY">FALSE</field>
                                                            <value name="VALUE">
                                                              <block type="logic_boolean" id="(,7:b22Wbn`4jLQN$eMI">
                                                                <field name="BOOL">TRUE</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </statement>
                                                        <next>
                                                          <block type="controls_if" id="io-#zL|5];*s|;_MZ.iL">
                                                            <value name="IF0">
                                                              <block type="logic_compare" id="s{=sH,rE9M6Ke6Un/9*a">
                                                                <field name="OP">EQ</field>
                                                                <value name="A">
                                                                  <block type="variables_get" id="+%aa#.Y^m%z/Y=az.It)">
                                                                    <field name="VAR" id="KEOu|nd+WpbU[xVpjr)y" variabletype="">erst</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="text" id="*aFDmrkQ!k]14^StM]7r">
                                                                    <field name="TEXT">7</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <statement name="DO0">
                                                              <block type="control" id="*~Q?4kxS+WTni~f1+Ath">
                                                                <mutation delay_input="false"></mutation>
                                                                <field name="OID">lgtv.0.remote.7</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE">
                                                                  <block type="logic_boolean" id="!ikR7mO3~{viMX$1d=Bd">
                                                                    <field name="BOOL">TRUE</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </statement>
                                                            <next>
                                                              <block type="controls_if" id="fFj/~d5L,;-Q_Ip@,|Zf">
                                                                <value name="IF0">
                                                                  <block type="logic_compare" id="*3BE@,!^W-;zZYe(wFM]">
                                                                    <field name="OP">EQ</field>
                                                                    <value name="A">
                                                                      <block type="variables_get" id="/|9E9)D?9a-M-oG$S*Cu">
                                                                        <field name="VAR" id="KEOu|nd+WpbU[xVpjr)y" variabletype="">erst</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="text" id="58*?4f#0b@r-}l:KsKxS">
                                                                        <field name="TEXT">8</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <statement name="DO0">
                                                                  <block type="control" id="7^AUPQctKh_Ck{n#RxnA">
                                                                    <mutation delay_input="false"></mutation>
                                                                    <field name="OID">lgtv.0.remote.8</field>
                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                    <value name="VALUE">
                                                                      <block type="logic_boolean" id="or;ZQ)`8JQP*M3U6j+[S">
                                                                        <field name="BOOL">TRUE</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </statement>
                                                                <next>
                                                                  <block type="controls_if" id="jHB*pH-aO@x+:6)#3i0.">
                                                                    <value name="IF0">
                                                                      <block type="logic_compare" id="t=Dozoe]B}SNmTOZ;0;9">
                                                                        <field name="OP">EQ</field>
                                                                        <value name="A">
                                                                          <block type="variables_get" id="e,qiE*0%RQ?$~1p$|Jd{">
                                                                            <field name="VAR" id="KEOu|nd+WpbU[xVpjr)y" variabletype="">erst</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="text" id="Yeu^%D3Z9+Ta^3s)C~=_">
                                                                            <field name="TEXT">9</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <statement name="DO0">
                                                                      <block type="control" id="om8g]`X,lWeLl]l5NZmP">
                                                                        <mutation delay_input="false"></mutation>
                                                                        <field name="OID">lgtv.0.remote.9</field>
                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                        <value name="VALUE">
                                                                          <block type="logic_boolean" id=":!#QYq*04H@t7-5uVoMV">
                                                                            <field name="BOOL">TRUE</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </statement>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </xml>
                        

                        sigi234 1 Reply Last reply Reply Quote 0
                        • sigi234
                          sigi234 Forum Testing Most Active @liv-in-sky last edited by sigi234

                          @liv-in-sky sagte in lgtv Adapter zur Steuerung von LG WebOS SmartTVs:

                          @sigi234

                          ich habe das mal so gemacht - einen eigenen datenpunkt für die channels erzeugt, den ich bescheiben kann - und zusätzlich ein script, das umwandelt und die remote -dp schaltet

                          vielleicht kanns du es brauchen

                          Danke, aber geht jetzt mit materialdesign button toggle

                          1 Reply Last reply Reply Quote 0
                          • marcuskl
                            marcuskl last edited by

                            Wenn ich die Remote funktionen nutze, kommt immer ein Error im Log, noch jemand das Problem ?

                            2019-12-09 11:32:11.829 - error: lgtv.0 (5470) State change "remote.1" - VALUE: {"val":true,"ack":false,"ts":1575887531826,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1575887531826}
                            
                            sigi234 1 Reply Last reply Reply Quote 0
                            • sigi234
                              sigi234 Forum Testing Most Active @marcuskl last edited by

                              @marcuskl sagte in lgtv Adapter zur Steuerung von LG WebOS SmartTVs:

                              Wenn ich die Remote funktionen nutze, kommt immer ein Error im Log, noch jemand das Problem ?

                              2019-12-09 11:32:11.829 - error: lgtv.0 (5470) State change "remote.1" - VALUE: {"val":true,"ack":false,"ts":1575887531826,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1575887531826}
                              

                              Welches Widget nimmst du?

                              marcuskl 1 Reply Last reply Reply Quote 0
                              • marcuskl
                                marcuskl @sigi234 last edited by

                                @sigi234
                                Nutze zur Visualisierung Lovelace und da die Button Card

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

                                  @marcuskl sagte in lgtv Adapter zur Steuerung von LG WebOS SmartTVs:

                                  @sigi234
                                  Nutze zur Visualisierung Lovelace und da die Button Card

                                  Teste mal das Widget:

                                  [{"tpl":"tplIconStateBool","data":{"oid":"lgtv.0.remote.1","g_fixed":false,"g_visibility":false,"g_css_font_text":true,"g_css_background":true,"g_css_shadow_padding":true,"g_css_border":true,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"invert_icon":false,"false_text":"","imageHeight":"103","true_text":"","click_value":"true","false_src":"/icons-mfd-svg/edit_numeric_1.svg","true_src":"/icons-mfd-svg/edit_numeric_1.svg"},"style":{"left":"497px","top":"110px","width":"60px","height":"60px","z-index":"1","font-size":"","color":"#d7cec1","text-align":"","text-shadow":"","background-color":"#000000","background":"transparent","border-width":"1px","border-style":"solid","border-color":"#0045db","border-radius":"5px","font-family":"RobotoCondensed-Light","box-shadow":"2px 2px 3px rgba(20, 20, 20, 50)","margin-left":"","padding-left":""},"widgetSet":"jqui"}]
                                  
                                  marcuskl 1 Reply Last reply Reply Quote 0
                                  • marcuskl
                                    marcuskl @sigi234 last edited by

                                    @sigi234 Ich nutze aber nicht Vis sonder Lovelace

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

                                      @marcuskl sagte in lgtv Adapter zur Steuerung von LG WebOS SmartTVs:

                                      sonder Lovelace

                                      Ah ,ok dann weis ich es nicht.

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

                                        @SchuetzeSchulz

                                        Update V 1.1.2

                                        EDIT: Geht jetzt, einfach noch mal installiert.

                                        $ ./iobroker upgrade lgtv
                                        Update lgtv from @1.1.1 to @1.1.2
                                        NPM version: 6.9.0
                                        npm install iobroker.lgtv@1.1.2 --loglevel error --prefix "C:/Program Files/iobroker/Test" (System call)
                                        npm
                                         ERR! path C:\Program Files\iobroker\Test\node_modules\iobroker.lgtv\node_modules\.websocket.DELETE\build\Release\validation.nodenpm ERR! code EPERMnpm ERR! errno -4048npm ERR! syscall unlink
                                        npm
                                         ERR! Error: EPERM: operation not permitted, unlink 'C:\Program Files\iobroker\Test\node_modules\iobroker.lgtv\node_modules\.websocket.DELETE\build\Release\validation.node'npm ERR!  { [Error: EPERM: operation not permitted, unlink 'C:\Program Files\iobroker\Test\node_modules\iobroker.lgtv\node_modules\.websocket.DELETE\build\Release\validation.node']npm ERR!   cause:npm ERR!    { Error: EPERM: operation not permitted, unlink 'C:\Program Files\iobroker\Test\node_modules\iobroker.lgtv\node_modules\.websocket.DELETE\build\Release\validation.node'npm ERR!      errno: -4048,npm ERR!      code: 'EPERM',npm ERR!      syscall: 'unlink',npm ERR!
                                              path:npm ERR!       'C:\\Program Files\\iobroker\\Test\\node_modules\\iobroker.lgtv\\node_modules\\.websocket.DELETE\\build\\Release\\validation.node' },
                                        npm 
                                        ERR!   stack:npm ERR!    'Error: EPERM: operation not permitted, unlink \'C:\\Program Files\\iobroker\\Test\\node_modules\\iobroker.lgtv\\node_modules\\.websocket.DELETE\\build\\Release\\validation.node\'',npm ERR!   errno: -4048,npm 
                                        ERR!   code: 'EPERM',npm ERR!   syscall: 'unlink',npm ERR!   path:npm ERR!    'C:\\Program Files\\iobroker\\Test\\node_modules\\iobroker.lgtv\\node_modules\\.websocket.DELETE\\build\\Release\\validation.node',npm ERR!
                                           parent: 'iobroker.lgtv' }npm ERR! npm ERR!
                                         The operation was rejected by your operating system.npm ERR! It's possible that the file was already in use (by a text editor or antivirus),npm ERR! or that you lack permissions to access it.npm ERR! 
                                        npm ERR! If you believe this might be a permissions issue, please double-check thenpm ERR! permissions of the file and its containing directories, or try runningnpm ERR! the command again as root/Administrator (though this is not recommended).
                                        
                                        npm ERR! A complete log of this run can be found in:npm 
                                        ERR!
                                             C:\Program Files\iobroker\Test\env\npm-cache\_logs\2019-12-09T19_50_32_212Z-debug.log
                                        ERROR: host.Medion(Test) Cannot install iobroker.lgtv@1.1.2: 4294963248
                                        ERROR: process exited with code 25
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          mikiline @deta last edited by mikiline

                                          @deta sagte in lgtv Adapter zur Steuerung von LG WebOS SmartTVs:

                                          Hallo, ich hab da das Problem, das obwohl ich den LG sage erlaube Zugriff, kommt dann immer wieder eine neue Anfrage.

                                          Der LG ist per LAN im Netzwerk, genauso wie der Raspi, wo ioBroker drauf ist.

                                          Woran könnte es liegen?

                                          cu Deta

                                          Habe genau das gleiche Problem.

                                          Gibt es denn hierzu eine Lösung?

                                          Danke und Grüsse

                                          Edit: scheint nach Installation des Adapters von GitHub zu funktionieren (vers. 1.1.3)

                                          1 Reply Last reply Reply Quote 0
                                          • R
                                            RandyAndy last edited by

                                            Hi,

                                            ich würde gerne mit dem Adapter auh Einstellungen ändern.
                                            Ich bin mir sicher das das irgendwie mit dem setstate... geht, aber wie.
                                            Ich würde nämlich gerne die Sprache zwischen Deutsch und English auswählen können, bekomme es aber nicht hin.
                                            Ich habe versucht das über keys zu machen, das ist aber nicht stabil und manchmal funktioniert es, meistens aber nicht.
                                            Für jeden Tip wäre ich dankbar.

                                            Andreas

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.0k
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            lgtv
                                            113
                                            861
                                            237230
                                            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