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. Mit Blockly das Shelly 1 ein/aus über Solar Ertrag.

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    17
    1
    407

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    5.0k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.4k

Mit Blockly das Shelly 1 ein/aus über Solar Ertrag.

Scheduled Pinned Locked Moved Blockly
220 Posts 11 Posters 29.7k Views 8 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.
  • paul53P paul53

    @williklein sagte: wenn Solarertrag über 3000 ist, das Shelly Relais einschalten lassen, wenn der unter 2800 geht, wieder ausschalten.

    Also ein 2-Punkt-Regler:

    Bild_2022-10-18_154419907.png

    EDIT: Eine Hysterese von 200 W ist nicht zu klein?

    W Offline
    W Offline
    WilliKlein
    wrote on last edited by
    #9

    @paul53

    ich habe den oberen Befehl
    setze shelly nicht, der ist nirgends drin bei mir

    HomoranH 1 Reply Last reply
    0
    • W WilliKlein

      @paul53

      ich habe den oberen Befehl
      setze shelly nicht, der ist nirgends drin bei mir

      HomoranH Do not disturb
      HomoranH Do not disturb
      Homoran
      Global Moderator Administrators
      wrote on last edited by
      #10

      @williklein sagte in Mit Blockly das Shelly 1 ein/aus über Solar Ertrag.:

      setze shelly nicht

      @paul53 hat das Blockly wieder hochoptimiert.
      shelly ist dort eine selbst erstellte Variable.

      in dem Moment, wo du diese Variable erstellst, gibt es auch den Block setze dazu.

      kein Support per PN! - Fragen im Forum stellen -
      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
      Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

      W 1 Reply Last reply
      0
      • HomoranH Homoran

        @williklein sagte in Mit Blockly das Shelly 1 ein/aus über Solar Ertrag.:

        setze shelly nicht

        @paul53 hat das Blockly wieder hochoptimiert.
        shelly ist dort eine selbst erstellte Variable.

        in dem Moment, wo du diese Variable erstellst, gibt es auch den Block setze dazu.

        W Offline
        W Offline
        WilliKlein
        wrote on last edited by
        #11

        @homoran

        sieht jetzt so aus, jetzt fehlt mir < >

        Bildschirmfoto 2022-10-18 um 20.54.12.png

        HomoranH paul53P 2 Replies Last reply
        0
        • W WilliKlein

          @homoran

          sieht jetzt so aus, jetzt fehlt mir < >

          Bildschirmfoto 2022-10-18 um 20.54.12.png

          HomoranH Do not disturb
          HomoranH Do not disturb
          Homoran
          Global Moderator Administrators
          wrote on last edited by
          #12

          @williklein sagte in Mit Blockly das Shelly 1 ein/aus über Solar Ertrag.:

          fehlt mir < >

          der Vergleich ist ein teil der Logik

          kein Support per PN! - Fragen im Forum stellen -
          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
          Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

          1 Reply Last reply
          0
          • W WilliKlein

            @homoran

            sieht jetzt so aus, jetzt fehlt mir < >

            Bildschirmfoto 2022-10-18 um 20.54.12.png

            paul53P Offline
            paul53P Offline
            paul53
            wrote on last edited by
            #13

            @williklein sagte: sieht jetzt so aus

            "ppv" ist das Shelly-Relais und "deviceModel" der Solarertrag?

            Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
            Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

            crunchipC 1 Reply Last reply
            0
            • paul53P paul53

              @williklein sagte: sieht jetzt so aus

              "ppv" ist das Shelly-Relais und "deviceModel" der Solarertrag?

              crunchipC Away
              crunchipC Away
              crunchip
              Forum Testing Most Active
              wrote on last edited by
              #14

              @paul53 ich geh davon aus, das immer noch der Stand hersct auf den ich zu Beginn hingewiesen hatte

              @crunchip sagte in Mit Blockly das Shelly 1 ein/aus über Solar Ertrag.:

              das du dein Grundsätzliches shelly Problem denn schon gelöst?

              siehe anderer Thread

              umgestiegen von Proxmox auf Unraid

              W 1 Reply Last reply
              0
              • crunchipC crunchip

                @paul53 ich geh davon aus, das immer noch der Stand hersct auf den ich zu Beginn hingewiesen hatte

                @crunchip sagte in Mit Blockly das Shelly 1 ein/aus über Solar Ertrag.:

                das du dein Grundsätzliches shelly Problem denn schon gelöst?

                siehe anderer Thread

                W Offline
                W Offline
                WilliKlein
                wrote on last edited by
                #15

                @crunchip

                Ich habe das Protokoll umgestellt, ob das Problem damit gelöst ist ?? weiss ich nicht.
                als > 3000 habe ich, aber falls < 2800 fehlt mir nun.

                Bildschirmfoto 2022-10-18 um 21.57.40.png

                HomoranH paul53P crunchipC 3 Replies Last reply
                0
                • W WilliKlein

                  @crunchip

                  Ich habe das Protokoll umgestellt, ob das Problem damit gelöst ist ?? weiss ich nicht.
                  als > 3000 habe ich, aber falls < 2800 fehlt mir nun.

                  Bildschirmfoto 2022-10-18 um 21.57.40.png

                  HomoranH Do not disturb
                  HomoranH Do not disturb
                  Homoran
                  Global Moderator Administrators
                  wrote on last edited by
                  #16

                  @williklein sagte in Mit Blockly das Shelly 1 ein/aus über Solar Ertrag.:

                  aber falls < 2800 fehlt mir nun.

                  meinst du das sonst falls?
                  das musst du über das Zahnrad aktivieren indem du da drauf klickst und dann im popup von links untercdas rechte falls ziehst.

                  @paul53 sagte in Mit Blockly das Shelly 1 ein/aus über Solar Ertrag.:

                  @williklein sagte: sieht jetzt so aus

                  "ppv" ist das Shelly-Relais und "deviceModel" der Solarertrag?

                  meines Wissens ist ppv der solarertrag. devise model kenne ich icht.

                  Die Datenpunkte habe ich noch gar nicht angesehen, erst mal das Gerüst

                  kein Support per PN! - Fragen im Forum stellen -
                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                  Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
                  der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                  1 Reply Last reply
                  0
                  • W WilliKlein

                    @crunchip

                    Ich habe das Protokoll umgestellt, ob das Problem damit gelöst ist ?? weiss ich nicht.
                    als > 3000 habe ich, aber falls < 2800 fehlt mir nun.

                    Bildschirmfoto 2022-10-18 um 21.57.40.png

                    paul53P Offline
                    paul53P Offline
                    paul53
                    wrote on last edited by paul53
                    #17

                    @williklein sagte: > 3000 habe ich

                    wert darf keine selbst erstellte Variable sein, sondern man findet es unter "Trigger".

                    Blockly_DP_Props.JPG

                    @williklein sagte in Mit Blockly das Shelly 1 ein/aus über Solar Ertrag.:

                    falls < 2800 fehlt mir nun.

                    Blockly_temp.JPG

                    Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                    Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                    W 2 Replies Last reply
                    0
                    • W WilliKlein

                      @crunchip

                      Ich habe das Protokoll umgestellt, ob das Problem damit gelöst ist ?? weiss ich nicht.
                      als > 3000 habe ich, aber falls < 2800 fehlt mir nun.

                      Bildschirmfoto 2022-10-18 um 21.57.40.png

                      crunchipC Away
                      crunchipC Away
                      crunchip
                      Forum Testing Most Active
                      wrote on last edited by
                      #18

                      @williklein du musst jetzt den richtigen Datenpunkt wählen für deinen Trigger

                      umgestiegen von Proxmox auf Unraid

                      1 Reply Last reply
                      0
                      • paul53P paul53

                        @williklein sagte: > 3000 habe ich

                        wert darf keine selbst erstellte Variable sein, sondern man findet es unter "Trigger".

                        Blockly_DP_Props.JPG

                        @williklein sagte in Mit Blockly das Shelly 1 ein/aus über Solar Ertrag.:

                        falls < 2800 fehlt mir nun.

                        Blockly_temp.JPG

                        W Offline
                        W Offline
                        WilliKlein
                        wrote on last edited by
                        #19

                        @paul53

                        ich habe jetzt die Datenpunkte in den Objekten drin.

                        Könnt Ihr mir jetzt weiter helfen. das sieht ja jetzt so aus.

                        Bildschirmfoto 2022-10-20 um 17.49.09.png

                        crunchipC paul53P 2 Replies Last reply
                        0
                        • W WilliKlein

                          @paul53

                          ich habe jetzt die Datenpunkte in den Objekten drin.

                          Könnt Ihr mir jetzt weiter helfen. das sieht ja jetzt so aus.

                          Bildschirmfoto 2022-10-20 um 17.49.09.png

                          crunchipC Away
                          crunchipC Away
                          crunchip
                          Forum Testing Most Active
                          wrote on last edited by
                          #20

                          @williklein du musst deine Datenpunkte anpassen, siehe https://forum.iobroker.net/post/875655
                          deinen shelly findest du dann unter shelly.0.xyz.Relay0.Switch

                          umgestiegen von Proxmox auf Unraid

                          1 Reply Last reply
                          0
                          • W WilliKlein

                            @paul53

                            ich habe jetzt die Datenpunkte in den Objekten drin.

                            Könnt Ihr mir jetzt weiter helfen. das sieht ja jetzt so aus.

                            Bildschirmfoto 2022-10-20 um 17.49.09.png

                            paul53P Offline
                            paul53P Offline
                            paul53
                            wrote on last edited by
                            #21

                            @williklein sagte in Mit Blockly das Shelly 1 ein/aus über Solar Ertrag.:

                            das sieht ja jetzt so aus.

                            Die Variable shelly muss mit dem Wert des Schelly-Datenpunktes "Switch" initialisiert werden.
                            Muss der Trigger-Datenpunkt nicht "ppv" sein?

                            Der Regler hat kein Hysterese, denn es fehlt die Abfrage "sonst falls Wert < 2800", wobei Wert unter "Trigger" zu finden ist und keine selbst erstellte Variable sein darf.

                            Blockly_DP_Props.JPG

                            Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                            Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                            W 1 Reply Last reply
                            0
                            • paul53P paul53

                              @williklein sagte in Mit Blockly das Shelly 1 ein/aus über Solar Ertrag.:

                              das sieht ja jetzt so aus.

                              Die Variable shelly muss mit dem Wert des Schelly-Datenpunktes "Switch" initialisiert werden.
                              Muss der Trigger-Datenpunkt nicht "ppv" sein?

                              Der Regler hat kein Hysterese, denn es fehlt die Abfrage "sonst falls Wert < 2800", wobei Wert unter "Trigger" zu finden ist und keine selbst erstellte Variable sein darf.

                              Blockly_DP_Props.JPG

                              W Offline
                              W Offline
                              WilliKlein
                              wrote on last edited by
                              #22

                              @paul53

                              ich habs immer noch nicht verstanden, wie die Sachen zusammenhängen.

                              Wenn der Wert (ppv) vom Growatt > 3000 ist
                              dann Shelly (switch) on.
                              wenn < dann switch off

                              DJMarc75D paul53P 2 Replies Last reply
                              0
                              • W WilliKlein

                                @paul53

                                ich habs immer noch nicht verstanden, wie die Sachen zusammenhängen.

                                Wenn der Wert (ppv) vom Growatt > 3000 ist
                                dann Shelly (switch) on.
                                wenn < dann switch off

                                DJMarc75D Offline
                                DJMarc75D Offline
                                DJMarc75
                                wrote on last edited by
                                #23

                                @williklein Screenshot 2022-10-20 184451.png

                                Lehrling seit 1975 !!!
                                Beitrag geholfen ? dann gerne ein upvote rechts unten im Beitrag klicken ;)
                                https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge

                                1 Reply Last reply
                                0
                                • W WilliKlein

                                  @paul53

                                  ich habs immer noch nicht verstanden, wie die Sachen zusammenhängen.

                                  Wenn der Wert (ppv) vom Growatt > 3000 ist
                                  dann Shelly (switch) on.
                                  wenn < dann switch off

                                  paul53P Offline
                                  paul53P Offline
                                  paul53
                                  wrote on last edited by paul53
                                  #24

                                  @williklein sagte:

                                  Wenn der Wert (ppv) vom Growatt > 3000 ist
                                  dann Shelly (switch) on.
                                  wenn < 2800 dann switch off

                                  Damit beträgt die Hysterese 200 W (3000 - 2800).

                                  Ich exportiere mal das Blockly. Du musst nach dem Import nur noch die Datenpunkte austauschen.

                                  <xml xmlns="https://developers.google.com/blockly/xml">
                                   <variables>
                                     <variable id="E,j@%LJR_SW?ayCR!]L,">shelly</variable>
                                   </variables>
                                   <block type="variables_set" id="k)@FiWDGHXsZ,SHM}1zS" x="300" y="-111">
                                     <field name="VAR" id="E,j@%LJR_SW?ayCR!]L,">shelly</field>
                                     <value name="VALUE">
                                       <block type="get_value" id="MfV3iIf5#Fx*F#SPbAd`">
                                         <field name="ATTR">val</field>
                                         <field name="OID">shelly.0.dev2.Relay0.Switch</field>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="on_ext" id="_f?n?9+^x32}4r=j(lF0">
                                         <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                         <field name="CONDITION">ne</field>
                                         <field name="ACK_CONDITION"></field>
                                         <value name="OID0">
                                           <shadow type="field_oid" id="Bbh1E/},e./{_Yf3_;px">
                                             <field name="oid">0_userdata.0.Blockly.PV-Leistung</field>
                                           </shadow>
                                         </value>
                                         <statement name="STATEMENT">
                                           <block type="controls_if" id="5^_]~A*IAxXr.+z+,O|g">
                                             <mutation elseif="1"></mutation>
                                             <value name="IF0">
                                               <block type="logic_compare" id="9@jz$j=TVGPXYwK_N1tl">
                                                 <field name="OP">GT</field>
                                                 <value name="A">
                                                   <block type="on_source" id="3O1($TjuU2zLP#.u6(]l">
                                                     <field name="ATTR">state.val</field>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <block type="math_number" id=")G`AERK`8@25wu`}x;HJ">
                                                     <field name="NUM">3000</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <statement name="DO0">
                                               <block type="variables_set" id="eb+o#xx@Yv#zEjH3[c8,">
                                                 <field name="VAR" id="E,j@%LJR_SW?ayCR!]L,">shelly</field>
                                                 <value name="VALUE">
                                                   <block type="logic_boolean" id="^9S9/{$K~z:7}vXy+vXd">
                                                     <field name="BOOL">TRUE</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </statement>
                                             <value name="IF1">
                                               <block type="logic_compare" id="Hk1ghg;eIF}mNq~qg2$N">
                                                 <field name="OP">LT</field>
                                                 <value name="A">
                                                   <block type="on_source" id=";GgYm,hYSX3/.3FCVqb^">
                                                     <field name="ATTR">state.val</field>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <block type="math_number" id="`=4-0(|xgYJ{WIg_dctO">
                                                     <field name="NUM">2800</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <statement name="DO1">
                                               <block type="variables_set" id="SDx9dFe8-XqT~?PP,265">
                                                 <field name="VAR" id="E,j@%LJR_SW?ayCR!]L,">shelly</field>
                                                 <value name="VALUE">
                                                   <block type="logic_boolean" id="^aFhyq!(ta2DJm$2qCtt">
                                                     <field name="BOOL">FALSE</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </statement>
                                             <next>
                                               <block type="controls_if" id="9q!Zk#Vc?c9EX$:Z9zUK">
                                                 <value name="IF0">
                                                   <block type="logic_compare" id="43Vu=|/wYh`tM*c*dc-J">
                                                     <field name="OP">NEQ</field>
                                                     <value name="A">
                                                       <block type="variables_get" id="*xID|?TLTij`-[+2G4K[">
                                                         <field name="VAR" id="E,j@%LJR_SW?ayCR!]L,">shelly</field>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="get_value" id="}|Y8Zi|6j(ivB?Z+tt}8">
                                                         <field name="ATTR">val</field>
                                                         <field name="OID">shelly.0.dev2.Relay0.Switch</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <statement name="DO0">
                                                   <block type="control" id="12N5$JSuj7~#-O,zt39W">
                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                     <field name="OID">shelly.0.dev2.Relay0.Switch</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="variables_get" id="P@N|PbiTOZ:Bo}3[.)SG">
                                                         <field name="VAR" id="E,j@%LJR_SW?ayCR!]L,">shelly</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </statement>
                                               </block>
                                             </next>
                                           </block>
                                         </statement>
                                       </block>
                                     </next>
                                   </block>
                                  </xml>
                                  

                                  Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                                  Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                                  W 1 Reply Last reply
                                  0
                                  • paul53P paul53

                                    @williklein sagte:

                                    Wenn der Wert (ppv) vom Growatt > 3000 ist
                                    dann Shelly (switch) on.
                                    wenn < 2800 dann switch off

                                    Damit beträgt die Hysterese 200 W (3000 - 2800).

                                    Ich exportiere mal das Blockly. Du musst nach dem Import nur noch die Datenpunkte austauschen.

                                    <xml xmlns="https://developers.google.com/blockly/xml">
                                     <variables>
                                       <variable id="E,j@%LJR_SW?ayCR!]L,">shelly</variable>
                                     </variables>
                                     <block type="variables_set" id="k)@FiWDGHXsZ,SHM}1zS" x="300" y="-111">
                                       <field name="VAR" id="E,j@%LJR_SW?ayCR!]L,">shelly</field>
                                       <value name="VALUE">
                                         <block type="get_value" id="MfV3iIf5#Fx*F#SPbAd`">
                                           <field name="ATTR">val</field>
                                           <field name="OID">shelly.0.dev2.Relay0.Switch</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="on_ext" id="_f?n?9+^x32}4r=j(lF0">
                                           <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                           <field name="CONDITION">ne</field>
                                           <field name="ACK_CONDITION"></field>
                                           <value name="OID0">
                                             <shadow type="field_oid" id="Bbh1E/},e./{_Yf3_;px">
                                               <field name="oid">0_userdata.0.Blockly.PV-Leistung</field>
                                             </shadow>
                                           </value>
                                           <statement name="STATEMENT">
                                             <block type="controls_if" id="5^_]~A*IAxXr.+z+,O|g">
                                               <mutation elseif="1"></mutation>
                                               <value name="IF0">
                                                 <block type="logic_compare" id="9@jz$j=TVGPXYwK_N1tl">
                                                   <field name="OP">GT</field>
                                                   <value name="A">
                                                     <block type="on_source" id="3O1($TjuU2zLP#.u6(]l">
                                                       <field name="ATTR">state.val</field>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <block type="math_number" id=")G`AERK`8@25wu`}x;HJ">
                                                       <field name="NUM">3000</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <statement name="DO0">
                                                 <block type="variables_set" id="eb+o#xx@Yv#zEjH3[c8,">
                                                   <field name="VAR" id="E,j@%LJR_SW?ayCR!]L,">shelly</field>
                                                   <value name="VALUE">
                                                     <block type="logic_boolean" id="^9S9/{$K~z:7}vXy+vXd">
                                                       <field name="BOOL">TRUE</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </statement>
                                               <value name="IF1">
                                                 <block type="logic_compare" id="Hk1ghg;eIF}mNq~qg2$N">
                                                   <field name="OP">LT</field>
                                                   <value name="A">
                                                     <block type="on_source" id=";GgYm,hYSX3/.3FCVqb^">
                                                       <field name="ATTR">state.val</field>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <block type="math_number" id="`=4-0(|xgYJ{WIg_dctO">
                                                       <field name="NUM">2800</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <statement name="DO1">
                                                 <block type="variables_set" id="SDx9dFe8-XqT~?PP,265">
                                                   <field name="VAR" id="E,j@%LJR_SW?ayCR!]L,">shelly</field>
                                                   <value name="VALUE">
                                                     <block type="logic_boolean" id="^aFhyq!(ta2DJm$2qCtt">
                                                       <field name="BOOL">FALSE</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </statement>
                                               <next>
                                                 <block type="controls_if" id="9q!Zk#Vc?c9EX$:Z9zUK">
                                                   <value name="IF0">
                                                     <block type="logic_compare" id="43Vu=|/wYh`tM*c*dc-J">
                                                       <field name="OP">NEQ</field>
                                                       <value name="A">
                                                         <block type="variables_get" id="*xID|?TLTij`-[+2G4K[">
                                                           <field name="VAR" id="E,j@%LJR_SW?ayCR!]L,">shelly</field>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <block type="get_value" id="}|Y8Zi|6j(ivB?Z+tt}8">
                                                           <field name="ATTR">val</field>
                                                           <field name="OID">shelly.0.dev2.Relay0.Switch</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <statement name="DO0">
                                                     <block type="control" id="12N5$JSuj7~#-O,zt39W">
                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                       <field name="OID">shelly.0.dev2.Relay0.Switch</field>
                                                       <field name="WITH_DELAY">FALSE</field>
                                                       <value name="VALUE">
                                                         <block type="variables_get" id="P@N|PbiTOZ:Bo}3[.)SG">
                                                           <field name="VAR" id="E,j@%LJR_SW?ayCR!]L,">shelly</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </statement>
                                                 </block>
                                               </next>
                                             </block>
                                           </statement>
                                         </block>
                                       </next>
                                     </block>
                                    </xml>
                                    

                                    W Offline
                                    W Offline
                                    WilliKlein
                                    wrote on last edited by Homoran
                                    #25

                                    @paul53

                                    <xml xmlns="https://developers.google.com/blockly/xml">
                                      <variables>
                                        <variable id="%f2p3[xiEK;T;hxSX|t5">shelly</variable>
                                      </variables>
                                      <block type="variables_set" id="k)@FiWDGHXsZ,SHM}1zS" x="300" y="-111">
                                        <field name="VAR" id="%f2p3[xiEK;T;hxSX|t5">shelly</field>
                                        <value name="VALUE">
                                          <block type="get_value" id="MfV3iIf5#Fx*F#SPbAd`">
                                            <field name="ATTR">val</field>
                                            <field name="OID">shelly.0.shellyplus1#7c87ce63d85c#1.Relay0.Switch</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="on_ext" id="_f?n?9+^x32}4r=j(lF0">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                            <field name="CONDITION">ne</field>
                                            <field name="ACK_CONDITION"></field>
                                            <value name="OID0">
                                              <shadow type="field_oid" id="Bbh1E/},e./{_Yf3_;px">
                                                <field name="oid">growatt.0.1030054.devices.DFK0BKD00C.historyLast.ppv</field>
                                              </shadow>
                                            </value>
                                            <statement name="STATEMENT">
                                              <block type="controls_if" id="5^_]~A*IAxXr.+z+,O|g">
                                                <mutation elseif="1"></mutation>
                                                <value name="IF0">
                                                  <block type="logic_compare" id="9@jz$j=TVGPXYwK_N1tl">
                                                    <field name="OP">LT</field>
                                                    <value name="A">
                                                      <block type="on_source" id="3O1($TjuU2zLP#.u6(]l">
                                                        <field name="ATTR">state.val</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="math_number" id=")G`AERK`8@25wu`}x;HJ">
                                                        <field name="NUM">3000</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="variables_set" id="eb+o#xx@Yv#zEjH3[c8,">
                                                    <field name="VAR" id="%f2p3[xiEK;T;hxSX|t5">shelly</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id="^9S9/{$K~z:7}vXy+vXd">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </statement>
                                                <value name="IF1">
                                                  <block type="logic_compare" id="Hk1ghg;eIF}mNq~qg2$N">
                                                    <field name="OP">GT</field>
                                                    <value name="A">
                                                      <block type="on_source" id=";GgYm,hYSX3/.3FCVqb^">
                                                        <field name="ATTR">state.val</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="math_number" id="`=4-0(|xgYJ{WIg_dctO">
                                                        <field name="NUM">3500</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO1">
                                                  <block type="variables_set" id="SDx9dFe8-XqT~?PP,265">
                                                    <field name="VAR" id="%f2p3[xiEK;T;hxSX|t5">shelly</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id="^aFhyq!(ta2DJm$2qCtt">
                                                        <field name="BOOL">FALSE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </statement>
                                                <next>
                                                  <block type="controls_if" id="9q!Zk#Vc?c9EX$:Z9zUK">
                                                    <value name="IF0">
                                                      <block type="logic_compare" id="43Vu=|/wYh`tM*c*dc-J">
                                                        <field name="OP">NEQ</field>
                                                        <value name="A">
                                                          <block type="variables_get" id="*xID|?TLTij`-[+2G4K[">
                                                            <field name="VAR" id="%f2p3[xiEK;T;hxSX|t5">shelly</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="get_value" id="}|Y8Zi|6j(ivB?Z+tt}8">
                                                            <field name="ATTR">val</field>
                                                            <field name="OID">shelly.0.shellyplus1#7c87ce63d85c#1.Relay0.Switch</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <statement name="DO0">
                                                      <block type="control" id="12N5$JSuj7~#-O,zt39W">
                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                        <field name="OID">shelly.0.shellyplus1#7c87ce63d85c#1.Relay0.Switch</field>
                                                        <field name="WITH_DELAY">TRUE</field>
                                                        <field name="DELAY_MS">1000</field>
                                                        <field name="UNIT">ms</field>
                                                        <field name="CLEAR_RUNNING">FALSE</field>
                                                        <value name="VALUE">
                                                          <block type="variables_get" id="P@N|PbiTOZ:Bo}3[.)SG">
                                                            <field name="VAR" id="%f2p3[xiEK;T;hxSX|t5">shelly</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </statement>
                                                  </block>
                                                </next>
                                              </block>
                                            </statement>
                                          </block>
                                        </next>
                                      </block>
                                    </xml>
                                    

                                    MOD-EDIT: Code in code-tags gesetzt!

                                    W 1 Reply Last reply
                                    0
                                    • W WilliKlein

                                      @paul53

                                      <xml xmlns="https://developers.google.com/blockly/xml">
                                        <variables>
                                          <variable id="%f2p3[xiEK;T;hxSX|t5">shelly</variable>
                                        </variables>
                                        <block type="variables_set" id="k)@FiWDGHXsZ,SHM}1zS" x="300" y="-111">
                                          <field name="VAR" id="%f2p3[xiEK;T;hxSX|t5">shelly</field>
                                          <value name="VALUE">
                                            <block type="get_value" id="MfV3iIf5#Fx*F#SPbAd`">
                                              <field name="ATTR">val</field>
                                              <field name="OID">shelly.0.shellyplus1#7c87ce63d85c#1.Relay0.Switch</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="on_ext" id="_f?n?9+^x32}4r=j(lF0">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                              <field name="CONDITION">ne</field>
                                              <field name="ACK_CONDITION"></field>
                                              <value name="OID0">
                                                <shadow type="field_oid" id="Bbh1E/},e./{_Yf3_;px">
                                                  <field name="oid">growatt.0.1030054.devices.DFK0BKD00C.historyLast.ppv</field>
                                                </shadow>
                                              </value>
                                              <statement name="STATEMENT">
                                                <block type="controls_if" id="5^_]~A*IAxXr.+z+,O|g">
                                                  <mutation elseif="1"></mutation>
                                                  <value name="IF0">
                                                    <block type="logic_compare" id="9@jz$j=TVGPXYwK_N1tl">
                                                      <field name="OP">LT</field>
                                                      <value name="A">
                                                        <block type="on_source" id="3O1($TjuU2zLP#.u6(]l">
                                                          <field name="ATTR">state.val</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="math_number" id=")G`AERK`8@25wu`}x;HJ">
                                                          <field name="NUM">3000</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO0">
                                                    <block type="variables_set" id="eb+o#xx@Yv#zEjH3[c8,">
                                                      <field name="VAR" id="%f2p3[xiEK;T;hxSX|t5">shelly</field>
                                                      <value name="VALUE">
                                                        <block type="logic_boolean" id="^9S9/{$K~z:7}vXy+vXd">
                                                          <field name="BOOL">TRUE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </statement>
                                                  <value name="IF1">
                                                    <block type="logic_compare" id="Hk1ghg;eIF}mNq~qg2$N">
                                                      <field name="OP">GT</field>
                                                      <value name="A">
                                                        <block type="on_source" id=";GgYm,hYSX3/.3FCVqb^">
                                                          <field name="ATTR">state.val</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="math_number" id="`=4-0(|xgYJ{WIg_dctO">
                                                          <field name="NUM">3500</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO1">
                                                    <block type="variables_set" id="SDx9dFe8-XqT~?PP,265">
                                                      <field name="VAR" id="%f2p3[xiEK;T;hxSX|t5">shelly</field>
                                                      <value name="VALUE">
                                                        <block type="logic_boolean" id="^aFhyq!(ta2DJm$2qCtt">
                                                          <field name="BOOL">FALSE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </statement>
                                                  <next>
                                                    <block type="controls_if" id="9q!Zk#Vc?c9EX$:Z9zUK">
                                                      <value name="IF0">
                                                        <block type="logic_compare" id="43Vu=|/wYh`tM*c*dc-J">
                                                          <field name="OP">NEQ</field>
                                                          <value name="A">
                                                            <block type="variables_get" id="*xID|?TLTij`-[+2G4K[">
                                                              <field name="VAR" id="%f2p3[xiEK;T;hxSX|t5">shelly</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="get_value" id="}|Y8Zi|6j(ivB?Z+tt}8">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">shelly.0.shellyplus1#7c87ce63d85c#1.Relay0.Switch</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <statement name="DO0">
                                                        <block type="control" id="12N5$JSuj7~#-O,zt39W">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                          <field name="OID">shelly.0.shellyplus1#7c87ce63d85c#1.Relay0.Switch</field>
                                                          <field name="WITH_DELAY">TRUE</field>
                                                          <field name="DELAY_MS">1000</field>
                                                          <field name="UNIT">ms</field>
                                                          <field name="CLEAR_RUNNING">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="variables_get" id="P@N|PbiTOZ:Bo}3[.)SG">
                                                              <field name="VAR" id="%f2p3[xiEK;T;hxSX|t5">shelly</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </statement>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                            </block>
                                          </next>
                                        </block>
                                      </xml>
                                      

                                      MOD-EDIT: Code in code-tags gesetzt!

                                      W Offline
                                      W Offline
                                      WilliKlein
                                      wrote on last edited by
                                      #26

                                      @williklein said in Mit Blockly das Shelly 1 ein/aus über Solar Ertrag.:

                                      @paul53

                                      ich weiss nicht wie ich das zurückschicken kann

                                      DJMarc75D paul53P 2 Replies Last reply
                                      0
                                      • W WilliKlein

                                        @williklein said in Mit Blockly das Shelly 1 ein/aus über Solar Ertrag.:

                                        @paul53

                                        ich weiss nicht wie ich das zurückschicken kann

                                        DJMarc75D Offline
                                        DJMarc75D Offline
                                        DJMarc75
                                        wrote on last edited by
                                        #27

                                        @williklein @paul53 hat Dir ein Blockly geschickt.... was willst Du denn warum zurückschicken ??

                                        Lehrling seit 1975 !!!
                                        Beitrag geholfen ? dann gerne ein upvote rechts unten im Beitrag klicken ;)
                                        https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge

                                        1 Reply Last reply
                                        0
                                        • W WilliKlein

                                          @williklein said in Mit Blockly das Shelly 1 ein/aus über Solar Ertrag.:

                                          @paul53

                                          ich weiss nicht wie ich das zurückschicken kann

                                          paul53P Offline
                                          paul53P Offline
                                          paul53
                                          wrote on last edited by
                                          #28

                                          @williklein sagte: ich weiss nicht wie ich das zurückschicken kann

                                          Als Bild.

                                          Was soll das?

                                          Bild_2022-10-20_195050061.png

                                          Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                                          Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                                          W 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          484

                                          Online

                                          32.7k

                                          Users

                                          82.5k

                                          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