Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Blockly schalten von Steckdose durch befehl(Gelöst).

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    6
    1
    226

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    8
    1
    220

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    893

Blockly schalten von Steckdose durch befehl(Gelöst).

Scheduled Pinned Locked Moved Blockly
22 Posts 6 Posters 3.1k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    leonracer
    wrote on last edited by
    #13

    Hi,

    Ist die Steckdose überhaupt erreich- und schaltbar? Ich würde mal probieren den Steuere-Baustein 3 oder 4 mal zu setzen mit verschiedenen Timeouts und schauen ob überhaupt eingeschaltet wird.

    Im Falls Baustein mal die 2 als Textbaustein und nicht Mathematik testen. Irgendwie muss es ja klappen.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Sammy0608
      wrote on last edited by Sammy0608
      #14

      Hallo

      so habe es jetzt mit Textfeldern probiert leider wieder Fehlanzeige.
      Habe in dem zuge mehre aneinander gepackt auch ohne erfolg.

      Habe auch einen neuen Ansatz probiert siehe unten auch ohne erfolg.

      Mit Wurde Aktuallsiert oder Wurde Geändert auch probiert kein veränderung.

      Ich denke, irgendwas ist in meiner Installation defekt.

      Ich werde die Tage mal versuchen den Raspberry neu aufzusetzen.
      und Iobroker neu installieren. Updates habe ich heute auch durchgeführt.

      Beim Schalten von TV-Schalter-C-AN unter objekte schaltet die dose auch an.

      LG Sammy und danke für die vielen mühen ich berichtet ob das neuinstallieren geholfen hat.

      iobroker4.PNG

      
      BlocklyJavascriptTypeScript
      Protokoll
      Ausgewählte Blöcke exportieren
      <xml xmlns="http://www.w3.org/1999/xhtml">
        <block type="on_ext" id="55@yN/Bd.4.Zl:.QX]zj" x="88" y="38">
          <mutation items="1"></mutation>
          <field name="CONDITION">ne</field>
          <field name="ACK_CONDITION"></field>
          <value name="OID0">
            <shadow type="field_oid" id="W^r22S90au(LBao+qr~s">
              <field name="oid">harmony.0.Harmony_Hub.activities.currentStatus</field>
            </shadow>
          </value>
          <statement name="STATEMENT">
            <block type="controls_if" id="t+Ke{Pk2f$w[7Fj3rsm2">
              <mutation elseif="1"></mutation>
              <value name="IF0">
                <block type="logic_compare" id="6z*G9nWc)Ev;DED,zFX!">
                  <field name="OP">EQ</field>
                  <value name="A">
                    <block type="field_oid" id="I?p,3y)YpTe/@go=o7F?">
                      <field name="oid">harmony.0.Harmony_Hub.activities.currentActivity</field>
                    </block>
                  </value>
                  <value name="B">
                    <block type="text" id="PWiyTa#nDNOq=Mu9?duw">
                      <field name="TEXT">"TV"</field>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO0">
                <block type="control" id="+%,LyB:O#bq~hHdQkKQq">
                  <mutation delay_input="true"></mutation>
                  <field name="OID">broadlink2.0.RM:RMPROPLUS-4d-e6-69.L.TV-Schalter-C-AN</field>
                  <field name="WITH_DELAY">TRUE</field>
                  <field name="DELAY_MS">1</field>
                  <field name="UNIT">sec</field>
                  <field name="CLEAR_RUNNING">FALSE</field>
                  <value name="VALUE">
                    <block type="logic_boolean" id="i_;NK`/V*.-qoe_O2oq1">
                      <field name="BOOL">TRUE</field>
                    </block>
                  </value>
                  <next>
                    <block type="toggle" id="KV?[yKzl8FHbR7LKv%]b">
                      <mutation delay_input="true"></mutation>
                      <field name="OID">broadlink2.0.RM:RMPROPLUS-4d-e6-69.L.TV-Schalter-C-AN</field>
                      <field name="WITH_DELAY">TRUE</field>
                      <field name="DELAY_MS">2</field>
                      <field name="UNIT">sec</field>
                      <field name="CLEAR_RUNNING">FALSE</field>
                      <next>
                        <block type="update" id="-99#Wc8Gr[3GRD%!9H*}">
                          <mutation delay_input="true"></mutation>
                          <field name="OID">broadlink2.0.RM:RMPROPLUS-4d-e6-69.L.TV-Schalter-C-AN</field>
                          <field name="WITH_DELAY">TRUE</field>
                          <field name="DELAY_MS">3</field>
                          <field name="UNIT">sec</field>
                          <field name="CLEAR_RUNNING">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="_(]CC?AVC%ep~|N#4I%r">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
              <value name="IF1">
                <block type="logic_compare" id="w2Itp]6bGxbHPntaH{w#">
                  <field name="OP">EQ</field>
                  <value name="A">
                    <block type="field_oid" id="cJj*a9:_+q2|#QD(/*YT">
                      <field name="oid">harmony.0.Harmony_Hub.activities.currentActivity</field>
                    </block>
                  </value>
                  <value name="B">
                    <block type="text" id="}t?K1`t(OIbUrTkXg2Ru">
                      <field name="TEXT">"PowerOff"</field>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO1">
                <block type="control" id="$u}^((CwaO2Q745.MGpd">
                  <mutation delay_input="true"></mutation>
                  <field name="OID">broadlink2.0.RM:RMPROPLUS-4d-e6-69.L.TV-Schalter-C-Aus</field>
                  <field name="WITH_DELAY">TRUE</field>
                  <field name="DELAY_MS">1</field>
                  <field name="UNIT">sec</field>
                  <field name="CLEAR_RUNNING">FALSE</field>
                  <value name="VALUE">
                    <block type="logic_boolean" id="5kpTuham,Jvh`gXPg`H-">
                      <field name="BOOL">TRUE</field>
                    </block>
                  </value>
                  <next>
                    <block type="toggle" id="I5It8-AT$%:N3/~)I2p6">
                      <mutation delay_input="true"></mutation>
                      <field name="OID">broadlink2.0.RM:RMPROPLUS-4d-e6-69.L.TV-Schalter-C-Aus</field>
                      <field name="WITH_DELAY">TRUE</field>
                      <field name="DELAY_MS">2</field>
                      <field name="UNIT">sec</field>
                      <field name="CLEAR_RUNNING">FALSE</field>
                      <next>
                        <block type="update" id="Ny.#/OKhf`:d$UgLnJO^">
                          <mutation delay_input="true"></mutation>
                          <field name="OID">broadlink2.0.RM:RMPROPLUS-4d-e6-69.L.TV-Schalter-C-Aus</field>
                          <field name="WITH_DELAY">TRUE</field>
                          <field name="DELAY_MS">3</field>
                          <field name="UNIT">sec</field>
                          <field name="CLEAR_RUNNING">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="q}ltpsLR]|@1o#{F#PiU">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
            </block>
          </statement>
        </block>
      </xml>
      <xml xmlns="http://www.w3.org/1999/xhtml">
        <block type="on_ext" id="55@yN/Bd.4.Zl:.QX]zj" x="88" y="38">
          <mutation items="1"></mutation>
          <field name="CONDITION">ne</field>
          <field name="ACK_CONDITION"></field>
          <value name="OID0">
            <shadow type="field_oid" id="W^r22S90au(LBao+qr~s">
              <field name="oid">harmony.0.Harmony_Hub.activities.currentStatus</field>
            </shadow>
          </value>
          <statement name="STATEMENT">
            <block type="controls_if" id="t+Ke{Pk2f$w[7Fj3rsm2">
              <mutation elseif="1"></mutation>
              <value name="IF0">
                <block type="logic_compare" id="6z*G9nWc)Ev;DED,zFX!">
                  <field name="OP">EQ</field>
                  <value name="A">
                    <block type="field_oid" id="I?p,3y)YpTe/@go=o7F?">
                      <field name="oid">harmony.0.Harmony_Hub.activities.currentActivity</field>
                    </block>
                  </value>
                  <value name="B">
                    <block type="text" id="PWiyTa#nDNOq=Mu9?duw">
                      <field name="TEXT">"TV"</field>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO0">
                <block type="control" id="+%,LyB:O#bq~hHdQkKQq">
                  <mutation delay_input="true"></mutation>
                  <field name="OID">broadlink2.0.RM:RMPROPLUS-4d-e6-69.L.TV-Schalter-C-AN</field>
                  <field name="WITH_DELAY">TRUE</field>
                  <field name="DELAY_MS">1</field>
                  <field name="UNIT">sec</field>
                  <field name="CLEAR_RUNNING">FALSE</field>
                  <value name="VALUE">
                    <block type="logic_boolean" id="i_;NK`/V*.-qoe_O2oq1">
                      <field name="BOOL">TRUE</field>
                    </block>
                  </value>
                  <next>
                    <block type="toggle" id="KV?[yKzl8FHbR7LKv%]b">
                      <mutation delay_input="true"></mutation>
                      <field name="OID">broadlink2.0.RM:RMPROPLUS-4d-e6-69.L.TV-Schalter-C-AN</field>
                      <field name="WITH_DELAY">TRUE</field>
                      <field name="DELAY_MS">2</field>
                      <field name="UNIT">sec</field>
                      <field name="CLEAR_RUNNING">FALSE</field>
                      <next>
                        <block type="update" id="-99#Wc8Gr[3GRD%!9H*}">
                          <mutation delay_input="true"></mutation>
                          <field name="OID">broadlink2.0.RM:RMPROPLUS-4d-e6-69.L.TV-Schalter-C-AN</field>
                          <field name="WITH_DELAY">TRUE</field>
                          <field name="DELAY_MS">3</field>
                          <field name="UNIT">sec</field>
                          <field name="CLEAR_RUNNING">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="_(]CC?AVC%ep~|N#4I%r">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
              <value name="IF1">
                <block type="logic_compare" id="w2Itp]6bGxbHPntaH{w#">
                  <field name="OP">EQ</field>
                  <value name="A">
                    <block type="field_oid" id="cJj*a9:_+q2|#QD(/*YT">
                      <field name="oid">harmony.0.Harmony_Hub.activities.currentActivity</field>
                    </block>
                  </value>
                  <value name="B">
                    <block type="text" id="}t?K1`t(OIbUrTkXg2Ru">
                      <field name="TEXT">"PowerOff"</field>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO1">
                <block type="control" id="$u}^((CwaO2Q745.MGpd">
                  <mutation delay_input="true"></mutation>
                  <field name="OID">broadlink2.0.RM:RMPROPLUS-4d-e6-69.L.TV-Schalter-C-Aus</field>
                  <field name="WITH_DELAY">TRUE</field>
                  <field name="DELAY_MS">1</field>
                  <field name="UNIT">sec</field>
                  <field name="CLEAR_RUNNING">FALSE</field>
                  <value name="VALUE">
                    <block type="logic_boolean" id="5kpTuham,Jvh`gXPg`H-">
                      <field name="BOOL">TRUE</field>
                    </block>
                  </value>
                  <next>
                    <block type="toggle" id="I5It8-AT$%:N3/~)I2p6">
                      <mutation delay_input="true"></mutation>
                      <field name="OID">broadlink2.0.RM:RMPROPLUS-4d-e6-69.L.TV-Schalter-C-Aus</field>
                      <field name="WITH_DELAY">TRUE</field>
                      <field name="DELAY_MS">2</field>
                      <field name="UNIT">sec</field>
                      <field name="CLEAR_RUNNING">FALSE</field>
                      <next>
                        <block type="update" id="Ny.#/OKhf`:d$UgLnJO^">
                          <mutation delay_input="true"></mutation>
                          <field name="OID">broadlink2.0.RM:RMPROPLUS-4d-e6-69.L.TV-Schalter-C-Aus</field>
                          <field name="WITH_DELAY">TRUE</field>
                          <field name="DELAY_MS">3</field>
                          <field name="UNIT">sec</field>
                          <field name="CLEAR_RUNNING">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="q}ltpsLR]|@1o#{F#PiU">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
            </block>
          </statement>
        </block>
      </xml>
      
      
      dslraserD 1 Reply Last reply
      0
      • S Sammy0608

        Hallo

        so habe es jetzt mit Textfeldern probiert leider wieder Fehlanzeige.
        Habe in dem zuge mehre aneinander gepackt auch ohne erfolg.

        Habe auch einen neuen Ansatz probiert siehe unten auch ohne erfolg.

        Mit Wurde Aktuallsiert oder Wurde Geändert auch probiert kein veränderung.

        Ich denke, irgendwas ist in meiner Installation defekt.

        Ich werde die Tage mal versuchen den Raspberry neu aufzusetzen.
        und Iobroker neu installieren. Updates habe ich heute auch durchgeführt.

        Beim Schalten von TV-Schalter-C-AN unter objekte schaltet die dose auch an.

        LG Sammy und danke für die vielen mühen ich berichtet ob das neuinstallieren geholfen hat.

        iobroker4.PNG

        
        BlocklyJavascriptTypeScript
        Protokoll
        Ausgewählte Blöcke exportieren
        <xml xmlns="http://www.w3.org/1999/xhtml">
          <block type="on_ext" id="55@yN/Bd.4.Zl:.QX]zj" x="88" y="38">
            <mutation items="1"></mutation>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <value name="OID0">
              <shadow type="field_oid" id="W^r22S90au(LBao+qr~s">
                <field name="oid">harmony.0.Harmony_Hub.activities.currentStatus</field>
              </shadow>
            </value>
            <statement name="STATEMENT">
              <block type="controls_if" id="t+Ke{Pk2f$w[7Fj3rsm2">
                <mutation elseif="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="6z*G9nWc)Ev;DED,zFX!">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="field_oid" id="I?p,3y)YpTe/@go=o7F?">
                        <field name="oid">harmony.0.Harmony_Hub.activities.currentActivity</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="text" id="PWiyTa#nDNOq=Mu9?duw">
                        <field name="TEXT">"TV"</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="control" id="+%,LyB:O#bq~hHdQkKQq">
                    <mutation delay_input="true"></mutation>
                    <field name="OID">broadlink2.0.RM:RMPROPLUS-4d-e6-69.L.TV-Schalter-C-AN</field>
                    <field name="WITH_DELAY">TRUE</field>
                    <field name="DELAY_MS">1</field>
                    <field name="UNIT">sec</field>
                    <field name="CLEAR_RUNNING">FALSE</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="i_;NK`/V*.-qoe_O2oq1">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                    <next>
                      <block type="toggle" id="KV?[yKzl8FHbR7LKv%]b">
                        <mutation delay_input="true"></mutation>
                        <field name="OID">broadlink2.0.RM:RMPROPLUS-4d-e6-69.L.TV-Schalter-C-AN</field>
                        <field name="WITH_DELAY">TRUE</field>
                        <field name="DELAY_MS">2</field>
                        <field name="UNIT">sec</field>
                        <field name="CLEAR_RUNNING">FALSE</field>
                        <next>
                          <block type="update" id="-99#Wc8Gr[3GRD%!9H*}">
                            <mutation delay_input="true"></mutation>
                            <field name="OID">broadlink2.0.RM:RMPROPLUS-4d-e6-69.L.TV-Schalter-C-AN</field>
                            <field name="WITH_DELAY">TRUE</field>
                            <field name="DELAY_MS">3</field>
                            <field name="UNIT">sec</field>
                            <field name="CLEAR_RUNNING">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="_(]CC?AVC%ep~|N#4I%r">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
                <value name="IF1">
                  <block type="logic_compare" id="w2Itp]6bGxbHPntaH{w#">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="field_oid" id="cJj*a9:_+q2|#QD(/*YT">
                        <field name="oid">harmony.0.Harmony_Hub.activities.currentActivity</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="text" id="}t?K1`t(OIbUrTkXg2Ru">
                        <field name="TEXT">"PowerOff"</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO1">
                  <block type="control" id="$u}^((CwaO2Q745.MGpd">
                    <mutation delay_input="true"></mutation>
                    <field name="OID">broadlink2.0.RM:RMPROPLUS-4d-e6-69.L.TV-Schalter-C-Aus</field>
                    <field name="WITH_DELAY">TRUE</field>
                    <field name="DELAY_MS">1</field>
                    <field name="UNIT">sec</field>
                    <field name="CLEAR_RUNNING">FALSE</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="5kpTuham,Jvh`gXPg`H-">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                    <next>
                      <block type="toggle" id="I5It8-AT$%:N3/~)I2p6">
                        <mutation delay_input="true"></mutation>
                        <field name="OID">broadlink2.0.RM:RMPROPLUS-4d-e6-69.L.TV-Schalter-C-Aus</field>
                        <field name="WITH_DELAY">TRUE</field>
                        <field name="DELAY_MS">2</field>
                        <field name="UNIT">sec</field>
                        <field name="CLEAR_RUNNING">FALSE</field>
                        <next>
                          <block type="update" id="Ny.#/OKhf`:d$UgLnJO^">
                            <mutation delay_input="true"></mutation>
                            <field name="OID">broadlink2.0.RM:RMPROPLUS-4d-e6-69.L.TV-Schalter-C-Aus</field>
                            <field name="WITH_DELAY">TRUE</field>
                            <field name="DELAY_MS">3</field>
                            <field name="UNIT">sec</field>
                            <field name="CLEAR_RUNNING">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="q}ltpsLR]|@1o#{F#PiU">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </statement>
          </block>
        </xml>
        <xml xmlns="http://www.w3.org/1999/xhtml">
          <block type="on_ext" id="55@yN/Bd.4.Zl:.QX]zj" x="88" y="38">
            <mutation items="1"></mutation>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <value name="OID0">
              <shadow type="field_oid" id="W^r22S90au(LBao+qr~s">
                <field name="oid">harmony.0.Harmony_Hub.activities.currentStatus</field>
              </shadow>
            </value>
            <statement name="STATEMENT">
              <block type="controls_if" id="t+Ke{Pk2f$w[7Fj3rsm2">
                <mutation elseif="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="6z*G9nWc)Ev;DED,zFX!">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="field_oid" id="I?p,3y)YpTe/@go=o7F?">
                        <field name="oid">harmony.0.Harmony_Hub.activities.currentActivity</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="text" id="PWiyTa#nDNOq=Mu9?duw">
                        <field name="TEXT">"TV"</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="control" id="+%,LyB:O#bq~hHdQkKQq">
                    <mutation delay_input="true"></mutation>
                    <field name="OID">broadlink2.0.RM:RMPROPLUS-4d-e6-69.L.TV-Schalter-C-AN</field>
                    <field name="WITH_DELAY">TRUE</field>
                    <field name="DELAY_MS">1</field>
                    <field name="UNIT">sec</field>
                    <field name="CLEAR_RUNNING">FALSE</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="i_;NK`/V*.-qoe_O2oq1">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                    <next>
                      <block type="toggle" id="KV?[yKzl8FHbR7LKv%]b">
                        <mutation delay_input="true"></mutation>
                        <field name="OID">broadlink2.0.RM:RMPROPLUS-4d-e6-69.L.TV-Schalter-C-AN</field>
                        <field name="WITH_DELAY">TRUE</field>
                        <field name="DELAY_MS">2</field>
                        <field name="UNIT">sec</field>
                        <field name="CLEAR_RUNNING">FALSE</field>
                        <next>
                          <block type="update" id="-99#Wc8Gr[3GRD%!9H*}">
                            <mutation delay_input="true"></mutation>
                            <field name="OID">broadlink2.0.RM:RMPROPLUS-4d-e6-69.L.TV-Schalter-C-AN</field>
                            <field name="WITH_DELAY">TRUE</field>
                            <field name="DELAY_MS">3</field>
                            <field name="UNIT">sec</field>
                            <field name="CLEAR_RUNNING">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="_(]CC?AVC%ep~|N#4I%r">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
                <value name="IF1">
                  <block type="logic_compare" id="w2Itp]6bGxbHPntaH{w#">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="field_oid" id="cJj*a9:_+q2|#QD(/*YT">
                        <field name="oid">harmony.0.Harmony_Hub.activities.currentActivity</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="text" id="}t?K1`t(OIbUrTkXg2Ru">
                        <field name="TEXT">"PowerOff"</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO1">
                  <block type="control" id="$u}^((CwaO2Q745.MGpd">
                    <mutation delay_input="true"></mutation>
                    <field name="OID">broadlink2.0.RM:RMPROPLUS-4d-e6-69.L.TV-Schalter-C-Aus</field>
                    <field name="WITH_DELAY">TRUE</field>
                    <field name="DELAY_MS">1</field>
                    <field name="UNIT">sec</field>
                    <field name="CLEAR_RUNNING">FALSE</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="5kpTuham,Jvh`gXPg`H-">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                    <next>
                      <block type="toggle" id="I5It8-AT$%:N3/~)I2p6">
                        <mutation delay_input="true"></mutation>
                        <field name="OID">broadlink2.0.RM:RMPROPLUS-4d-e6-69.L.TV-Schalter-C-Aus</field>
                        <field name="WITH_DELAY">TRUE</field>
                        <field name="DELAY_MS">2</field>
                        <field name="UNIT">sec</field>
                        <field name="CLEAR_RUNNING">FALSE</field>
                        <next>
                          <block type="update" id="Ny.#/OKhf`:d$UgLnJO^">
                            <mutation delay_input="true"></mutation>
                            <field name="OID">broadlink2.0.RM:RMPROPLUS-4d-e6-69.L.TV-Schalter-C-Aus</field>
                            <field name="WITH_DELAY">TRUE</field>
                            <field name="DELAY_MS">3</field>
                            <field name="UNIT">sec</field>
                            <field name="CLEAR_RUNNING">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="q}ltpsLR]|@1o#{F#PiU">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </statement>
          </block>
        </xml>
        
        
        dslraserD Offline
        dslraserD Offline
        dslraser
        Forum Testing Most Active
        wrote on last edited by dslraser
        #15

        @Sammy0608
        Warum hast Du in den Textfeldern Anführungsstriche ? Bei mir in den Objekten stehen die ohne " "

        Screenshot_20200317-193359_Chrome.jpg

        S 1 Reply Last reply
        0
        • dslraserD dslraser

          @Sammy0608
          Warum hast Du in den Textfeldern Anführungsstriche ? Bei mir in den Objekten stehen die ohne " "

          Screenshot_20200317-193359_Chrome.jpg

          S Offline
          S Offline
          Sammy0608
          wrote on last edited by
          #16

          @dslraser
          Hab es mit "" und ohne "" probiert.
          Dachte ich probiere es im ersten schritt mal mit "" da es im Ereignis log genau so drinn Stand.

          dslraserD 1 Reply Last reply
          0
          • S Sammy0608

            @dslraser
            Hab es mit "" und ohne "" probiert.
            Dachte ich probiere es im ersten schritt mal mit "" da es im Ereignis log genau so drinn Stand.

            dslraserD Offline
            dslraserD Offline
            dslraser
            Forum Testing Most Active
            wrote on last edited by dslraser
            #17

            @Sammy0608
            ich schalte z.B. so Licht/HUE Lampen mit ein/aus. (mit Prüfung bestimmter Helligkeitswerte und anderes)
            Das sind zwei Instanzen (Wohnzimmer und Schlafzimmer)
            Funktioniert schon ewig so.

            Screenshot_20200317-194141_Chrome.jpg

            1 Reply Last reply
            0
            • S Offline
              S Offline
              Sammy0608
              wrote on last edited by
              #18

              Hallo das script kommt mir bekannt vor bzw ein ähnliches.
              Das hatte ich mir kopiert und abgeändert.

              Wie erwähnt ich denke das im allgemeinen etwas mit meinem iobroker bei mir nicht stimmt.

              1 Reply Last reply
              0
              • S Offline
                S Offline
                Sammy0608
                wrote on last edited by Sammy0608
                #19

                Hallo

                so habe im Zuge der Installation des Conbee 2 einen Tausch vorgenommen.
                Auf dem Raspberry 3 ,Conbee 2 installiert und der neue Raspberry pi 4 (2 GB) mit iobroker.
                Ich habe in beiden fällen bewusst das fertige image genommen.

                Jetzt funktioniert das Script mit den Harmony Activiti = 0 oder Harmony Activit = 2 auch zum schalten der Dose.

                Das Roku Script läuft leider nicht , wird später vll mal notwendig.

                Das einzige was ich nur merke ist , das die Schaltung der Dose ca 8-10 Sekunden dauert.
                Kann ich das noch irgendwie beschleunigen. Wen ich Subwoofer +Verstärker und TV daran anschließen wollte, könnte es den Harmony Prozess stören- ( Einschalten TV schalten auf HDMI1 usw.)

                Eine Verzögerung von 500 ms kann doch eigentlich keine Verzögerung von 8-10 Sekunden provozieren.

                LG Sammy

                <xml xmlns="http://www.w3.org/1999/xhtml">
                  <block type="on_ext" id="55@yN/Bd.4.Zl:.QX]zj" x="88" y="38">
                    <mutation items="1"></mutation>
                    <field name="CONDITION">any</field>
                    <field name="ACK_CONDITION"></field>
                    <value name="OID0">
                      <shadow type="field_oid" id="W^r22S90au(LBao+qr~s">
                        <field name="oid">harmony.0.Harmony_Hub.activities.currentStatus</field>
                      </shadow>
                    </value>
                    <statement name="STATEMENT">
                      <block type="controls_if" id="BHRn[yZNyldRzla7iWi7">
                        <mutation elseif="1"></mutation>
                        <value name="IF0">
                          <block type="logic_compare" id="hSKY3oe-1s!pfEfae3vD">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="get_value" id="HV{kF[O[D7L0Uw_^opDj">
                                <field name="ATTR">val</field>
                                <field name="OID">harmony.0.Harmony_Hub.activities.currentStatus</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="Wx[1a#`-x24d#?+-W][b">
                                <field name="NUM">2</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="control" id="*M]#SFj-0gE[Q}k9M(l~">
                            <mutation delay_input="true"></mutation>
                            <field name="OID">broadlink2.0.RM:RMPROPLUS-4d-e6-69.L.TV-Schalter-C-AN</field>
                            <field name="WITH_DELAY">TRUE</field>
                            <field name="DELAY_MS">500</field>
                            <field name="UNIT">ms</field>
                            <field name="CLEAR_RUNNING">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="v(}|]nYb]d9^2y;P`F56">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                          </block>
                        </statement>
                        <value name="IF1">
                          <block type="logic_compare" id="3;+raTJp+N2F(F%@,4,m">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="get_value" id="YT%VBl5Rq`0!3w_Gw*D~">
                                <field name="ATTR">val</field>
                                <field name="OID">harmony.0.Harmony_Hub.activities.currentStatus</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="6j(-PID3I3ML;ZbrH`*y">
                                <field name="NUM">0</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO1">
                          <block type="control" id=";#+0-^],ErtHu0Ytap[A">
                            <mutation delay_input="true"></mutation>
                            <field name="OID">broadlink2.0.RM:RMPROPLUS-4d-e6-69.L.TV-Schalter-C-Aus</field>
                            <field name="WITH_DELAY">TRUE</field>
                            <field name="DELAY_MS">500</field>
                            <field name="UNIT">ms</field>
                            <field name="CLEAR_RUNNING">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="_(]CC?AVC%ep~|N#4I%r">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                          </block>
                        </statement>
                      </block>
                    </statement>
                  </block>
                </xml>
                
                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  Sammy0608
                  wrote on last edited by
                  #20

                  Hallo nochmal ein Update

                  nach ein wenig Try an error funktioniert auch die andere Schaltung per fakeRuko.

                  Wäre nur interessant gewesen auch für andere warum es vorher im Blockly garnicht funktioniert hat.

                  Hier noch mein 2 Script welches auch funktioniert. Für andere die eine mögliche Lösung suchen.
                  Danke an alle die mit geholfen haben.
                  LG Sammy

                  Kann jetzt auf erledigt gesetzt werden.

                  iobroker5.PNG

                  <xml xmlns="http://www.w3.org/1999/xhtml">
                    <block type="on_ext" id="wvn+:}U{]0VF`@n[,UZp" x="63" y="38">
                      <mutation items="1"></mutation>
                      <field name="CONDITION">ne</field>
                      <field name="ACK_CONDITION"></field>
                      <value name="OID0">
                        <shadow type="field_oid" id="?#X-TN:MSQirmE~O.^aC">
                          <field name="oid">fakeroku.0.ioBroker.keys.Down</field>
                        </shadow>
                      </value>
                      <statement name="STATEMENT">
                        <block type="control" id="(U_{OUezFZZ6t}rfx9w?">
                          <mutation delay_input="false"></mutation>
                          <field name="OID">broadlink2.0.RM:RMPROPLUS-4d-e6-69.L.TV-Schalter-A-Aus</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="#{(-{f:ty6-O3`NacOvR">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                          <next>
                            <block type="control" id="Onylyx0+8Cu/e3@!-g?`">
                              <mutation delay_input="false"></mutation>
                              <field name="OID">broadlink2.0.RM:RMPROPLUS-4d-e6-69.L.TV-Schalter-B-Off</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="n.+LZ}{vq;4J.OXZ1(oj">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                            </block>
                          </next>
                        </block>
                      </statement>
                    </block>
                  </xml>
                  
                  dslraserD 1 Reply Last reply
                  0
                  • S Sammy0608

                    Hallo nochmal ein Update

                    nach ein wenig Try an error funktioniert auch die andere Schaltung per fakeRuko.

                    Wäre nur interessant gewesen auch für andere warum es vorher im Blockly garnicht funktioniert hat.

                    Hier noch mein 2 Script welches auch funktioniert. Für andere die eine mögliche Lösung suchen.
                    Danke an alle die mit geholfen haben.
                    LG Sammy

                    Kann jetzt auf erledigt gesetzt werden.

                    iobroker5.PNG

                    <xml xmlns="http://www.w3.org/1999/xhtml">
                      <block type="on_ext" id="wvn+:}U{]0VF`@n[,UZp" x="63" y="38">
                        <mutation items="1"></mutation>
                        <field name="CONDITION">ne</field>
                        <field name="ACK_CONDITION"></field>
                        <value name="OID0">
                          <shadow type="field_oid" id="?#X-TN:MSQirmE~O.^aC">
                            <field name="oid">fakeroku.0.ioBroker.keys.Down</field>
                          </shadow>
                        </value>
                        <statement name="STATEMENT">
                          <block type="control" id="(U_{OUezFZZ6t}rfx9w?">
                            <mutation delay_input="false"></mutation>
                            <field name="OID">broadlink2.0.RM:RMPROPLUS-4d-e6-69.L.TV-Schalter-A-Aus</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="#{(-{f:ty6-O3`NacOvR">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                            <next>
                              <block type="control" id="Onylyx0+8Cu/e3@!-g?`">
                                <mutation delay_input="false"></mutation>
                                <field name="OID">broadlink2.0.RM:RMPROPLUS-4d-e6-69.L.TV-Schalter-B-Off</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="n.+LZ}{vq;4J.OXZ1(oj">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                    </xml>
                    
                    dslraserD Offline
                    dslraserD Offline
                    dslraser
                    Forum Testing Most Active
                    wrote on last edited by
                    #21

                    @Sammy0608 sagte in Blockly schalte von Steckdose durch befehl.:

                    Kann jetzt auf erledigt gesetzt werden.

                    Das musst Du selbst machen. (Deinen ersten Beitrag editieren)

                    S 1 Reply Last reply
                    0
                    • dslraserD dslraser

                      @Sammy0608 sagte in Blockly schalte von Steckdose durch befehl.:

                      Kann jetzt auf erledigt gesetzt werden.

                      Das musst Du selbst machen. (Deinen ersten Beitrag editieren)

                      S Offline
                      S Offline
                      Sammy0608
                      wrote on last edited by
                      #22

                      @dslraser Ah ok Danke dachte das machen Moderatoren hier. Ist ja von Forum zu Forum unterschiedlich

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      Support us

                      ioBroker
                      Community Adapters
                      Donate

                      591

                      Online

                      32.8k

                      Users

                      82.8k

                      Topics

                      1.3m

                      Posts
                      Community
                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                      ioBroker Community 2014-2025
                      logo
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Home
                      • Recent
                      • Tags
                      • Unread 0
                      • Categories
                      • Unreplied
                      • Popular
                      • GitHub
                      • Docu
                      • Hilfe