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. Spannungsgeführte Gerätesteuerung

NEWS

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

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

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

Spannungsgeführte Gerätesteuerung

Scheduled Pinned Locked Moved Blockly
77 Posts 4 Posters 6.0k Views 2 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.
  • M Medoc

    @paul53

    <xml xmlns="https://developers.google.com/blockly/xml">
      <variables>
        <variable id="QyU%NeehKu8B-(eUUWzJ">Spannung</variable>
        <variable id="#NjROm#D]q?~e5E)g.cx">Klopumpe</variable>
        <variable id="{;KYn9h|rc9~MuiJ,B1)">Ausschaltsperre</variable>
        <variable type="timeout" id="timeout">timeout</variable>
      </variables>
      <block type="comment" id="ssS0i7mkz[OJd.j+Zc[I" x="-463" y="113">
        <field name="COMMENT">Wemos</field>
        <next>
          <block type="schedule" id="eeUAS=8PwkHaxCD(:R3Q">
            <field name="SCHEDULE">*/15 * * * * *</field>
            <statement name="STATEMENT">
              <block type="variables_set" id="p`zjoN.Y$dfrM3$_-TD=">
                <field name="VAR" id="QyU%NeehKu8B-(eUUWzJ">Spannung</field>
                <value name="VALUE">
                  <block type="math_arithmetic" id="@=c~HnpsOGPp%HE)??a,">
                    <field name="OP">MULTIPLY</field>
                    <value name="A">
                      <shadow type="math_number" id="IpcqkKWeHfj+0kswZU,6">
                        <field name="NUM">1.035</field>
                      </shadow>
                    </value>
                    <value name="B">
                      <shadow type="math_number" id="Ddgh17!!-mr3LzmX)5#$">
                        <field name="NUM">1</field>
                      </shadow>
                      <block type="get_value" id="/4#Mj^[%xux*kVeiQ@hn">
                        <field name="ATTR">val</field>
                        <field name="OID">shelly.0.SHUNI-1#C45BBE6012E4#1.ADC.Power</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="}i[YhGk3Ej3WitGAFARb">
                    <mutation elseif="1"></mutation>
                    <value name="IF0">
                      <block type="logic_operation" id="f06jj}?C=9lpu$aeNOw/">
                        <field name="OP">AND</field>
                        <value name="A">
                          <block type="logic_compare" id="zcL)}uuX|`u4)W}/C2Mv">
                            <field name="OP">GTE</field>
                            <value name="A">
                              <block type="variables_get" id="67R^j}I!!WdvCk)_nYKS">
                                <field name="VAR" id="QyU%NeehKu8B-(eUUWzJ">Spannung</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="W{5|7zNIx*]`yO`Xx(9c">
                                <field name="NUM">26</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="QT`SNdX)B-s^j/CB.i_Q">
                            <field name="VAR" id="#NjROm#D]q?~e5E)g.cx">Klopumpe</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="xUvP-(!Qw6fIB*1omyT+">
                        <field name="VAR" id="#NjROm#D]q?~e5E)g.cx">Klopumpe</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="=mGpGGf14F)fn+kJFJBc">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="2_XAmV8SZ_lso#XPZx+W">
                            <field name="VAR" id="{;KYn9h|rc9~MuiJ,B1)">Ausschaltsperre</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="ro|;zB~nYTD~J3|]FE*v">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                            <next>
                              <block type="timeouts_settimeout" id="u=qreL=vkd4iCaHC{9e7">
                                <field name="NAME">timeout</field>
                                <field name="DELAY">1</field>
                                <field name="UNIT">min</field>
                                <statement name="STATEMENT">
                                  <block type="variables_set" id="I0I$UU+ToIj/br)Zehze">
                                    <field name="VAR" id="{;KYn9h|rc9~MuiJ,B1)">Ausschaltsperre</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="ft]85^%!=:UC5!#-fxXV">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <value name="IF1">
                      <block type="logic_operation" id="Swy-NSk.!/O~PTmL|]G3">
                        <field name="OP">AND</field>
                        <value name="A">
                          <block type="logic_compare" id="NZ/Om+d5]yf#JSw*+~8z">
                            <field name="OP">LTE</field>
                            <value name="A">
                              <block type="variables_get" id="6a*~7GmR-:uhzLU_Y%M1">
                                <field name="VAR" id="QyU%NeehKu8B-(eUUWzJ">Spannung</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="UY.gw+tm2z^]M=IPNE+D">
                                <field name="NUM">24.5</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_negate" id="1bMmw_^uX;w#[W`}M,Jd">
                            <value name="BOOL">
                              <block type="variables_get" id="D{w$z%$V=PPl+TN5Rx)k">
                                <field name="VAR" id="{;KYn9h|rc9~MuiJ,B1)">Ausschaltsperre</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO1">
                      <block type="variables_set" id="71#sghGovQ5_TvJM/dY%">
                        <field name="VAR" id="#NjROm#D]q?~e5E)g.cx">Klopumpe</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="2{HxH}qiWV#MT+@=]z97">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <next>
                      <block type="controls_if" id=",lL|hYeYfX@RMeP7FYEz">
                        <value name="IF0">
                          <block type="logic_compare" id=";5*a;c}6)M%[z1ib07P`">
                            <field name="OP">NEQ</field>
                            <value name="A">
                              <block type="variables_get" id="I?LFXdfrJm^^0qd#!Lh@">
                                <field name="VAR" id="#NjROm#D]q?~e5E)g.cx">Klopumpe</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="get_value" id="CwWf/DQ#*TI{Qp.@PZb@">
                                <field name="ATTR">val</field>
                                <field name="OID">sonoff.0.DVES_53921A.POWER2</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="control" id="tqUink=@Ra`$k:17SfeI">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">sonoff.0.DVES_53921A.POWER2</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="variables_get" id="GV7*!p8_;=Q7b=rGWM*b">
                                <field name="VAR" id="#NjROm#D]q?~e5E)g.cx">Klopumpe</field>
                              </block>
                            </value>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </statement>
          </block>
        </next>
      </block>
    
    
    M Offline
    M Offline
    Medoc
    wrote on last edited by
    #65

    sie schaltet auch nicht ein

    old & grumpy, tasmota, solar, pixelschubser (html & css), basic, c++ & php, ansonsten try and error - wisk(e)y liebhaber

    paul53P 1 Reply Last reply
    0
    • M Medoc

      sie schaltet auch nicht ein

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

      @medoc sagte: sie schaltet auch nicht ein

      Initialisiere mal die Variable Klopumpe bei Skriptstart:

      Bild_2021-06-30_094757.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

      M 1 Reply Last reply
      0
      • paul53P paul53

        @medoc sagte: sie schaltet auch nicht ein

        Initialisiere mal die Variable Klopumpe bei Skriptstart:

        Bild_2021-06-30_094757.png

        M Offline
        M Offline
        Medoc
        wrote on last edited by
        #67

        @paul53

        nichts

        bild.png

        old & grumpy, tasmota, solar, pixelschubser (html & css), basic, c++ & php, ansonsten try and error - wisk(e)y liebhaber

        paul53P 1 Reply Last reply
        0
        • M Medoc

          @paul53

          nichts

          bild.png

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

          @medoc sagte: nichts

          Ich kann keinen Fehler entdecken. Erzeuge mal Log-Ausgaben:

          Bild_2021-06-30_101003.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

          M 1 Reply Last reply
          0
          • paul53P paul53

            @medoc sagte: nichts

            Ich kann keinen Fehler entdecken. Erzeuge mal Log-Ausgaben:

            Bild_2021-06-30_101003.png

            M Offline
            M Offline
            Medoc
            wrote on last edited by
            #69

            @paul53
            nach ettlichen litern wasser das klo runter hatte ich eine spontanidee. iobroker neu starten. und siehe, er tut es.
            wo finde ich den debug-text?

            old & grumpy, tasmota, solar, pixelschubser (html & css), basic, c++ & php, ansonsten try and error - wisk(e)y liebhaber

            paul53P 1 Reply Last reply
            0
            • M Medoc

              @paul53
              nach ettlichen litern wasser das klo runter hatte ich eine spontanidee. iobroker neu starten. und siehe, er tut es.
              wo finde ich den debug-text?

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

              @medoc sagte: wo finde ich den debug-text?

              Den "debug output" unter "System", "erstelle Text aus" unter "Text".

              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

              M 2 Replies Last reply
              0
              • paul53P paul53

                @medoc sagte: wo finde ich den debug-text?

                Den "debug output" unter "System", "erstelle Text aus" unter "Text".

                M Offline
                M Offline
                Medoc
                wrote on last edited by
                #71

                @paul53
                ich meine den text, der dann geschrieben wird.

                bild.png

                old & grumpy, tasmota, solar, pixelschubser (html & css), basic, c++ & php, ansonsten try and error - wisk(e)y liebhaber

                HomoranH paul53P 2 Replies Last reply
                0
                • M Medoc

                  @paul53
                  ich meine den text, der dann geschrieben wird.

                  bild.png

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

                  @medoc im log als loglevel info

                  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 oben rechts. Danke!
                  der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                  1 Reply Last reply
                  0
                  • paul53P paul53

                    @medoc sagte: wo finde ich den debug-text?

                    Den "debug output" unter "System", "erstelle Text aus" unter "Text".

                    M Offline
                    M Offline
                    Medoc
                    wrote on last edited by
                    #73

                    @paul53
                    soll ich nochmal spülen und dir den log dann schicken?
                    oder hat sich das erledigt?

                    old & grumpy, tasmota, solar, pixelschubser (html & css), basic, c++ & php, ansonsten try and error - wisk(e)y liebhaber

                    paul53P 1 Reply Last reply
                    0
                    • M Medoc

                      @paul53
                      ich meine den text, der dann geschrieben wird.

                      bild.png

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

                      @medoc sagte: ich meine den text, der dann geschrieben wird.

                      Normalerweise im Fenster unter dem Blockly-Skript (Editor). Auf jeden Fall im Tab "Log".

                      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

                      1 Reply Last reply
                      0
                      • M Medoc

                        @paul53
                        soll ich nochmal spülen und dir den log dann schicken?
                        oder hat sich das erledigt?

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

                        @medoc sagte: soll ich nochmal spülen und dir den log dann schicken?
                        oder hat sich das erledigt?

                        Wenn es jetzt funktioniert, hat es sich erledigt.

                        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

                        M 2 Replies Last reply
                        0
                        • paul53P paul53

                          @medoc sagte: soll ich nochmal spülen und dir den log dann schicken?
                          oder hat sich das erledigt?

                          Wenn es jetzt funktioniert, hat es sich erledigt.

                          M Offline
                          M Offline
                          Medoc
                          wrote on last edited by Medoc
                          #76

                          @paul53

                          und zum abschluß vielen dank für die geduld.
                          solltest du mal in der nähe von rudolstadt sein, gibt es argentinisches steak, bier und whisky

                          old & grumpy, tasmota, solar, pixelschubser (html & css), basic, c++ & php, ansonsten try and error - wisk(e)y liebhaber

                          1 Reply Last reply
                          0
                          • paul53P paul53

                            @medoc sagte: soll ich nochmal spülen und dir den log dann schicken?
                            oder hat sich das erledigt?

                            Wenn es jetzt funktioniert, hat es sich erledigt.

                            M Offline
                            M Offline
                            Medoc
                            wrote on last edited by
                            #77

                            @paul53
                            es war ein schöner tag, wechselhaftes wetter, mal sonne und mal dichte wolken.
                            die relais klappern wie sie sollen.
                            grandios

                            old & grumpy, tasmota, solar, pixelschubser (html & css), basic, c++ & php, ansonsten try and error - wisk(e)y liebhaber

                            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

                            714

                            Online

                            32.8k

                            Users

                            82.7k

                            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