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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Steckdose Push NUR einmal bei Power

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.4k

Steckdose Push NUR einmal bei Power

Geplant Angeheftet Gesperrt Verschoben Blockly
3 Beiträge 2 Kommentatoren 139 Aufrufe 1 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • C Offline
    C Offline
    ChrisXY
    schrieb am zuletzt editiert von
    #1

    Hallo,
    habe eine Pumpe hinter einer Steckdose. Ich suche nun eine Blockly Lösung das ich 1x ein Push bekomme wenn die Pumpe an geht Power größer als 50.
    Und eine Push wenn Power unter 50 mit Pumpe aus ..

    Leider schwankt Power so das ich Pumpe An alle paar Sekunden bekomme ..

    Welche Lösung gibt es OHNE ein Extra Objekt anzulegen ? Also direkt im Blockly ?

    Hab schon einen 2. Tigger auf eine Variable gemacht (on/off) mit "Geändert" klappt nicht.

    Hat da jemand eine Lösung das ich nur 1x ein Push bekomme?

    paul53P 1 Antwort Letzte Antwort
    0
    • C ChrisXY

      Hallo,
      habe eine Pumpe hinter einer Steckdose. Ich suche nun eine Blockly Lösung das ich 1x ein Push bekomme wenn die Pumpe an geht Power größer als 50.
      Und eine Push wenn Power unter 50 mit Pumpe aus ..

      Leider schwankt Power so das ich Pumpe An alle paar Sekunden bekomme ..

      Welche Lösung gibt es OHNE ein Extra Objekt anzulegen ? Also direkt im Blockly ?

      Hab schon einen 2. Tigger auf eine Variable gemacht (on/off) mit "Geändert" klappt nicht.

      Hat da jemand eine Lösung das ich nur 1x ein Push bekomme?

      paul53P Offline
      paul53P Offline
      paul53
      schrieb am zuletzt editiert von paul53
      #2

      @ChrisXY sagte:

      Hat da jemand eine Lösung das ich nur 1x ein Push bekomme?

      Blockly_temp.JPG

      <xml xmlns="http://www.w3.org/1999/xhtml">
       <variables>
         <variable type="" id="x@:O~S0zL42xS[^)`$Fg">grenzwert</variable>
       </variables>
       <block type="variables_set" id="|EoetsG0Ht}_d/B~EAY@" x="-212" y="-137">
         <field name="VAR" id="x@:O~S0zL42xS[^)`$Fg" variabletype="">grenzwert</field>
         <value name="VALUE">
           <block type="math_number" id="VdjH(KarxqetQj=Wey;)">
             <field name="NUM">50</field>
           </block>
         </value>
         <next>
           <block type="on_ext" id="k%ZP.X8%g91vJ0p.pBj]">
             <mutation items="1"></mutation>
             <field name="CONDITION">ne</field>
             <field name="ACK_CONDITION"></field>
             <value name="OID0">
               <shadow type="field_oid" id=")GfL6ui@,_`B_$mXXB-J">
                 <field name="oid">default</field>
               </shadow>
             </value>
             <statement name="STATEMENT">
               <block type="controls_if" id=".Xm1t*8=iYYc*ov}*/tE">
                 <value name="IF0">
                   <block type="logic_operation" id="H0I,m0k]{a*yTn%KARP9" inline="false">
                     <field name="OP">AND</field>
                     <value name="A">
                       <block type="logic_compare" id="Kj_)F-7gm;_MjV2r4),#">
                         <field name="OP">GT</field>
                         <value name="A">
                           <block type="on_source" id="u_+;t{hO+CIAwcHAGJ[}">
                             <field name="ATTR">state.val</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="variables_get" id="HK[KwI~1;47}TKN{r{}Q">
                             <field name="VAR" id="x@:O~S0zL42xS[^)`$Fg" variabletype="">grenzwert</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <value name="B">
                       <block type="logic_compare" id="nAsH2Q6`rSk{c^#}FKT)">
                         <field name="OP">LTE</field>
                         <value name="A">
                           <block type="on_source" id="Er%.i/#Z5lWr5u*8;oda">
                             <field name="ATTR">oldState.val</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="variables_get" id="=W#QLN$US`6^sg]8KF[-">
                             <field name="VAR" id="x@:O~S0zL42xS[^)`$Fg" variabletype="">grenzwert</field>
                           </block>
                         </value>
                       </block>
                     </value>
                   </block>
                 </value>
                 <statement name="DO0">
                   <block type="comment" id="P[OMvNWMO:xXR1m~nN).">
                     <field name="COMMENT">push: Ein</field>
                   </block>
                 </statement>
                 <next>
                   <block type="controls_if" id="3KlTKs2DZz}rP}kE`qAz">
                     <value name="IF0">
                       <block type="logic_operation" id="?)Y#F^V9sTL~}4$$l)BO" inline="false">
                         <field name="OP">AND</field>
                         <value name="A">
                           <block type="logic_compare" id="4yt,8H{s,oma`Pwyrl4E">
                             <field name="OP">LT</field>
                             <value name="A">
                               <block type="on_source" id="xOQu5(0Y;W[v1e?NP7.J">
                                 <field name="ATTR">state.val</field>
                               </block>
                             </value>
                             <value name="B">
                               <block type="variables_get" id="Z,bZy#Ah1d?.{s6hrK1|">
                                 <field name="VAR" id="x@:O~S0zL42xS[^)`$Fg" variabletype="">grenzwert</field>
                               </block>
                             </value>
                           </block>
                         </value>
                         <value name="B">
                           <block type="logic_compare" id="z=,R7`za%078?2iLMd1D">
                             <field name="OP">GTE</field>
                             <value name="A">
                               <block type="on_source" id="lR_Kmp?IB4Oejs6IZl2f">
                                 <field name="ATTR">oldState.val</field>
                               </block>
                             </value>
                             <value name="B">
                               <block type="variables_get" id="QK$G(wTF~]1CRQ-=hZsF">
                                 <field name="VAR" id="x@:O~S0zL42xS[^)`$Fg" variabletype="">grenzwert</field>
                               </block>
                             </value>
                           </block>
                         </value>
                       </block>
                     </value>
                     <statement name="DO0">
                       <block type="comment" id="?3[05-K$0aas;W68)*uT">
                         <field name="COMMENT">push: Aus</field>
                       </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

      1 Antwort Letzte Antwort
      0
      • C Offline
        C Offline
        ChrisXY
        schrieb am zuletzt editiert von
        #3

        Danke probiere ich aus. Wusste gar nicht das es da so viele sachen im Tigger gibt ;)

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


        Support us

        ioBroker
        Community Adapters
        Donate

        636

        Online

        32.7k

        Benutzer

        82.3k

        Themen

        1.3m

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

        • Du hast noch kein Konto? Registrieren

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