Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. ZEE

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Z
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 20
    • Best 0
    • Groups 1

    ZEE

    @ZEE

    Starter

    -1
    Reputation
    10
    Profile views
    20
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    ZEE Follow
    Starter

    Latest posts made by ZEE

    • RE: [gelöst] Wie stehenden Wert triggern?

      @paul53
      das war es, habe den Adapter einmal kurz laufen lassen und dann wieder gestoppt - prompt kam die Nachricht! 👍
      Danke für die Hilfe!

      posted in Blockly
      Z
      ZEE
    • RE: [gelöst] Wie stehenden Wert triggern?

      @djmarc75

      5dbd98c3-cbba-47bd-af5e-f7ba683e3195-image.png

      posted in Blockly
      Z
      ZEE
    • RE: [gelöst] Wie stehenden Wert triggern?

      @paul53 sorry, das hatte ich so nicht gerafft, daß es nur einer sein soll. Habe es nun geändert und Deinen Vorschlag nachgebaut. Geht leider trotzdem nicht! 😞

      So:

      <block xmlns="https://developers.google.com/blockly/xml" type="timeouts_cleartimeout" id="Z?reg6mGK}-5,yRJthkT" x="-941.94140625" y="-675.828125">
        <field name="NAME">timeout_Zähler</field>
        <next>
          <block type="timeouts_settimeout" id=";4(I$|1z}TBTiLJ,*BE.">
            <field name="NAME">timeout_Zähler</field>
            <field name="DELAY">10</field>
            <field name="UNIT">sec</field>
            <statement name="STATEMENT">
              <block type="signal-cmb" id="0pV]TZ}}lCL~vknOv#=$">
                <field name="INSTANCE"></field>
                <field name="LOG"></field>
                <value name="MESSAGE">
                  <shadow type="text" id="|I0ui2@}C{oV5E0Uv9f8">
                    <field name="TEXT">Zähler steht!</field>
                  </shadow>
                </value>
              </block>
            </statement>
          </block>
        </next>
      </block>
      
      posted in Blockly
      Z
      ZEE
    • RE: [gelöst] Wie stehenden Wert triggern?

      1def3836-c9d0-4466-ae0f-a516b76585ae-image.png

      dito, keine Nachricht

      posted in Blockly
      Z
      ZEE
    • RE: [gelöst] Wie stehenden Wert triggern?

      egal, welchen Triggerblock ich nehme, es tut nichts.
      Und muss das Kriterium nicht "gleich oder kleiner als letztes" sein? Ich möchte den Trigger ja aktivieren, wenn sich der Wert eben NICHT verändert...? Stehe auf dem Schlauch.

      Jetzt mal so probiert, keine Funktion.
      2702aa94-1e10-4564-ad55-7fd25f7155ed-image.png

      posted in Blockly
      Z
      ZEE
    • [gelöst] Wie stehenden Wert triggern?

      Hallo, ich möchte mich benachrichtigen lassen, wenn ein Wert sich eine bestimmte Zeit (hier zum testen 10 Sek.) lang nicht mehr verändert, bekomme es aber nicht hin.
      Wo ist mein Denkfehler?
      a78d5be8-36bc-43af-b5a2-77d402550618-image.png

      posted in Blockly
      Z
      ZEE
    • RE: "Stotternde" Ausführung bei Markisensteuerung

      @paul53

      geht jetzt. Du hattest Deine vorige Antwort editiert, danach hab ich es verstanden.
      Nochmals danke für die Hilfe!
      Jetzt sieht es so aus (und kann weiter verfeinert werden):

      <block xmlns="https://developers.google.com/blockly/xml" type="timeouts_settimeout" id="RJB*KJGHzo,mgn|HG`}R" x="-636.1221618652344" y="-719.71875">
        <field name="NAME">timeout_Markise_zu</field>
        <field name="DELAY">5</field>
        <field name="UNIT">min</field>
        <statement name="STATEMENT">
          <block type="control_ex" id="D,aYfncvo]~6;:x=Et4|">
            <field name="TYPE">false</field>
            <field name="CLEAR_RUNNING">FALSE</field>
            <value name="OID">
              <shadow type="field_oid" id="LUNO:zcC,;yfWN7^)8^f">
                <field name="oid">shelly.0.SHSW-25#10521C07A436#1.Shutter.Close</field>
              </shadow>
            </value>
            <value name="VALUE">
              <shadow type="logic_boolean" id="qUK=D@vU[k`lTR[oldsX">
                <field name="BOOL">TRUE</field>
              </shadow>
            </value>
            <value name="DELAY_MS">
              <shadow type="math_number" id="2yKv|Q$gdS}|jcQvTD]|">
                <field name="NUM">0</field>
              </shadow>
            </value>
            <next>
              <block type="signal-cmb" id="eGElm@Y$%Aq(h1{CeCV:">
                <field name="INSTANCE"></field>
                <field name="LOG"></field>
                <value name="MESSAGE">
                  <shadow type="text" id="FLh@K=]vhN/HICKhtwlO">
                    <field name="TEXT">Markise fährt runter, die Sonne scheint!</field>
                  </shadow>
                </value>
              </block>
            </next>
          </block>
        </statement>
      </block>
      

      edit: ich setze Deinen letzten Tipp auch noch um!

      posted in Blockly
      Z
      ZEE
    • RE: "Stotternde" Ausführung bei Markisensteuerung

      @paul53
      tut mir leid, ich raff's einfach nicht. 🤦‍♂️

      Wenn ich eine Variable erstelle, und nenne sie "timer_Markise_zu", bekomme ich die Fehlermeldung, dass diese bereits existiert. Nenne ich sie anders, kann ich anschliessend den Namen "timer_Markise_zu" auswählen. Das ist dann aber trotzdem nicht das richtige Objekt??

      Wie bekomme ich denn dann den richtigen Baustein hinter das "nicht"?

      posted in Blockly
      Z
      ZEE
    • RE: "Stotternde" Ausführung bei Markisensteuerung

      Frohe Ostern allerseits!

      Tja, irgendwie klappt es immer noch nicht. 😞
      Ich habe das Ganze jetzt mal entzerrt, da nur die Trigger mit timeout zicken.
      Wenn ich das "nicht timeout..." weglasse, habe ich mein altes Problem, dass der Trigger jede Sekunde neu auslöst. Aber so, wie von @paul53 vorgeschlagen, passiert gar nichts.
      Der lila Baustein "timeout_Markise_zu" ist doch eine Variable, oder habe ich es falsch interpretiert?! Ich habe nichts anderes gefunden...
      Hat noch jemand nen Tipp für mich?

      Bildschirmfoto 2022-04-18 um 12.54.10.png

      <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
          <variable type="timeout" id="timeout_Markise_zu">timeout_Markise_zu</variable>
        </variables>
        <block type="on" id="Jk@R-l-iJ#U(C;ceyR6J" x="-838" y="-1037">
          <field name="OID">modbus.0.holdingRegisters.40068_PV_Leistung</field>
          <field name="CONDITION">ne</field>
          <field name="ACK_CONDITION"></field>
          <statement name="STATEMENT">
            <block type="controls_if" id="K;VZl!BC3u@]?4F0oZ.Z">
              <mutation else="1"></mutation>
              <value name="IF0">
                <block type="logic_operation" id="lvf]iX6kR;_LdQgMCwvC" inline="false">
                  <field name="OP">AND</field>
                  <value name="A">
                    <block type="logic_operation" id=",SyC.0G`#Cn}1?[ZI8v$" inline="false">
                      <field name="OP">AND</field>
                      <value name="A">
                        <block type="logic_compare" id="pkLr{S}|Po9j0y:,^}c?">
                          <field name="OP">GT</field>
                          <value name="A">
                            <block type="on_source" id="sP(vuTnHsE.g||^UAT}~">
                              <field name="ATTR">state.val</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="math_number" id="H^*N=cy*k8.oyjH:DM$4">
                              <field name="NUM">4000</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_compare" id="8fz*fU1qlV{mGPOk?EDN">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="get_value" id="sts-$*CY7},RJe3yfx_#">
                              <field name="ATTR">val</field>
                              <field name="OID">0_userdata.0.Markise_Position</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="text" id="POa#[5Rv*zfl^}p)~lmV">
                              <field name="TEXT">oben</field>
                            </block>
                          </value>
                        </block>
                      </value>
                    </block>
                  </value>
                  <value name="B">
                    <block type="logic_operation" id="8D6R!,q7lUPo2.l*CRDp" inline="false">
                      <field name="OP">AND</field>
                      <value name="A">
                        <block type="logic_operation" id="FAojrIBIwCZ5t2aKuap:">
                          <field name="OP">AND</field>
                          <value name="A">
                            <block type="logic_compare" id="2-YbHw^XZ5~WWwb450#K">
                              <field name="OP">NEQ</field>
                              <value name="A">
                                <block type="get_value" id="o@kQawf4=xbi#?q)fvZK">
                                  <field name="ATTR">val</field>
                                  <field name="OID">dwd.0.warning.type</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="text" id="VeG]k[VC#JyT(+`h!v@I">
                                  <field name="TEXT">Thunderstorm</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <value name="B">
                            <block type="logic_compare" id="f}TJ6NxseZT*3o@gd/(I">
                              <field name="OP">NEQ</field>
                              <value name="A">
                                <block type="get_value" id="YzX.exbJG%,)ORaBCRD$">
                                  <field name="ATTR">val</field>
                                  <field name="OID">dwd.0.warning.type</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="text" id="zRgr?P3MukK%HWlw)J/F">
                                  <field name="TEXT">Wind/Storm</field>
                                </block>
                              </value>
                            </block>
                          </value>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_negate" id="P,-8WVey4#8I::C%#23N">
                          <value name="BOOL">
                            <block type="variables_get" id="zy$.5Cq.cKMr%@{JnTZh">
                              <field name="VAR" id="timeout_Markise_zu" variabletype="timeout">timeout_Markise_zu</field>
                            </block>
                          </value>
                        </block>
                      </value>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO0">
                <block type="timeouts_settimeout" id="b^%J=z6h(%K]lV]5%_8w">
                  <field name="NAME">timeout_Markise_zu</field>
                  <field name="DELAY">10</field>
                  <field name="UNIT">sec</field>
                  <statement name="STATEMENT">
                    <block type="control_ex" id="gfXx%+%0Arod@j#pnnzl">
                      <field name="TYPE">false</field>
                      <field name="CLEAR_RUNNING">FALSE</field>
                      <value name="OID">
                        <shadow type="field_oid" id="8E53896/#{wTzBd3Z`NT">
                          <field name="oid">shelly.0.SHSW-25#10521C07A436#1.Shutter.Close</field>
                        </shadow>
                      </value>
                      <value name="VALUE">
                        <shadow type="logic_boolean" id="KW)yq@+6o4UM?PsyZHe{">
                          <field name="BOOL">TRUE</field>
                        </shadow>
                      </value>
                      <value name="DELAY_MS">
                        <shadow type="math_number" id=".FvT2S!4]M`M~3gy8y*O">
                          <field name="NUM">0</field>
                        </shadow>
                      </value>
                      <next>
                        <block type="signal-cmb" id="y.ZKM(aQl%UT7Hnvw]?N">
                          <field name="INSTANCE"></field>
                          <field name="LOG"></field>
                          <value name="MESSAGE">
                            <shadow type="text" id="N@Wqb#moNG[q1OTFGbsx">
                              <field name="TEXT">Markise fährt runter, die Sonne scheint!</field>
                            </shadow>
                          </value>
                        </block>
                      </next>
                    </block>
                  </statement>
                </block>
              </statement>
              <statement name="ELSE">
                <block type="timeouts_cleartimeout" id="RHwt*5F6iXS(G}8l@1Du">
                  <field name="NAME">timeout_Markise_zu</field>
                </block>
              </statement>
            </block>
          </statement>
        </block>
      </xml>
      
      posted in Blockly
      Z
      ZEE
    • RE: "Stotternde" Ausführung bei Markisensteuerung

      @paul53

      sagst Du mir Anfänger bitte noch, welchen Baustein Du hinter "nicht" genommen hast? Ist das nicht ein Trigger? Nur wie kommt das "timeout_Markise_zu" dahin?

      edit:
      gefunden - ist ne Variable! 😄

      posted in Blockly
      Z
      ZEE
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo