- ioBroker Community Home
- Deutsch
- Skripten / Logik
- Das Ultimative Markisen / Rolladen Blockly - Script
NEWS
Das Ultimative Markisen / Rolladen Blockly - Script
-
sehr cool, das mit dem umgebauten Fensterkontakt in Kombination mit einem normalen, drahtgebundenen Regensensor mache ich auch so :D
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
io.broker @ debian @ virtualbox @ Windows 10 Pro / Node 18.17.1, npm 9.6.7 / CCU3 / IR.Trans Server / Daslight 4 / Mobotix IP Cams / Qnap NAS / Sonos /
Mein Rolladen - Blockly: https://forum.iobroker.net/topic/6442/das-ultimative-markisen-rolladen-blockly-script
-
sehr cool, das mit dem umgebauten Fensterkontakt in Kombination mit einem normalen, drahtgebundenen Regensensor mache ich auch so :D
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:
-
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

-
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.
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?
-
Hi, das ist ja seltsam.
Hier kommt nochmal das Skript zum Erfassen der Wetterdaten:
3472_klimadaten_au_en_erfassen.txtDer 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.
io.broker @ debian @ virtualbox @ Windows 10 Pro / Node 18.17.1, npm 9.6.7 / CCU3 / IR.Trans Server / Daslight 4 / Mobotix IP Cams / Qnap NAS / Sonos /
Mein Rolladen - Blockly: https://forum.iobroker.net/topic/6442/das-ultimative-markisen-rolladen-blockly-script
-
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
io.broker @ debian @ virtualbox @ Windows 10 Pro / Node 18.17.1, npm 9.6.7 / CCU3 / IR.Trans Server / Daslight 4 / Mobotix IP Cams / Qnap NAS / Sonos /
Mein Rolladen - Blockly: https://forum.iobroker.net/topic/6442/das-ultimative-markisen-rolladen-blockly-script
-
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@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
MartinGruß
Martin
Intel NUCs mit Proxmox / Iobroker als VM unter Debian
Raspeberry mit USB Leseköpfen für Smartmeter
Homematic und Homematic IP -
Das Beschattungs - Blockly ist vorerst fertig und wurde nun recht ausgiebig getestet, es läuft sehr gut.
Es sind 5 Scripte die damit verknüpft sind.
Hier mal ein Überblück wie es läuft:
1. Gewünschte Innentemperatur festlegen und anhand dessen auswerten ob diese auch hinhaut oder es zu warm oder zu kühl ist.

2. Anhand von Jahreszeit, und der vorher beschriebenen Wunschtemperatur festlegen ob Energie gewonnen oder Energie ausgesperrt werden soll.

3. Alle relevanten Wetterdaten außen erfassen (Sonne, Wind, Regen) - Sonne nach Badewannen Prinzip, also mit Verzögerung damit die Beschattung nicht ständig rein und raus geht.

4. Die Beschattung / Rolläden anhand der vorher erfassten Werte intelligent nach Sonne (verzögert) runtefahren oder reinfahren.

5. Die Beschattung bei kritischen Werten wie Regen oder Wind sofort (ohne Verzögerung) einfahren.

In den txt Dateien sind die entsprechenden Blockly Exporte.
Viel Spaß damit, ich hoffe dem einen oder anderen kann es helfen.
Vielen Dank an rantanplan an die Unterstützung sowie alle anderen.
Dieselben Klimadaten werden auch genutzt, um die Fußbodenheizung zu steuern. Siehe hier:
FußbodenheizungStand: 21.04.2019
-
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.
io.broker @ debian @ virtualbox @ Windows 10 Pro / Node 18.17.1, npm 9.6.7 / CCU3 / IR.Trans Server / Daslight 4 / Mobotix IP Cams / Qnap NAS / Sonos /
Mein Rolladen - Blockly: https://forum.iobroker.net/topic/6442/das-ultimative-markisen-rolladen-blockly-script
-
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.@smile
Der Code Auto Regen / Wind kommt importiert werden.
Kannst du bitte auch das zweite Script noch einmal als Text exportieren?Gruß
Martin
Intel NUCs mit Proxmox / Iobroker als VM unter Debian
Raspeberry mit USB Leseköpfen für Smartmeter
Homematic und Homematic IP -
@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.
io.broker @ debian @ virtualbox @ Windows 10 Pro / Node 18.17.1, npm 9.6.7 / CCU3 / IR.Trans Server / Daslight 4 / Mobotix IP Cams / Qnap NAS / Sonos /
Mein Rolladen - Blockly: https://forum.iobroker.net/topic/6442/das-ultimative-markisen-rolladen-blockly-script
-
@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.@smile
Super, vielen Dank. Jetzt konnte ich das zweite Script ohne Fehler importieren.Vielen Dank und Gruß
MartinGruß
Martin
Intel NUCs mit Proxmox / Iobroker als VM unter Debian
Raspeberry mit USB Leseköpfen für Smartmeter
Homematic und Homematic IP -
@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.@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.Synology 918+ 4GB; ioBroker auf RPI4; Zigbee; Sonoff
-
@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.@gerald123 Hi gerald, ja ich benutze die Scripte noch exakt so und sie funktionieren hervorragend :-) LG und viel Spaß beim automatisieren.
io.broker @ debian @ virtualbox @ Windows 10 Pro / Node 18.17.1, npm 9.6.7 / CCU3 / IR.Trans Server / Daslight 4 / Mobotix IP Cams / Qnap NAS / Sonos /
Mein Rolladen - Blockly: https://forum.iobroker.net/topic/6442/das-ultimative-markisen-rolladen-blockly-script
-
@gerald123 Hi gerald, ja ich benutze die Scripte noch exakt so und sie funktionieren hervorragend :-) LG und viel Spaß beim automatisieren.
-
Ich kann sie dir hier im Forum nicht direkt schicken, ich habe sie aber nochmal neu hochgeladen. Klappt das?
io.broker @ debian @ virtualbox @ Windows 10 Pro / Node 18.17.1, npm 9.6.7 / CCU3 / IR.Trans Server / Daslight 4 / Mobotix IP Cams / Qnap NAS / Sonos /
Mein Rolladen - Blockly: https://forum.iobroker.net/topic/6442/das-ultimative-markisen-rolladen-blockly-script
-
Ich kann sie dir hier im Forum nicht direkt schicken, ich habe sie aber nochmal neu hochgeladen. Klappt das?
-
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@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 !?
Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..