Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Das Ultimative Markisen / Rolladen Blockly - Script

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Das Ultimative Markisen / Rolladen Blockly - Script

    This topic has been deleted. Only users with topic management privileges can see it.
    • smile
      smile last edited by

      @Fox1985

      sehr cool, das mit dem umgebauten Fensterkontakt in Kombination mit einem normalen, drahtgebundenen Regensensor mache ich auch so 😄

      Eine Frage: Die Somfy Markisen die du steuerst, haben die RTS oder IO Funkmotoren? Woher hast du die Infos bezüglich der Ansteuerung bezogen?

      Danke und viele Grüße

      1 Reply Last reply Reply Quote 0
      • F
        Fox1985 last edited by

        @smile:

        @Fox1985

        sehr cool, das mit dem umgebauten Fensterkontakt in Kombination mit einem normalen, drahtgebundenen Regensensor mache ich auch so 😄

        Eine Frage: Die Somfy Markisen die du steuerst, haben die RTS oder IO Funkmotoren? Woher hast du die Infos bezüglich der Ansteuerung bezogen?

        Danke und viele Grüße ` Habe einen RTS Motor und steuer den per CUL an. Der bangt noch an meiner CCU2.

        Im homematic forum gibt es dazu eine Anleitung.

        Die Idee mit dem Fensterkontakt habe ich mal in einem Youtube Video gesehen.

        EDIT:

        aus diesem Video habe ich die Idee gehabt:

        https://www.youtube.com/watch?v=y4xGgx2yNXE

        und so hält auch die Batterie länger:

        https://www.youtube.com/watch?v=98BFtiwxjzE

        1 Reply Last reply Reply Quote 0
        • F
          Fox1985 last edited by Negalein

          Hallo nochmal,

          habe nun nach zwei Monaten endlich meine Xiaomi Fensterkontakte aus China geliefert bekommen :roll:

          Nun sitze ich am Script für die Terrassentüre.

          Ich will den Rolladen so steuern, dass wenn die Türe offen ist (sich noch einer auf der Terrasse befindet) der Rolladen als einziger noch oben bleibt.

          Wird die Türe dann geschlossen, soll der Rolladen sich automatisch schließen.

          ich habe schon einmal angefangen,komme aber nicht so recht weiter.

          Könnt ihr mir bitte helfen?

          Viele Grüße
          7070_zwischenablage01.jpg

          1 Reply Last reply Reply Quote 0
          • B
            bishop last edited by

            Hallo,

            ich bekomme auch ein texttype error wie muckel!

            was fehlt mir da?

            Ich würde gerne die Sonne ermittlen den rest brauche ich erst einmal noch nicht.

            @muckel:

            Hallo Smile!

            Könntest du bitte dein "Klimadatenaußenerfassen.txt" nochmals hochladen.

            Ich bekomme einen Import Error.

            Danke im Voraus

            Liebe Grüße `

            Ist der Helligkeitswert in Lux?

            1 Reply Last reply Reply Quote 0
            • smile
              smile last edited by Negalein

              Hi, das ist ja seltsam.

              Hier kommt nochmal das Skript zum Erfassen der Wetterdaten:
              3472_klimadaten_au_en_erfassen.txt

              Der Helligkeitswert der Homematic Wetterstation ist meiner Ansicht nache ein willkürlicher Wert, da der denke ich nicht mit tatsächlichen Lux Werten übereinstimmt.

              Letztendlich ist das aber auch egal, da die Hauptsache ja ist dass ein Helligkeitswert abgefragt wird und man diesen entsprechend verarbeiten kann.

              1 Reply Last reply Reply Quote 0
              • smile
                smile last edited by smile

                Update 21.04.2019:

                • Verzögerung für das Ein / Ausfahren der Beschattung bei Überschreitung der Höchsttemperatur hinzugefügt
                • Wind Stufen Variable als reine Ziffer (0, 1, 2) gesetzt, dadurch ist die Variable in Datenbanken (z.B. InfluxDB) besser lesbar
                • Energiegewinnung im April angepasst: Zusätzliche Außentemperaturvariable hinzugefügt, damit bei sehr kalter Außentemperatur der Innenraum noch mehr Wärme puffert, bevor die Rolläden wieder runterfahren.
                • Kleinere Korrekturen

                Blockly-Exporte:
                https://forum.iobroker.net/post/101260

                M 1 Reply Last reply Reply Quote 0
                • M
                  MartyBr @smile last edited by

                  @smile
                  Hallo smile,
                  die beiden Beschattungsscripte werfen beim Import immer einen Fehler aus. Den Kopf hatte ich gelöscht, dass hilft leider nicht.
                  Kannst du die Scripte nochmal einstellen?
                  Danke
                  Martin

                  1 Reply Last reply Reply Quote 0
                  • M
                    muckel @smile last edited by

                    @smile

                    Hallo Smile,
                    ich wollte mir mal ansehen wie du deine Rollladen Steuerst.
                    Leider kann ich deine beiden "Beschattung" Exports nicht importieren.
                    Kannst du diese bitte nochmals hochladen.

                    Danke im Voraus

                    liebe Grüße

                    1 Reply Last reply Reply Quote 0
                    • smile
                      smile last edited by Negalein

                      Hallo zusammen,
                      habe ich soeben neu exportiert und hochgeladen. Könnt ihr bitte mal überprüfen ob es jetzt funktioniert?

                      Hier nochmal die Exporte direkt:

                      Beschattung Auto Regen / Wind

                      <xml xmlns="http://www.w3.org/1999/xhtml">
                        <block type="comment" id="IR94DiuG7v6~=Zg2dVp6" x="-862" y="4413">
                          <field name="COMMENT">Variablen initialisieren</field>
                          <next>
                            <block type="procedures_callnoreturn" id="iW:+%8blE]XvSDS~rIw5">
                              <mutation name="InitVariablen"></mutation>
                              <next>
                                <block type="comment" id="_:tJ@Ut#F5ws5(QdD#18">
                                  <field name="COMMENT">Variablen überwachen</field>
                                  <next>
                                    <block type="comment" id="Mlyo7L0-(5%m9dgr4!hg">
                                      <field name="COMMENT">Wenn sich eine ändert, startet Trigger</field>
                                      <next>
                                        <block type="on" id="y@5W3=xOld/#5OvGuT#C">
                                          <field name="OID">javascript.0.Klima.wind_stufe</field>
                                          <field name="CONDITION">ne</field>
                                          <field name="ACK_CONDITION"></field>
                                          <statement name="STATEMENT">
                                            <block type="comment" id="nV@fJn+(nfLo:a.DqSPZ">
                                              <field name="COMMENT">Beschattung einfahren Wind</field>
                                              <next>
                                                <block type="controls_if" id="j*450vq]+6x`;5`RpE3W">
                                                  <value name="IF0">
                                                    <block type="logic_compare" id="T.iWvUC3YT,_qkwZRI~z">
                                                      <field name="OP">EQ</field>
                                                      <value name="A">
                                                        <block type="get_value" id="orO,yL!f7A;MnSWeI.{h">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">javascript.0.Klima.wind_stufe</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="math_number" id="OuKRKY`f50YNI;t~}Haf">
                                                          <field name="NUM">0</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO0">
                                                    <block type="controls_if" id="RC.KplK!tWqDx(Ktf7%:">
                                                      <value name="IF0">
                                                        <block type="logic_compare" id="NKPEgVSX:aAu5#eFxQU_">
                                                          <field name="OP">LT</field>
                                                          <value name="A">
                                                            <block type="get_value" id="Y6lJQhjx_-|BzhMdc)3Z">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">hm-rpc.2.LEQ0170301.3.LEVEL</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="text" id="wy4`]h,[K]M~|0A,~y}:">
                                                              <field name="TEXT">99</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <statement name="DO0">
                                                        <block type="control" id="^}Ar,2GR{NE=mf)}b79#">
                                                          <mutation delay_input="false"></mutation>
                                                          <field name="OID">hm-rpc.2.BidCoS-Wir.9.PRESS_SHORT</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="logic_boolean" id="Q0=nDX@WJ3jK(z:J/57n">
                                                              <field name="BOOL">TRUE</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="debug" id="D~*Q!irXwb3Yd2{TixJ/">
                                                              <field name="Severity">log</field>
                                                              <value name="TEXT">
                                                                <shadow type="text" id="~^+nNp!mfk*)MP-;}VH1">
                                                                  <field name="TEXT">***Beschattung Wind hoch</field>
                                                                </shadow>
                                                              </value>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </statement>
                                                      <next>
                                                        <block type="controls_if" id="--(`Xxj:!+nr8IA6@TUd">
                                                          <value name="IF0">
                                                            <block type="logic_compare" id="2:CXtVM`:-ws{E?{J%J0">
                                                              <field name="OP">LT</field>
                                                              <value name="A">
                                                                <block type="get_value" id=",5IWlhV5Wn_)MaFECLYi">
                                                                  <field name="ATTR">val</field>
                                                                  <field name="OID">hm-rpc.2.LEQ0170348.3.LEVEL</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="text" id="~8}Mu`^G]%=awkrB{9Hv">
                                                                  <field name="TEXT">99</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <statement name="DO0">
                                                            <block type="control" id="/jT[fmN;+8yFxt(~toyB">
                                                              <mutation delay_input="false"></mutation>
                                                              <field name="OID">hm-rpc.2.BidCoS-Wir.7.PRESS_SHORT</field>
                                                              <field name="WITH_DELAY">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="logic_boolean" id="R0TCv3yy=Kw#iIh,Bzzq">
                                                                  <field name="BOOL">TRUE</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                  <next>
                                                    <block type="comment" id="0g*Rze/X.nfp[Y6v*?_s">
                                                      <field name="COMMENT">Raffstore einfahren Wind</field>
                                                      <next>
                                                        <block type="controls_if" id="pS8P;CPTP7S9q3YMWE,B">
                                                          <value name="IF0">
                                                            <block type="logic_compare" id="*ngIY~p[N=O[-MVPghdj">
                                                              <field name="OP">EQ</field>
                                                              <value name="A">
                                                                <block type="get_value" id="8k2)AQwoTs!P?X6Pb!_h">
                                                                  <field name="ATTR">val</field>
                                                                  <field name="OID">javascript.0.Klima.wind_stufe</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="text" id="0aC_-BYzC[#*^SEv)b9~">
                                                                  <field name="TEXT">1</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <statement name="DO0">
                                                            <block type="controls_if" id="i?CB2}QCY3F~@wUj[CCe">
                                                              <value name="IF0">
                                                                <block type="logic_compare" id="8bqKiPG`}!ZY+K2k,+hF">
                                                                  <field name="OP">LT</field>
                                                                  <value name="A">
                                                                    <block type="get_value" id="^]#k3E?/4ug%H.Er3o6C">
                                                                      <field name="ATTR">val</field>
                                                                      <field name="OID">hm-rpc.0.LEQ0904694.1.LEVEL</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block type="text" id=",rI3ve}Zz62EA4]*cRf#">
                                                                      <field name="TEXT">99</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <statement name="DO0">
                                                                <block type="control" id="KX[P)di[Ku}aWK[WrRaR">
                                                                  <mutation delay_input="false"></mutation>
                                                                  <field name="OID">hm-rpc.0.BidCoS-RF.29.PRESS_SHORT</field>
                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                  <value name="VALUE">
                                                                    <block type="logic_boolean" id="X;PIq}rO!47ek9xN-CE!">
                                                                      <field name="BOOL">TRUE</field>
                                                                    </block>
                                                                  </value>
                                                                  <next>
                                                                    <block type="debug" id="pgQYRUIt4|2s/C{lD*]P">
                                                                      <field name="Severity">log</field>
                                                                      <value name="TEXT">
                                                                        <shadow type="text" id="Kp;,#xJP!AiIahG2MVem">
                                                                          <field name="TEXT">***Beschattung Wind hoch</field>
                                                                        </shadow>
                                                                      </value>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </statement>
                                                              <next>
                                                                <block type="controls_if" id="Sh6-H?=2dcmrZs9nVAZ`">
                                                                  <value name="IF0">
                                                                    <block type="logic_compare" id="2j~-M6V2W-*q2@j-FzFQ">
                                                                      <field name="OP">LT</field>
                                                                      <value name="A">
                                                                        <block type="get_value" id="T?|QvwR]9E8owUFJin.Q">
                                                                          <field name="ATTR">val</field>
                                                                          <field name="OID">hm-rpc.0.JEQ0300111.1.LEVEL</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="text" id="YvhYmdjDUM*C}V/*B}D[">
                                                                          <field name="TEXT">99</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <statement name="DO0">
                                                                    <block type="control" id="{L@|)LA6xMYnoJ*_hH{M">
                                                                      <mutation delay_input="false"></mutation>
                                                                      <field name="OID">hm-rpc.0.BidCoS-RF.31.PRESS_SHORT</field>
                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                      <value name="VALUE">
                                                                        <block type="logic_boolean" id="kg2By/m],xH+KbZ_sL*:">
                                                                          <field name="BOOL">TRUE</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </statement>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </statement>
                                                          <next>
                                                            <block type="comment" id="T)B*3eml#*`fvrb(,`r,">
                                                              <field name="COMMENT">Rollo einfahren Wind</field>
                                                              <next>
                                                                <block type="controls_if" id="ZQVeHI6`tw-16{sPs,PH">
                                                                  <value name="IF0">
                                                                    <block type="logic_compare" id="Rbo~%5aF#t!NDha|=)OB">
                                                                      <field name="OP">EQ</field>
                                                                      <value name="A">
                                                                        <block type="get_value" id="B6Kcvv}T5/z=,=hke!DY">
                                                                          <field name="ATTR">val</field>
                                                                          <field name="OID">javascript.0.Klima.wind_stufe</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="text" id="R2j/ov@w2sVqtj_#5q{;">
                                                                          <field name="TEXT">2</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <statement name="DO0">
                                                                    <block type="controls_if" id="_89.*[X!)P-(sh_~}b[f">
                                                                      <value name="IF0">
                                                                        <block type="logic_compare" id="/J#Esk-FCxOf.uV_V,8F">
                                                                          <field name="OP">LT</field>
                                                                          <value name="A">
                                                                            <block type="get_value" id="E|j8P4qocc72Ut[2w{So">
                                                                              <field name="ATTR">val</field>
                                                                              <field name="OID">hm-rpc.0.JEQ0299861.1.LEVEL</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="text" id="vawKr8aw-)/E,3r-yJwD">
                                                                              <field name="TEXT">99</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <statement name="DO0">
                                                                        <block type="control" id="u^IQ/tb!]nqifIm=%u3e">
                                                                          <mutation delay_input="false"></mutation>
                                                                          <field name="OID">hm-rpc.0.BidCoS-RF.14.PRESS_SHORT</field>
                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                          <value name="VALUE">
                                                                            <block type="logic_boolean" id=":_Fui~]f%i)4!u|vIl)N">
                                                                              <field name="BOOL">TRUE</field>
                                                                            </block>
                                                                          </value>
                                                                          <next>
                                                                            <block type="debug" id="qO.v*_T%-Ybquu]XMBok">
                                                                              <field name="Severity">log</field>
                                                                              <value name="TEXT">
                                                                                <shadow type="text" id="!27r.U={ZGs[0=-l^zUB">
                                                                                  <field name="TEXT">***Rollo Einfahren Wind</field>
                                                                                </shadow>
                                                                              </value>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </statement>
                                                                      <next>
                                                                        <block type="controls_if" id="o;BlSq()74UA3#,?N;%+">
                                                                          <value name="IF0">
                                                                            <block type="logic_compare" id="f.p;j0)B)7Ws~)99?8,9">
                                                                              <field name="OP">LT</field>
                                                                              <value name="A">
                                                                                <block type="get_value" id="ZI-;y?7KR]Lgh?U?Brs6">
                                                                                  <field name="ATTR">val</field>
                                                                                  <field name="OID">hm-rpc.0.JEQ0299851.1.LEVEL</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="text" id="YA~dTN@H8y5lnu(zFjQ5">
                                                                                  <field name="TEXT">99</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <statement name="DO0">
                                                                            <block type="control" id="FN8sn|ps*/U}n|cFb%2!">
                                                                              <mutation delay_input="false"></mutation>
                                                                              <field name="OID">hm-rpc.0.BidCoS-RF.16.PRESS_SHORT</field>
                                                                              <field name="WITH_DELAY">FALSE</field>
                                                                              <value name="VALUE">
                                                                                <block type="logic_boolean" id="M7l8Q+qof)_2eDhkw([8">
                                                                                  <field name="BOOL">TRUE</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </statement>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </statement>
                                                                  <next>
                                                                    <block type="controls_if" id="W1Kctj2#XVS)TNVJ:%=G">
                                                                      <value name="IF0">
                                                                        <block type="logic_compare" id="*}jBtnO.Yh5JlU5oM~;;">
                                                                          <field name="OP">EQ</field>
                                                                          <value name="A">
                                                                            <block type="get_value" id="#ZBmxEnoTTvGb_rSmt{h">
                                                                              <field name="ATTR">val</field>
                                                                              <field name="OID">javascript.0.Klima.wind_stufe</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="text" id="@{pL#Y6g.fOPk/z.(GAh">
                                                                              <field name="TEXT">2</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <statement name="DO0">
                                                                        <block type="controls_if" id="/XfXK_@R}pvGYSJ^I*nn">
                                                                          <value name="IF0">
                                                                            <block type="logic_compare" id="Vkv;-Z#(6=PO:x6BXRr5">
                                                                              <field name="OP">LT</field>
                                                                              <value name="A">
                                                                                <block type="get_value" id=";0_F{D.ngpcdp%x5e7pb">
                                                                                  <field name="ATTR">val</field>
                                                                                  <field name="OID">hm-rpc.0.LEQ0904951.1.LEVEL</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="text" id="t,@FP,Zlh=zR=JC?l+=+">
                                                                                  <field name="TEXT">99</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <statement name="DO0">
                                                                            <block type="control" id="5]T9.pHFS!v.{b:y25Jm">
                                                                              <mutation delay_input="false"></mutation>
                                                                              <field name="OID">hm-rpc.0.BidCoS-RF.25.PRESS_SHORT</field>
                                                                              <field name="WITH_DELAY">FALSE</field>
                                                                              <value name="VALUE">
                                                                                <block type="logic_boolean" id="1c,n=1mDGq(?1JDF}G07">
                                                                                  <field name="BOOL">TRUE</field>
                                                                                </block>
                                                                              </value>
                                                                              <next>
                                                                                <block type="debug" id="%*GGYD7UeWQN-~`.h6Ng">
                                                                                  <field name="Severity">log</field>
                                                                                  <value name="TEXT">
                                                                                    <shadow type="text" id="Ld1Dea?Coc.[-HJn3hg7">
                                                                                      <field name="TEXT">***Rollo Einfahren Wind</field>
                                                                                    </shadow>
                                                                                  </value>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </statement>
                                                                          <next>
                                                                            <block type="controls_if" id="mvq.anzvxMp@,yt@otQO">
                                                                              <value name="IF0">
                                                                                <block type="logic_compare" id="xi.A(Ezol-=:`oxV|nvW">
                                                                                  <field name="OP">LT</field>
                                                                                  <value name="A">
                                                                                    <block type="get_value" id=")-eA`9r.A!O}yvpPar[E">
                                                                                      <field name="ATTR">val</field>
                                                                                      <field name="OID">hm-rpc.0.JEQ0299881.1.LEVEL</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <block type="text" id=";=`NBe~}20{1?o7IW1s{">
                                                                                      <field name="TEXT">99</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <statement name="DO0">
                                                                                <block type="control" id="}+}.*K_kZfkiEtA_S)x*">
                                                                                  <mutation delay_input="false"></mutation>
                                                                                  <field name="OID">hm-rpc.0.BidCoS-RF.27.PRESS_SHORT</field>
                                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="logic_boolean" id="lkxjpqRd@-,DFa=6Y^fJ">
                                                                                      <field name="BOOL">TRUE</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </statement>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </statement>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                          <next>
                                            <block type="on" id="iR~z89N=QTy2HXjmtbs9">
                                              <field name="OID">javascript.0.Klima.regen</field>
                                              <field name="CONDITION">ne</field>
                                              <field name="ACK_CONDITION"></field>
                                              <statement name="STATEMENT">
                                                <block type="comment" id="|rGMiBg8C^PJsN#Z,vhE">
                                                  <field name="COMMENT">Beschattung / Rollo einfahren Regen</field>
                                                  <next>
                                                    <block type="controls_if" id="P1^IBjxiuHr~7J{)7t5Z">
                                                      <value name="IF0">
                                                        <block type="logic_compare" id="(GvP7StBSOY#cWn#?G(k">
                                                          <field name="OP">EQ</field>
                                                          <value name="A">
                                                            <block type="get_value" id="T:n1;WGsH@P3kqD)K.?I">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">javascript.0.Klima.regen</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="logic_boolean" id="eH[`y9s0qL-e]ra4Vx))">
                                                              <field name="BOOL">TRUE</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <statement name="DO0">
                                                        <block type="controls_if" id="~l%{.TC|kLE5x`7at[b~">
                                                          <value name="IF0">
                                                            <block type="logic_compare" id="3qWo*3@^lc`.m|Ck2fJ~">
                                                              <field name="OP">LT</field>
                                                              <value name="A">
                                                                <block type="get_value" id="yZE+N8Q=7y]-Xzd:+9%P">
                                                                  <field name="ATTR">val</field>
                                                                  <field name="OID">hm-rpc.2.LEQ0170301.3.LEVEL</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="math_number" id="@r{^W;!9EJ^oIQkZ;+|9">
                                                                  <field name="NUM">98</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <statement name="DO0">
                                                            <block type="control" id="^t{Nu27U7K^dwOU#1]D*">
                                                              <mutation delay_input="false"></mutation>
                                                              <field name="OID">hm-rpc.2.BidCoS-Wir.9.PRESS_SHORT</field>
                                                              <field name="WITH_DELAY">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="logic_boolean" id=".JA{8rL4lMLgZC^Qq+~q">
                                                                  <field name="BOOL">TRUE</field>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="debug" id="`iUbc{K6Ejf?,`[TCL!d">
                                                                  <field name="Severity">log</field>
                                                                  <value name="TEXT">
                                                                    <shadow type="text" id="MIkXiVth+#Xf}KtobT3e">
                                                                      <field name="TEXT">***Beschattung Regen hoch</field>
                                                                    </shadow>
                                                                  </value>
                                                                  <next>
                                                                    <block type="pushover" id="#5ms{;QZa(.}VT1UJ0:B">
                                                                      <field name="INSTANCE">.0</field>
                                                                      <field name="SOUND"></field>
                                                                      <field name="PRIORITY">0</field>
                                                                      <field name="LOG"></field>
                                                                      <value name="MESSAGE">
                                                                        <shadow type="text" id="=Z`^JO85E:VB}i~Yu(Fc">
                                                                          <field name="TEXT">Beschattung fährt hoch wegen Regen</field>
                                                                        </shadow>
                                                                      </value>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </statement>
                                                          <next>
                                                            <block type="controls_if" id="qVNwND{O]OhvIZ!j!5lN">
                                                              <value name="IF0">
                                                                <block type="logic_compare" id="eON!u_|zL]YvE7CF^TW/">
                                                                  <field name="OP">LT</field>
                                                                  <value name="A">
                                                                    <block type="get_value" id="/_]J?6g|p5#bsh#tw3]X">
                                                                      <field name="ATTR">val</field>
                                                                      <field name="OID">hm-rpc.2.LEQ0170348.3.LEVEL</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block type="math_number" id="vzNLi-iveVhUE-V:Dy(#">
                                                                      <field name="NUM">99</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <statement name="DO0">
                                                                <block type="control" id="2Yd^=#WM9A/Rx%0~r.nB">
                                                                  <mutation delay_input="false"></mutation>
                                                                  <field name="OID">hm-rpc.2.BidCoS-Wir.7.PRESS_SHORT</field>
                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                  <value name="VALUE">
                                                                    <block type="logic_boolean" id="r-CS}lco!%rhJZ(phuJh">
                                                                      <field name="BOOL">TRUE</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </statement>
                                                              <next>
                                                                <block type="controls_if" id="v]Z?H3gQqO/mXJ,@)Gi:">
                                                                  <value name="IF0">
                                                                    <block type="logic_compare" id="~ec+io`8;+u?^V|MBm*{">
                                                                      <field name="OP">LT</field>
                                                                      <value name="A">
                                                                        <block type="get_value" id="CO*T5oh:s3TEgv=a:Wbo">
                                                                          <field name="ATTR">val</field>
                                                                          <field name="OID">hm-rpc.0.JEQ0299861.1.LEVEL</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="math_number" id="X/}d.d~A##kuIl,_/aLl">
                                                                          <field name="NUM">99</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <statement name="DO0">
                                                                    <block type="control" id="gd^Hj3l_%m]CQF:fiD?M">
                                                                      <mutation delay_input="false"></mutation>
                                                                      <field name="OID">hm-rpc.0.BidCoS-RF.14.PRESS_SHORT</field>
                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                      <value name="VALUE">
                                                                        <block type="logic_boolean" id="!Yn|HE[Op}f52S?vXnNh">
                                                                          <field name="BOOL">TRUE</field>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="debug" id="v3Rty4%his,Rb2IOGK9:">
                                                                          <field name="Severity">log</field>
                                                                          <value name="TEXT">
                                                                            <shadow type="text" id="oVs~3d`?aearKsb?@h7H">
                                                                              <field name="TEXT">***Rollo Regen hoch</field>
                                                                            </shadow>
                                                                          </value>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </statement>
                                                                  <next>
                                                                    <block type="controls_if" id="z6h!y1MjQr]swF%X69(D">
                                                                      <value name="IF0">
                                                                        <block type="logic_compare" id="LM7pp|O_%Vh2FtM6fpss">
                                                                          <field name="OP">LT</field>
                                                                          <value name="A">
                                                                            <block type="get_value" id="o3]7u/KI2VHyp?oo1~Fz">
                                                                              <field name="ATTR">val</field>
                                                                              <field name="OID">hm-rpc.0.JEQ0299851.1.LEVEL</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="math_number" id="ux;9!|36Moj+%J=CfZyz">
                                                                              <field name="NUM">99</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <statement name="DO0">
                                                                        <block type="control" id="CBu;E{DZqeHPEGoG=A~}">
                                                                          <mutation delay_input="false"></mutation>
                                                                          <field name="OID">hm-rpc.0.BidCoS-RF.16.PRESS_SHORT</field>
                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                          <value name="VALUE">
                                                                            <block type="logic_boolean" id="M[}q[F+Qf_O5w8eO4FN9">
                                                                              <field name="BOOL">TRUE</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </statement>
                                                                      <next>
                                                                        <block type="controls_if" id="b+xxr^Gbc4]uT5/#[|kA">
                                                                          <value name="IF0">
                                                                            <block type="logic_compare" id="|yE]Y#6sgFa(XKL~r{CQ">
                                                                              <field name="OP">LT</field>
                                                                              <value name="A">
                                                                                <block type="get_value" id="[pHmUEhYxJSOk,Jrqc5;">
                                                                                  <field name="ATTR">val</field>
                                                                                  <field name="OID">hm-rpc.0.JEQ0299881.1.LEVEL</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="math_number" id="Uhnz7GCx@O[dds=A]E4-">
                                                                                  <field name="NUM">99</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <statement name="DO0">
                                                                            <block type="control" id="t)97)nK76NhZUbuSTL)*">
                                                                              <mutation delay_input="false"></mutation>
                                                                              <field name="OID">hm-rpc.0.BidCoS-RF.27.PRESS_SHORT</field>
                                                                              <field name="WITH_DELAY">FALSE</field>
                                                                              <value name="VALUE">
                                                                                <block type="logic_boolean" id="?[2h;I9-3Q1}IY^~/RJp">
                                                                                  <field name="BOOL">TRUE</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </statement>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </statement>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                        <block type="procedures_defnoreturn" id="(+6Mz{Je,L}7n^5*t*wO" x="-362" y="4463">
                          <field name="NAME">InitVariablen</field>
                          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                          <statement name="STACK">
                            <block type="control" id="p?`r0r!rP+l-DL?HVpBE">
                              <mutation delay_input="false"></mutation>
                              <field name="OID">javascript.0.Klima.wind_stufe</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="text" id="=23O/zB:VZ!/%Yx%uWR!">
                                  <field name="TEXT">0</field>
                                </block>
                              </value>
                            </block>
                          </statement>
                        </block>
                        <block type="control" id="d:8g!N[q^)G{PlAhNaz-" disabled="true" x="-337" y="4563">
                          <mutation delay_input="false"></mutation>
                          <field name="OID">javascript.0.Klima.regen</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="text" id="O0b3a)p_H.ZWmX)incoT">
                              <field name="TEXT"></field>
                            </block>
                          </value>
                        </block>
                      </xml>
                      

                      Das Sonnen Automatik Blockly ist zu groß, das kann ich nut als .txt Datei hochladen.
                      Wurde wie gesagt gerade frisch gemacht. Müsste gehen.

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        MartyBr @smile last edited by

                        @smile
                        Der Code Auto Regen / Wind kommt importiert werden.
                        Kannst du bitte auch das zweite Script noch einmal als Text exportieren?

                        1 Reply Last reply Reply Quote 0
                        • smile
                          smile last edited by

                          @MartyBr Ich kann das Auto Sonne Script leider nicht hier reinkopieren, weil es zu lang ist. Das geht nur als .txt Datei. Diese habe ich oben ja direkt nochmal hochgeladen.
                          Ich hab die Datei nochmal frisch exportiert und hier hochgeladen: https://my.hidrive.com/share/79ruj-8er8#$/
                          Wenn das nicht hilft weiß ich leider auch nicht weiter. Ich habe alles mit den aktuellsten Instanzen erstellt und exportiert.

                          M G 2 Replies Last reply Reply Quote 0
                          • M
                            MartyBr @smile last edited by

                            @smile
                            Super, vielen Dank. Jetzt konnte ich das zweite Script ohne Fehler importieren.

                            Vielen Dank und Gruß
                            Martin

                            1 Reply Last reply Reply Quote 0
                            • G
                              gerald123 @smile last edited by

                              @smile Hallo smile,
                              Ich wollte mal nachfragen ob du die Rolladensteuerung noch so wie beschrieben benutzt und ob die Skripte der Letztstand sind.
                              Würde auch gerne beginnen meine Markisen zu automatisieren.

                              smile 1 Reply Last reply Reply Quote 0
                              • smile
                                smile @gerald123 last edited by

                                @gerald123 Hi gerald, ja ich benutze die Scripte noch exakt so und sie funktionieren hervorragend 🙂 LG und viel Spaß beim automatisieren.

                                G 1 Reply Last reply Reply Quote 0
                                • G
                                  gerald123 @smile last edited by

                                  @smile Hallo smile, danke für die Info.
                                  Könntest du mir die zwei Automatik Sonne und Regen/Wind senden, die haben beim herunterladen nicht funktioniert.
                                  Danke!

                                  1 Reply Last reply Reply Quote 0
                                  • smile
                                    smile last edited by

                                    Ich kann sie dir hier im Forum nicht direkt schicken, ich habe sie aber nochmal neu hochgeladen. Klappt das?

                                    G 1 Reply Last reply Reply Quote 0
                                    • G
                                      gerald123 @smile last edited by

                                      @smile super, danke

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        StefanW last edited by

                                        Hallo,
                                        der Link für den Download der aktuellen Version funktioniert leider nicht mehr.
                                        Kann es vielleicht noch mal jemand zum Download bereitstellen?

                                        Danke
                                        Stefan

                                        Glasfaser 1 Reply Last reply Reply Quote 0
                                        • Glasfaser
                                          Glasfaser @StefanW last edited by

                                          @StefanW sagte in Das Ultimative Markisen / Rolladen Blockly - Script:

                                          der Link für den Download der aktuellen Version funktioniert leider nicht mehr.

                                          Funktionieren doch alle hier im Thread !?

                                          1 Reply Last reply Reply Quote 1
                                          • S
                                            StefanW last edited by

                                            Sorry, der Fehler ist meist vor der Tatstatur zu finden 😥

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            681
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            blockly climate
                                            18
                                            80
                                            28113
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo