Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Entwicklung
  4. lgtv Adapter zur Steuerung von LG WebOS SmartTVs

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.6k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.1k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    2.9k

lgtv Adapter zur Steuerung von LG WebOS SmartTVs

Geplant Angeheftet Gesperrt Verschoben Entwicklung
lgtv
861 Beiträge 113 Kommentatoren 317.5k Aufrufe 69 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • marcusklM marcuskl

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

    Hallo, arbeite gerade an einer Vis für den LG TV, wie bekomme ich die Kanäle rein?
    Oder Input?

    Screenshot (315).png

    Hast du die Remote Funktionen mit der Rolle Switch gelassen ?
    Oder abgeändert?

    sigi234S Online
    sigi234S Online
    sigi234
    Forum Testing Most Active
    schrieb am zuletzt editiert von
    #380

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

    Hast du die Remote Funktionen mit der Rolle Switch gelassen ?

    Nichts geändert.

    Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
    Immer Daten sichern!

    marcusklM 1 Antwort Letzte Antwort
    0
    • sigi234S sigi234

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

      Hast du die Remote Funktionen mit der Rolle Switch gelassen ?

      Nichts geändert.

      marcusklM Offline
      marcusklM Offline
      marcuskl
      schrieb am zuletzt editiert von
      #381

      @sigi234 machen die Remote funktionen auch bei false was ?

      Host: Intel Nuc6cayh (16GB Ram, 240GB SSD) mit Proxmox.

      Iobroker VM, InfluxDB LXC, Pihole LXC, Tasmoadmin LXC, Easy2connect VM

      sigi234S 1 Antwort Letzte Antwort
      0
      • Jey CeeJ Online
        Jey CeeJ Online
        Jey Cee
        Developer
        schrieb am zuletzt editiert von
        #382

        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.

        Persönlicher Support
        Spenden -> paypal.me/J3YC33

        1 Antwort Letzte Antwort
        0
        • marcusklM marcuskl

          @sigi234 machen die Remote funktionen auch bei false was ?

          sigi234S Online
          sigi234S Online
          sigi234
          Forum Testing Most Active
          schrieb am zuletzt editiert von
          #383

          @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.'
          

          Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
          Immer Daten sichern!

          1 Antwort Letzte Antwort
          0
          • marcusklM Offline
            marcusklM Offline
            marcuskl
            schrieb am zuletzt editiert von
            #384

            @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.

            Host: Intel Nuc6cayh (16GB Ram, 240GB SSD) mit Proxmox.

            Iobroker VM, InfluxDB LXC, Pihole LXC, Tasmoadmin LXC, Easy2connect VM

            1 Antwort Letzte Antwort
            0
            • oberfraggerO Offline
              oberfraggerO Offline
              oberfragger
              schrieb am zuletzt editiert von
              #385

              @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 CeeJ 1 Antwort Letzte Antwort
              0
              • oberfraggerO oberfragger

                @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 CeeJ Online
                Jey CeeJ Online
                Jey Cee
                Developer
                schrieb am zuletzt editiert von
                #386

                @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.

                Persönlicher Support
                Spenden -> paypal.me/J3YC33

                oberfraggerO 1 Antwort Letzte Antwort
                0
                • oberfraggerO Offline
                  oberfraggerO Offline
                  oberfragger
                  schrieb am zuletzt editiert von
                  #387

                  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 Antwort Letzte Antwort
                  0
                  • Jey CeeJ Jey Cee

                    @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.

                    oberfraggerO Offline
                    oberfraggerO Offline
                    oberfragger
                    schrieb am zuletzt editiert von oberfragger
                    #388

                    @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 Antwort Letzte Antwort
                    0
                    • B Offline
                      B Offline
                      Bluelightcrew
                      schrieb am zuletzt editiert von
                      #389

                      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 Antwort Letzte Antwort
                      0
                      • S SchuetzeSchulz

                        Hallo zusammen,

                        aufgrund mangelnden Angebots :lol: habe ich mich entschlossen einen Adapter für LG WebOS SmartTV's auf Basis von Hobbyquakers https://github.com/hobbyquaker/lgtv2 zu entwickeln.

                        Ich habe es - bin kein JavaScript-Profi - schon soweit geschafft, dass er in der Adapterliste korrekt auftaucht:

                        294_adapterlist.png

                        Und auch die Adapter-Konfiguration ist fertig:

                        294_adapterconfig.png

                        Bisher habe ich nur die Popup-Funktion eingebaut. Wenn also z.b. "lgtv.0.popup" irgend ein Wert übergeben wird (hier sind teilweise auch HTML-Tags möglich), wird auf dem Fernseher ein Info-Popup angezeigt:

                        294_popup.jpg

                        Nun mein großes Problem:

                        Ich habe das bisher extrem "quick & dirty" gelöst, indem ich Hobbyquakers LGTV2 mittels

                        var lgtvobj = require("lgtv2")({url: 'ws://' + adapter.config.IP + ':3000', timeout: adapter.config.timeout, reconnect: adapter.config.reconnect});
                        
                        

                        eingebunden, würde aber gern die Funktionen aus Hobbyquakers Script direkt implementieren wollen, um es übersichtlicher zu haben.

                        Einfaches "copy & paste" geht da natürlich nicht.

                        Daher nun meine Frage, ob mir da jemand helfen kann bzw. mir Tipps geben kann, wie ich am Besten vorgehe?

                        Ist so ein Adapter überhaupt gewünscht?

                        Was haltet Ihr bisher davon?

                        sigi234S Online
                        sigi234S Online
                        sigi234
                        Forum Testing Most Active
                        schrieb am zuletzt editiert von sigi234
                        #390

                        @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

                        Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                        Immer Daten sichern!

                        liv-in-skyL S 2 Antworten Letzte Antwort
                        0
                        • sigi234S 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-skyL Offline
                          liv-in-skyL Offline
                          liv-in-sky
                          schrieb am zuletzt editiert von liv-in-sky
                          #391

                          @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>
                          

                          nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                          sigi234S 1 Antwort Letzte Antwort
                          0
                          • liv-in-skyL 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>
                            

                            sigi234S Online
                            sigi234S Online
                            sigi234
                            Forum Testing Most Active
                            schrieb am zuletzt editiert von sigi234
                            #392

                            @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

                            Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                            Immer Daten sichern!

                            1 Antwort Letzte Antwort
                            0
                            • marcusklM Offline
                              marcusklM Offline
                              marcuskl
                              schrieb am zuletzt editiert von
                              #393

                              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}
                              

                              Host: Intel Nuc6cayh (16GB Ram, 240GB SSD) mit Proxmox.

                              Iobroker VM, InfluxDB LXC, Pihole LXC, Tasmoadmin LXC, Easy2connect VM

                              sigi234S 1 Antwort Letzte Antwort
                              0
                              • marcusklM marcuskl

                                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}
                                
                                sigi234S Online
                                sigi234S Online
                                sigi234
                                Forum Testing Most Active
                                schrieb am zuletzt editiert von
                                #394

                                @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?

                                Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                Immer Daten sichern!

                                marcusklM 1 Antwort Letzte Antwort
                                0
                                • sigi234S sigi234

                                  @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?

                                  marcusklM Offline
                                  marcusklM Offline
                                  marcuskl
                                  schrieb am zuletzt editiert von
                                  #395

                                  @sigi234
                                  Nutze zur Visualisierung Lovelace und da die Button Card

                                  Host: Intel Nuc6cayh (16GB Ram, 240GB SSD) mit Proxmox.

                                  Iobroker VM, InfluxDB LXC, Pihole LXC, Tasmoadmin LXC, Easy2connect VM

                                  sigi234S 1 Antwort Letzte Antwort
                                  0
                                  • marcusklM marcuskl

                                    @sigi234
                                    Nutze zur Visualisierung Lovelace und da die Button Card

                                    sigi234S Online
                                    sigi234S Online
                                    sigi234
                                    Forum Testing Most Active
                                    schrieb am zuletzt editiert von
                                    #396

                                    @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"}]
                                    

                                    Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                    Immer Daten sichern!

                                    marcusklM 1 Antwort Letzte Antwort
                                    0
                                    • sigi234S sigi234

                                      @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"}]
                                      
                                      marcusklM Offline
                                      marcusklM Offline
                                      marcuskl
                                      schrieb am zuletzt editiert von
                                      #397

                                      @sigi234 Ich nutze aber nicht Vis sonder Lovelace

                                      Host: Intel Nuc6cayh (16GB Ram, 240GB SSD) mit Proxmox.

                                      Iobroker VM, InfluxDB LXC, Pihole LXC, Tasmoadmin LXC, Easy2connect VM

                                      sigi234S 1 Antwort Letzte Antwort
                                      0
                                      • marcusklM marcuskl

                                        @sigi234 Ich nutze aber nicht Vis sonder Lovelace

                                        sigi234S Online
                                        sigi234S Online
                                        sigi234
                                        Forum Testing Most Active
                                        schrieb am zuletzt editiert von
                                        #398

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

                                        sonder Lovelace

                                        Ah ,ok dann weis ich es nicht.

                                        Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                        Immer Daten sichern!

                                        1 Antwort Letzte Antwort
                                        0
                                        • S SchuetzeSchulz

                                          Hallo zusammen,

                                          aufgrund mangelnden Angebots :lol: habe ich mich entschlossen einen Adapter für LG WebOS SmartTV's auf Basis von Hobbyquakers https://github.com/hobbyquaker/lgtv2 zu entwickeln.

                                          Ich habe es - bin kein JavaScript-Profi - schon soweit geschafft, dass er in der Adapterliste korrekt auftaucht:

                                          294_adapterlist.png

                                          Und auch die Adapter-Konfiguration ist fertig:

                                          294_adapterconfig.png

                                          Bisher habe ich nur die Popup-Funktion eingebaut. Wenn also z.b. "lgtv.0.popup" irgend ein Wert übergeben wird (hier sind teilweise auch HTML-Tags möglich), wird auf dem Fernseher ein Info-Popup angezeigt:

                                          294_popup.jpg

                                          Nun mein großes Problem:

                                          Ich habe das bisher extrem "quick & dirty" gelöst, indem ich Hobbyquakers LGTV2 mittels

                                          var lgtvobj = require("lgtv2")({url: 'ws://' + adapter.config.IP + ':3000', timeout: adapter.config.timeout, reconnect: adapter.config.reconnect});
                                          
                                          

                                          eingebunden, würde aber gern die Funktionen aus Hobbyquakers Script direkt implementieren wollen, um es übersichtlicher zu haben.

                                          Einfaches "copy & paste" geht da natürlich nicht.

                                          Daher nun meine Frage, ob mir da jemand helfen kann bzw. mir Tipps geben kann, wie ich am Besten vorgehe?

                                          Ist so ein Adapter überhaupt gewünscht?

                                          Was haltet Ihr bisher davon?

                                          sigi234S Online
                                          sigi234S Online
                                          sigi234
                                          Forum Testing Most Active
                                          schrieb am zuletzt editiert von sigi234
                                          #399

                                          @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
                                          

                                          Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                          Immer Daten sichern!

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          353

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe