Skip to content

Blockly

6.6k Topics 79.8k Posts

Hilfe für Skripterstellung mit Blockly

NEWS

  • [gelöst] Blockly schaltet zu oft

    34
    2
    0 Votes
    34 Posts
    3k Views
    C
    So scheint es erstmal heute funktioniert zu haben. Jeweils nur ein sauberes True oder False für die entsprechende Zeit.. [image: 1677944143678-aktiv.jpg]
  • Mehrere Trigger verarbeiten und Wert setzen

    blockly
    13
    1
    0 Votes
    13 Posts
    901 Views
    R
    @bananajoe Habe ich mit etwas üben und "rumspielen" auch raus bekommen. Aber vielen Dank für den Tipp.
  • Verzögerung wird nicht angewendet

    5
    3
    0 Votes
    5 Posts
    363 Views
    CodierknechtC
    @werde45 OK, wollte es nur gesagt haben ;-)
  • Wärmepumpe bei günstigem Tibber Strom laufen lassen.

    17
    2
    0 Votes
    17 Posts
    7k Views
    paul53P
    @tolkin sagte: Haus hat natürlich Fussbodenheizung Dann kann man in den teuersten 7 Stunden die WP abschalten. Damit sie morgens aufheizt, die Nachtabsenkung nur zwischen 22:00 Uhr und 3:00 Uhr.
  • Tado Thermostat Einstellung letzter Wert

    1
    0 Votes
    1 Posts
    197 Views
    No one has replied
  • Betriebstunden loggen

    14
    1
    0 Votes
    14 Posts
    503 Views
    C
    @homoran OK, falsch ausgedrückt ;-)
  • Tagesverbrauch anhand des Gesamtverbrauch berechnen (Wh)

    17
    2
    0 Votes
    17 Posts
    966 Views
    rtwlR
    @homoran schade 😉
  • 0 Votes
    4 Posts
    669 Views
    haus-automatisierungH
    @meierchen006 Genau richtig
  • Anker 535 laden mit shelly

    16
    1
    0 Votes
    16 Posts
    1k Views
    W
    @paul53 ahhh ok. Dannlasse ich alles aus und teste morgen wenn ich einspeise
  • User Data setzt blockly beim start auf 0.

    15
    1
    0 Votes
    15 Posts
    1k Views
    G
    @paul53 Bin ja mal gespannt wie die Werte vom Modbus und vom gerechneten Morgen übereinstimmen.
  • Timeout wird nicht im Blockly gestoppt, sobald er aktiv ist

    8
    1
    0 Votes
    8 Posts
    758 Views
    HomoranH
    @quorle sagte in Timeout wird nicht im Blockly gestoppt, sobald er aktiv ist: Aber wie sieht der Block aus den du meinst? Logik Falls, logik nicht, Variable mit dem Namen des Timeouts. in dem "Maul" des falls-Blocks dann der Start des Timeouts mit Inhalt.
  • Blockly 7.01

    3
    1
    3 Votes
    3 Posts
    477 Views
    paul53P
    @jensven sagte: Die neue Version ist ne Beta ? Ja.
  • Blockly zum Wled Dimmen & heller machen

    4
    1
    0 Votes
    4 Posts
    203 Views
    ArmilarA
    @horst-böttcher Geht natürlich auch via http mit curl und exec [image: 1677536360323-c04d3c87-5ba4-46e5-ba87-3d58585e367a-image.png]
  • Blockly gesendet push Nachrichten

    4
    1
    0 Votes
    4 Posts
    369 Views
    CodierknechtC
    @chris777 Nein - keine andere Idee. Das ist aber auch nicht wirklich kompliziert: Einfach in den Bereich "Variablen" und dort eine eigene Variable erstellen. [image: 1677479882473-8c97b745-2cfb-4c03-b822-b54b9e081df8-image.png]
  • [gelöst] Nur in einem Ordner Werte auf true

    3
    1
    0 Votes
    3 Posts
    79 Views
    David G.D
    @codierknecht Danke, das war es.
  • Dosen im Stundenintervall schalten

    12
    2
    0 Votes
    12 Posts
    720 Views
    da_WoodyD
    @uncleb klar, ich kenn die gegebenheiten nicht. allerdings bin ich mit Aquaristik aufgewachsen. vllt hab ich deswegen dein eingangsposting nicht ganz verstanden, oder falsch interpretiert. seis drum. ich hab dir aber auch hints für eine möglich einfachere lösung gepostet.
  • [Gelöst] "+10" in Zahlenfeld übergeben

    9
    0 Votes
    9 Posts
    463 Views
    GRG
    @homoran Da ginge um js. Läuft!
  • NachrichtTelegramm bei Akku PV über 86%

    4
    1
    0 Votes
    4 Posts
    295 Views
    wendy2702W
    @shigi76 Dann Editiere doch bitte deinen ersten Beitrag und setze ein [Gelöst] vor die Überschrift
  • Probleme u.a. mit Timeout bzw. Intervallen

    3
    0 Votes
    3 Posts
    293 Views
    J
    @bananajoe Vielen Dank. Du hast mir die richtigen Denkanstöße gegeben. Ich habe im Skript noch folgendes verändert: Damit der stream nicht immer neu startet, nehme ich den "volume"-Befehl um die Lautstärke zu ändern. Dadurch bleibt der stream am laufen. Nun läuft es so wie ich es gerne möchte. Vielen Dank noch einmal!!! Hier noch einmal das überarbeitete Skript, falls jemand es noch braucht. Spoiler <xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="qF^Dv{8_res2E03z3U@Y">Lautstärke</variable> </variables> <block type="comment" id="TY5y@;wbT[:1UNV3)Mn," x="-487" y="-562"> <field name="COMMENT">Wecker Arbeitszeit Michael</field> <next> <block type="on_ext" id="+J`Ya(FkCm@@I%;}V9S-"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="9UlabIyzFWK#;A3.1TrN"> <field name="oid">0_userdata.0.Zeitschaltuhr.Arbeitszeit_Michael</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="9!JB5^oh2Fua~+NlU2dP"> <value name="IF0"> <block type="on_source" id="svY?Oji:cqb@z%kd(soQ"> <field name="ATTR">state.val</field> </block> </value> <statement name="DO0"> <block type="comment" id="L#g*Q?G,:jnb,_c7C=]`"> <field name="COMMENT">Licht an</field> <next> <block type="control" id="9enx6r}oJ-L735=b/T89"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">deconz.0.Lights.2.on</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="Zk{!JHwgTD$m@D-XG#-0"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="comment" id="9Rj5emq1QUyEF9M^J|x^"> <field name="COMMENT">Lautstärke auf 30 erhöhen, um 3 alle 60 Sekunden</field> <next> <block type="variables_set" id="F@iNKcR]|q8@0l%{~j%^"> <field name="VAR" id="qF^Dv{8_res2E03z3U@Y">Lautstärke</field> <value name="VALUE"> <block type="math_number" id="(zbYz^bus9HU3%UyjDD)"> <field name="NUM">0</field> </block> </value> <next> <block type="request" id="t#;jt[1.U=y(R4b!Ks8r"> <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation> <field name="WITH_STATEMENT">FALSE</field> <field name="LOG"></field> <value name="URL"> <shadow type="text" id="fpINO0bmlEi-;lPB6FbD"> <field name="TEXT"></field> </shadow> <block type="text_join" id="{hI~.Q5.anFY{_dr(,OU"> <mutation items="4"></mutation> <value name="ADD0"> <block type="text" id="Beo`gB_BguS4kvua-46T"> <field name="TEXT">http://192.168.178.28:5005/Schlafzimmer/favourite</field> </block> </value> <value name="ADD1"> <block type="text" id="0{Aj_L_vJ=D6C1W@?W,{"> <field name="TEXT">/Klassik Radio</field> </block> </value> <value name="ADD2"> <block type="text" id="]UR3+;XkR6d*ambIM1B~"> <field name="TEXT">/de-de/</field> </block> </value> <value name="ADD3"> <block type="variables_get" id="o$^,jOl.K/U-c@oi[f)6"> <field name="VAR" id="qF^Dv{8_res2E03z3U@Y">Lautstärke</field> </block> </value> </block> </value> <next> <block type="controls_repeat_ext" id="-_pA=Wi7:9!3aP,KY67H"> <value name="TIMES"> <shadow type="math_number" id="6ar6?`^OUL@no8Tw~x9V"> <field name="NUM">10</field> </shadow> </value> <statement name="DO"> <block type="variables_set" id="w.lPzP3b=?.Cn-.Np!A?"> <field name="VAR" id="qF^Dv{8_res2E03z3U@Y">Lautstärke</field> <value name="VALUE"> <block type="math_arithmetic" id=":FC/6IM8q}t-z*g%2^.j"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number" id="w$n2??9k1FK8i*=Peet_"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="`!{L^1wQ,G}_.@2LH/s+"> <field name="VAR" id="qF^Dv{8_res2E03z3U@Y">Lautstärke</field> </block> </value> <value name="B"> <shadow type="math_number" id="`1O6QUZA-xcFx[n}]5R("> <field name="NUM">3</field> </shadow> </value> </block> </value> <next> <block type="request" id="[LWIqL3]-L7%qZRoWX;+"> <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation> <field name="WITH_STATEMENT">FALSE</field> <field name="LOG"></field> <value name="URL"> <shadow type="text"> <field name="TEXT"></field> </shadow> <block type="text_join" id="2:dYCeT?=yK#eBy$q{`N"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="8!;rzj$=r}{%C;:mjWs0"> <field name="TEXT">http://192.168.178.28:5005/Schlafzimmer/</field> </block> </value> <value name="ADD1"> <block type="text" id="wO.5x+!_,yy^nV]-1KJs"> <field name="TEXT">volume/</field> </block> </value> <value name="ADD2"> <block type="variables_get" id="*^TJ%+aX[7T*IuIx4^Zm"> <field name="VAR" id="qF^Dv{8_res2E03z3U@Y">Lautstärke</field> </block> </value> </block> </value> <next> <block type="timeouts_wait" id="-Pgm){S{)TO.?@zHc`H`"> <field name="DELAY">60</field> <field name="UNIT">sec</field> </block> </next> </block> </next> </block> </statement> <next> <block type="control" id="i(/8:aF`_dzR.cCA_pnD"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">deconz.0.Lights.2.on</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="hNyGaR/Lb+t,5hAV@|s="> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="comment" id="Y}n,,#e^hHTVb=iTJx.I"> <field name="COMMENT">Ggf. Rollos hochfahren</field> <next> <block type="controls_if" id="d#N#%.#xuF$~J(v;$^q8"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_operation" id="f0dvO.q8859VGMt65BcC" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="A5NHF4%[7LSA{iT5=iFC"> <field name="OP">GTE</field> <value name="A"> <block type="get_value" id="SeZlOti9#.5`]kdmVWTb"> <field name="ATTR">val</field> <field name="OID">hm-rpc.1.00181BE9946BC5.1.ILLUMINATION</field> </block> </value> <value name="B"> <block type="math_number" id="^ZaM|+yf{Vx.q*{{rixF"> <field name="NUM">21</field> </block> </value> </block> </value> <value name="B"> <block type="time_astro" id="drJReRn?arNc=~YoqAJZ"> <field name="TYPE">sunrise</field> <field name="OFFSET">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="76OyQT2Gplv8z?curpPy"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">hm-rpc.1.00165D899FBB0A.14.LEVEL</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="QL}AW@CL/Lk8q6^]w_M9"> <field name="NUM">100</field> </block> </value> <next> <block type="control" id="*pU6?cekcBpo]OHI+Mp5"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">hm-rpc.1.00165D899FBB0A.10.LEVEL</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="D;9)u-Ue:`aaK;bo!B3o"> <field name="NUM">100</field> </block> </value> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_operation" id="*7BZOQ@{*);$.dO[?Y?+" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="*6aWE,Eg%{1b6A9!z{#/"> <field name="OP">LTE</field> <value name="A"> <block type="get_value" id="MS4dd5H9YHJQ([Sd[RSC"> <field name="ATTR">val</field> <field name="OID">hm-rpc.1.00181BE9946BC5.1.ILLUMINATION</field> </block> </value> <value name="B"> <block type="math_number" id="BfEDmJ!!7uvik`_|f:9o"> <field name="NUM">20</field> </block> </value> </block> </value> <value name="B"> <block type="logic_negate" id="/c*{fHI-N1U%kKx~@{/b"> <value name="BOOL"> <block type="time_astro" id="l{6Tzmp7]k8^|P?YMsA5"> <field name="TYPE">sunrise</field> <field name="OFFSET">0</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="control" id="F)V$?Y#MCFW?B|dhN?5a"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">hm-rpc.1.00169D8997A0F8.10.LEVEL</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="8?UR6^c/b`eVB9f:@zU1"> <field name="NUM">30</field> </block> </value> </block> </statement> <next> <block type="comment" id="VdFTu-#kd(ShM.sd,L7X"> <field name="COMMENT">Nach insgesamt 10 Min. plus 2 Min. Pause: Radio Ausschalten</field> <next> <block type="timeouts_wait" id="yT)/_bSn_y4Qh{i)Q?Ql"> <field name="DELAY">2</field> <field name="UNIT">min</field> <next> <block type="request" id="!244Ao(pOU7LRkyE~_Xz"> <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation> <field name="WITH_STATEMENT">FALSE</field> <field name="LOG"></field> <value name="URL"> <shadow type="text" id="z;H=FGbjopJqdg@4Gmi#"> <field name="TEXT"></field> </shadow> <block type="text" id="3S*=2y:{dv8x`eYa648y"> <field name="TEXT">http://192.168.178.28:5005/Schlafzimmer/pause</field> </block> </value> <next> <block type="comment" id="*#r9|^TNZNjzuUk.4AKV"> <field name="COMMENT">Datenpunkt Wecker auf false schalten</field> <next> <block type="control" id=",?z8mS`6qIB~qHf:|x98"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Zeitschaltuhr.Arbeitszeit_Michael</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="_R+r{jvp,KVZJmXUxN,1"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </statement> </block> </next> </block> </xml>
  • Blockly "Nur Änderung" auch bei steuere möglich

    6
    2
    0 Votes
    6 Posts
    485 Views
    nik82N
    @paul53 Super Danke, dann mache ich das so

621

Online

32.8k

Users

82.8k

Topics

1.3m

Posts