Skip to content

Blockly

Hilfe für Skripterstellung mit Blockly

6.6k Topics 79.6k Posts

NEWS

  • [gelöst] Waschmaschine/Trockner fertig

    blockly javascript
    41
    1
    0 Votes
    41 Posts
    6k Views
    D3ltoroxpD
    @Xenon Oh schau ich mir gleich mal an Danke für die Info.
  • Eltako Zähler auslesen

    blockly
    3
    1
    0 Votes
    3 Posts
    1k Views
    M
    @paul53 Bist ein geiler Typ, endlich funktioniert des mal:+1: 3x Danke
  • Ein und Ausschalten eines Shelly mit Blockly (gelöst)

    blockly
    10
    1
    0 Votes
    10 Posts
    2k Views
    da_WoodyD
    @claus1993 da sieht man wieder wie wichtig jedes kleine detail sein kann... ;)
  • Kaffeemaschine fertig Auswertung

    7
    2
    0 Votes
    7 Posts
    662 Views
    HomoranH
    @Kaschi68 sagte in Kaffeemaschine fertig Auswertung: @paul53 Sorry, wenn ich mich missverständlich ausgedrückt habe. Ich meinte damit, das beim Warmhalten, nach dem Brühen ein 2.,3....usw. Peak kommt (also über 900W), das Script doch jedesmal neu angestartet wird, oder nicht ? Das konnte ja auch keiner ahnen, dass die Maschine nie fertig wird weiteres Aufheizen ignoriert werden soll!?!? Wenn das so ist, musst du eine Sperrvariable setzen, die erst nach Stunden??? wieder freigegeben wird. Allerdings darf dann auch zwischendurch die Leistung nicht unter 900W fallen, sonst wird es noch umständlicher.
  • USV Blockly Script, wie richtig steuern?

    4
    1
    0 Votes
    4 Posts
    556 Views
    M
    @watcherkb [image: 1603405605783-71477f62-b6a3-46c9-b950-dfe15f2a2b0f-image.png] Objekt ID -> Wert auswählen
  • Astro Funktionen erklärt

    13
    1
    0 Votes
    13 Posts
    2k Views
    L
    @paul53 super, danke dir!
  • Doppelt bzw. Mehrfach senden von URL

    3
    4
    0 Votes
    3 Posts
    314 Views
    Dominik DistlerD
    @liv-in-sky : Vielen Dank für Deine Antwort und Deine Erklärung mit den Bildern. Ich werde das heute Abend mal testen!
  • [gelöst] Motion-Bild via Blockly senden

    3
    0 Votes
    3 Posts
    328 Views
    oberfraggerO
    @MCU Danke! Ich habs auch gerade ergoogelt bzw. direkt auf der Konsole eingegeben. Das wget commando passte nicht. Auf der Konsole geht folgendes: wget --output-document /opt/iobroker/iobroker-data/pictures/morgenbild.jpg http://pihole:8765/picture/1/current
  • [gelöst]Alexa Befehle

    28
    0 Votes
    28 Posts
    2k Views
    DarkYD
    @apollon77 Es klappt jetzt.. Und der Fehler war mehr als dumm von mir.. Die Echos hängen mit 2 Amazon Konten zusammen, das erstaunliche ist, das man anscheint Routinen von jedem Amazon Konto starten kann, das gleiche für die Lautstärke, nur diese Button und "Say" befehle gehen dann halt nicht. Mit dem Hauptkonto verbunden geht nun auch alles andere zuverlässig. Ich bedanke mich nochmal bei allen die versucht haben zu helfen.
  • Tradfir bewegungsmelder zeiten einstellen

    8
    0 Votes
    8 Posts
    7k Views
    mrbungle64M
    @Olli77 said in Tradfir bewegungsmelder zeiten einstellen: @mrbungle64 den BWM ok, ja das ist wohl leider so. Ich habe diverse Tradfri Geräte auch per ConBee II (deconz Adapter) im Einsatz. Das alte Tradfri BWM Modell hat diese Einschränkung nicht - das aktuelle aber schon. Ich finde das auch schade, dass sich das Software-seitig offensichtlich nicht ändern lässt. Hier hattest Du vom Licht gesprochen: ja der BM schaltet das Licht für 3 min an ....ist mir aber zu lang daher war ich mir nicht sicher was Du meinst
  • Bewegungsmelder

    24
    0 Votes
    24 Posts
    3k Views
    A
    @David-Froebus Fazit nach einigen Tagen Praxis-Test: Nachdem ich den Script frisch aktiviere läuft alles reibungslos. Aber nach einem Tag schon verändert sich die Sache wie folgt: Ich drücke den Taster, gehe nicht ins Zimmer und das Licht geht bereits nach 3 Sek. aus. D.h. die erste eingestellte Zeit wird völlig ignoriert, oder aber es hat sich verändert. Der zweite Block funktioniert nach wie vor super. Pausiere ich den Script und lasse ihn sofort wieder laufen, dann funzt alles perfekt. Hast du vielleicht eine Idee, was da im Hintergrung schief läuft ?????? :cry:
  • Eingefrorener Sensor -> Script zum Check?

    blockly template monitoring
    8
    0 Votes
    8 Posts
    411 Views
    AsgothianA
    @paul53 sagte in Eingefrorener Sensor -> Script zum Check?: Die Wandlung nach Minuten enthält die Minuten der Uhrzeit, ist also für die Zeitdifferenz unbrauchbar. Mist - ich hatte mich dunkel erinnert das da was war. Danke fuer die Klarstellung. A.
  • Mittels Datenpunkt Rolladenfunktion beeinflussen

    7
    0 Votes
    7 Posts
    358 Views
    paul53P
    @snuggels72 sagte: Wert WEEK_PROGRAM_CHANNEL_LOCKS auf "1" setzen. Das klappt aber nicht. Verwende "steuere" anstelle von "aktualisiere" und übergebe als Wert die Zahl 1. EDIT: Laut HmIP-Doku ist das der falsche Datenpunkt (read only). [image: 1603107600246-hmip_rollos_wp.jpg]
  • Wolf Ism8i Warmwassersolltemperatur

    blockly
    1
    0 Votes
    1 Posts
    174 Views
    No one has replied
  • [gelöst]seltsames blockly trigger problem

    blockly
    22
    2
    0 Votes
    22 Posts
    1k Views
    liv-in-skyL
    @paul53 jetzt weiß ich es - damit kann ich leben
  • Script Logik Optimierung für Licht Steuerung

    24
    4
    0 Votes
    24 Posts
    4k Views
    T
    Nach erfolgreichem Wohnungsumzug haben sich die Voraussetzung ein wenig geändert. In der alten Wohnung, hatte ich Xiaomi LED Strips verwendet bei der ich den integrierten Taster zum Ein-/Ausschalten verwendete. Dies konnte man ja dank der Lösung von @paul53 per Variable und Wert/Ursprung lösen. In der neuen Küche habe ich auf die 4x BlitzWolf LT-11 Strips gesetzt und zum manuellen Dauerbetrieb habe ich 2x Aqara ZigBee Taster jeweils für die Linke und Rechte Seite montiert. Logik bleibt ähnlich... Falls man(n) die Küche in der Nacht betritt, triggert der Aqara Bewegungssensor die linke und rechte Unterseite. Nach über 120 Sekunden keine Bewegungserkennung sollen die beiden Unterseiten wieder ausgeschaltet werden. Dies funktioniert soweit wie es soll, konnte ja fast komplett aus der alten Xiaomi Logik übernommen werden. Mein Problem ist die Dauerbeleuchtung über die beiden Taster. Irgendwie habe ich da ein Problem, denn aktuell schaltet er zwar die Beleucht oben und unten zwar an, jedoch kann ich diese nicht ausschalten bzw. greift wohl zusätzlich noch die Bewegungslogik mit ein? Obwohl gerade am Tag der Datenpunkt "Nachtcheck" eigentlich auf "false" steht. Hier mal die Blockly Logik aktuell und unten drunter ein Blockly export... Taster rechts: [image: 1603020048312-taster_rechts.png] Taster links: [image: 1603020058015-taster_links.png] Aqara Bewegungssensor: [image: 1603020057818-bwm.png] Blockly export: Spoiler <xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="3t=Qb]Fgt~!a8nbX30:r">Taster rechts</variable> <variable id="sQQhM6(ocGqUgVaj;U/f">Taster links</variable> </variables> <block type="comment" id="31f(lHiPEPOxDwdpLg/9" x="38" y="38"> <field name="COMMENT">Aqara Taster rechts</field> <next> <block type="on_ext" id="u9+^qFj!il,42nv7{!L-"> <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="oZ`6emoMfq7|l@lmht]x"> <field name="oid">zigbee.0.00158d0004272786.click</field> </shadow> </value> <statement name="STATEMENT"> <block type="variables_set" id="K,H{#eIPV`p:t)xE+Msc"> <field name="VAR" id="3t=Qb]Fgt~!a8nbX30:r">Taster rechts</field> <value name="VALUE"> <block type="on_source" id="Jrf?D.6)`?/4*,LnoJY5"> <field name="ATTR">state.val</field> </block> </value> <next> <block type="comment" id="g3iz/f4wMp,4Ts.@g{8L"> <field name="COMMENT">Oben rechts</field> <next> <block type="controls_if" id="kS$VoSrJh_=rsaC0+!R~"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="!cXeK$hSSgwk+nVo$o!L"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="%,z7VQCzrkyX@edF.neZ"> <field name="ATTR">val</field> <field name="OID">alexa2.0.Smart-Home-Devices.46efd144-cd48-4d82-935f-c63d5a11d02c.powerState</field> </block> </value> <value name="B"> <block type="logic_boolean" id="L:p0o#lF=#:ulwLY^.gR"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id=":51g~C}3?/byXN1W!*I["> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Smart-Home-Devices.46efd144-cd48-4d82-935f-c63d5a11d02c.brightness</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="JMvjNGWH$ECn4v_yowje"> <field name="NUM">70</field> </block> </value> </block> </statement> <statement name="ELSE"> <block type="control" id="y2Pcpt3@An?Wg#pf{df9"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Smart-Home-Devices.46efd144-cd48-4d82-935f-c63d5a11d02c.powerState</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="kO0O%QFJ|jF~0x(/;QY!"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> <next> <block type="comment" id="Sy`3-fFAT{9rUo_6n#{M"> <field name="COMMENT">Unten rechts</field> <next> <block type="controls_if" id="C$c}fC5z68c3+ABY8nOO"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id=".j7!d*CoBY+Uv$dfuF;Q"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="]+R0HPfLJrUm]@bKsDk#"> <field name="ATTR">val</field> <field name="OID">alexa2.0.Smart-Home-Devices.f31f759c-1d77-48fd-be97-dce756a82609.powerState</field> </block> </value> <value name="B"> <block type="logic_boolean" id="N,holrneR4?)~np?Q7i|"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="9GI:z4NoYUWJsUjq`2I!"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Smart-Home-Devices.f31f759c-1d77-48fd-be97-dce756a82609.brightness</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="8E$aeUEO3uJRIN,$3kol"> <field name="NUM">70</field> </block> </value> </block> </statement> <statement name="ELSE"> <block type="control" id="E3qSiOS0c?FAEW-(j`(D"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Smart-Home-Devices.f31f759c-1d77-48fd-be97-dce756a82609.powerState</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="s?/);FmKgD`?o+6MHhTn"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> <next> <block type="comment" id="P0(h[Q7D5zJid70.*]n%"> <field name="COMMENT">Ausschalten</field> <next> <block type="controls_if" id="Dzbk6;)q{zT.fPZ@rsr;"> <value name="IF0"> <block type="logic_operation" id="bucL$jly2f@qvqqus#7M" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="0g#0}qyGQ#+xF[0!23nl"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id=".3JDWSEKcL3Ve1a{r7v?"> <field name="ATTR">val</field> <field name="OID">alexa2.0.Smart-Home-Devices.46efd144-cd48-4d82-935f-c63d5a11d02c.powerState</field> </block> </value> <value name="B"> <block type="logic_boolean" id="4r@Y]ve$KmBqR_;6/BC~"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="f8}A+C,3P}@tXR.$yFkt"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="`S7hh0y7VZM}92QJ3qv_"> <field name="ATTR">val</field> <field name="OID">alexa2.0.Smart-Home-Devices.f31f759c-1d77-48fd-be97-dce756a82609.powerState</field> </block> </value> <value name="B"> <block type="logic_boolean" id="4m(lHFa6TKJrq=5;eL6#"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="fYuY1{1Wj9i`Er5dUT@E"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Smart-Home-Devices.46efd144-cd48-4d82-935f-c63d5a11d02c.powerState</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="g31Q%}3ZNx4.xSximS{{"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id="+/+2ne:c!K_UvY9`fd3|"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Smart-Home-Devices.f31f759c-1d77-48fd-be97-dce756a82609.powerState</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="T{3v]$}-cXhPl[C7$imZ"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="comment" id="j+@VY`FL;j$B1Yg$ig6U"> <field name="COMMENT">Aqara Taster links</field> <next> <block type="on_ext" id="}P]}6!@*aq5X!k4FY(%o"> <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="Y({{mltANZ_R~AXFP?yc"> <field name="oid">zigbee.0.00158d0004283edb.click</field> </shadow> </value> <statement name="STATEMENT"> <block type="variables_set" id="KU)FQCD8lF#B@3$kvvkE"> <field name="VAR" id="sQQhM6(ocGqUgVaj;U/f">Taster links</field> <value name="VALUE"> <block type="on_source" id="|q05AE*F1q^C.HP=2)-t"> <field name="ATTR">state.val</field> </block> </value> <next> <block type="comment" id="XGfLf-vcbi*(98#%$_F1"> <field name="COMMENT">Oben links</field> <next> <block type="controls_if" id="iuW:sQrIlU:BSr}.?9BG" disabled="true"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="$m2s5|F|cb8bi[7DBjmC"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="|1l/`60`AM]#L?7]/G%g"> <field name="ATTR">val</field> <field name="OID">alexa2.0.Smart-Home-Devices.48c5ef2e-f9e6-4bb3-9405-9314fa8b2d99.powerState</field> </block> </value> <value name="B"> <block type="logic_boolean" id="$sU,E@*0y{+jPN;Z43wT"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="pH|=P}4CQnF=DvbLvYu7"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Smart-Home-Devices.48c5ef2e-f9e6-4bb3-9405-9314fa8b2d99.brightness</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="ZLLG?~a,+m`lmEe6R_*h"> <field name="NUM">70</field> </block> </value> </block> </statement> <statement name="ELSE"> <block type="control" id="PyIzT]tHWJO%5mYW|2.:"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Smart-Home-Devices.48c5ef2e-f9e6-4bb3-9405-9314fa8b2d99.powerState</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="W|D@:Npa04V%[jJ5lz8u"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> <next> <block type="comment" id="kFX~OdN(MkL*xx0;+(:1"> <field name="COMMENT">Unten links</field> <next> <block type="controls_if" id="?a*#/I].=F5#}FY!?528"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="J2[UyAE)pY`3iQ,T0AE]"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="aP]$*/K=pbglhr4jy+$U"> <field name="ATTR">val</field> <field name="OID">alexa2.0.Smart-Home-Devices.b3535e91-aead-44a1-8b17-2c8b1c1c2d4b.powerState</field> </block> </value> <value name="B"> <block type="logic_boolean" id="{!u;Nuj*i.*DuUu50z@P"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="T,^gYI}pl},E}rX2REX]"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Smart-Home-Devices.b3535e91-aead-44a1-8b17-2c8b1c1c2d4b.brightness</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id=":u0F/H1tZpE++o{1ByjC"> <field name="NUM">70</field> </block> </value> </block> </statement> <statement name="ELSE"> <block type="control" id="4W[=/::6[cBZs7%V:V^-"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Smart-Home-Devices.b3535e91-aead-44a1-8b17-2c8b1c1c2d4b.powerState</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="EMzW+[QST7lT*U0;M14V"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="comment" id="vuC+ONZrR({6+_1N4doL"> <field name="COMMENT">Aqara BWM</field> <next> <block type="on" id="u;;D50`#m*Z;%2.Ey?nD"> <field name="OID">zigbee.0.00158d0004512481.no_motion</field> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="controls_if" id="J!J@+d=):1Z6{ljOvpwc"> <value name="IF0"> <block type="logic_operation" id="0aK/YaLFHb|H(G7$GPZ{" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_negate" id="c[8zhX]@xf(0w^F*uSuJ"> <value name="BOOL"> <block type="variables_get" id="!u2rt7tx(]/)p{dF8ur)"> <field name="VAR" id="sQQhM6(ocGqUgVaj;U/f">Taster links</field> </block> </value> </block> </value> <value name="B"> <block type="logic_negate" id="^|GZ}g4*InD1k#qK[/(:"> <value name="BOOL"> <block type="variables_get" id="bqAckYr+lNe=HNWEi8Zo"> <field name="VAR" id="3t=Qb]Fgt~!a8nbX30:r">Taster rechts</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="comment" id="0Uq*WE2I^QkX5J[9Tk^e"> <field name="COMMENT">Unterschrank ausschalten</field> <next> <block type="controls_if" id="_@z*T/e|S/KN!,KJn=LU"> <value name="IF0"> <block type="logic_operation" id="J()`x(SC,p.1Sif=:8r2" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="ITG~)7okR$pu23NW2m)!"> <field name="OP">GT</field> <value name="A"> <block type="get_value" id="Pc|DBMEL1SGc~aszPGfQ"> <field name="ATTR">val</field> <field name="OID">zigbee.0.00158d0004512481.no_motion</field> </block> </value> <value name="B"> <block type="math_number" id="l5a1Xx}$ZrO8x!TErKzC"> <field name="NUM">120</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="P}`JBjN3xcW:G+q`SpPl"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="lcJiDjY*!,[81k0A9S*%"> <field name="ATTR">val</field> <field name="OID">javascript.0.Nachtcheck</field> </block> </value> <value name="B"> <block type="logic_boolean" id="7,F}%3uG#Bi:uD%p]%}o"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="comment" id="GRcFCihJDF${U|Bk7^hP"> <field name="COMMENT">Unten links</field> <next> <block type="control" id="7Y;9Y2Z_rMOf1sdc}10y"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Smart-Home-Devices.b3535e91-aead-44a1-8b17-2c8b1c1c2d4b.powerState</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="ZEePuUdX9,I0rWdANKfB"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="comment" id="|[8fMR$.qp#nLsq5jN;b"> <field name="COMMENT">Unten rechts</field> <next> <block type="control" id="MC!(?0D*{%Q5e}DN7Skr"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Smart-Home-Devices.f31f759c-1d77-48fd-be97-dce756a82609.powerState</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id=",RaHGegt9Rxf?a+=n9QS"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="comment" id="Og0Rb,EQwNceqy4aW0AW"> <field name="COMMENT">Unterschrank einschalten</field> <next> <block type="controls_if" id="VrE1nydx(PtY4ZVUncAu"> <value name="IF0"> <block type="logic_operation" id="7#|]EJug:Zl*=#-64r*X" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="Sv*{o@n1eeM.@s99WV)9"> <field name="OP">LTE</field> <value name="A"> <block type="get_value" id="0$_7YL_;}ZaIVO44@y1V"> <field name="ATTR">val</field> <field name="OID">zigbee.0.00158d0004512481.no_motion</field> </block> </value> <value name="B"> <block type="math_number" id="wwN@zr6]3L$:O?@57P:-"> <field name="NUM">120</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="?}XYwl[Pfml@Arc8Kno8"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="=u;Di;v*?-2=AUMWtuC!"> <field name="ATTR">val</field> <field name="OID">javascript.0.Nachtcheck</field> </block> </value> <value name="B"> <block type="logic_boolean" id="M+YO+;s+6{^l#CldeY;E"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="comment" id="BjWH(WH-u0]oQ6wdz]]M"> <field name="COMMENT">Unten links</field> <next> <block type="control" id=")Y?z!NDZ56z+T*umX)};"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Smart-Home-Devices.b3535e91-aead-44a1-8b17-2c8b1c1c2d4b.brightness</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="P4Y}:T8{{Jzm(=UP=yvM"> <field name="NUM">10</field> </block> </value> <next> <block type="comment" id="m}xQ~/g/fiW7R~.-S.-`"> <field name="COMMENT">Unten rechts</field> <next> <block type="control" id="l5V@B1115be9[hh#aAQN"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Smart-Home-Devices.f31f759c-1d77-48fd-be97-dce756a82609.brightness</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="*qdDM9S_8YpE8SovdD.+"> <field name="NUM">10</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> <block type="controls_if" id="1u;6?xx+*7ce?^vQyX!}" x="63" y="2213"> <value name="IF0"> <block type="logic_operation" id="GHp#nB*Qn_waDZ~pq5,;" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_negate" id="I1S,f^U+X:;/i|84V.5@"> <value name="BOOL"> <block type="variables_get" id="IR6:+mDC9/!=EL;OYTgK"> <field name="VAR" id="sQQhM6(ocGqUgVaj;U/f">Taster links</field> </block> </value> </block> </value> <value name="B"> <block type="logic_negate" id="Vq,:Myb??m%DDC!iCS_j"> <value name="BOOL"> <block type="variables_get" id="97]=Q`EO]||ZmLBs`_uU"> <field name="VAR" id="3t=Qb]Fgt~!a8nbX30:r">Taster rechts</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="comment" id="3$lyhmL]+FT=Sz+!A.V%"> <field name="COMMENT">Unterschrank ausschalten</field> <next> <block type="controls_if" id="3lIs-RiJ/.xDpmX5|3@_"> <value name="IF0"> <block type="logic_operation" id="[|^K8q/D9u.xHapy^p]H" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="m`H]/fu(mlsf$sy-F|iZ"> <field name="OP">GT</field> <value name="A"> <block type="get_value" id="DbLFb?vO1~1TVO2M1{]O"> <field name="ATTR">val</field> <field name="OID">zigbee.0.00158d0004512481.no_motion</field> </block> </value> <value name="B"> <block type="math_number" id=";%:mgwI]|^:nkJP,/?U:"> <field name="NUM">120</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="EcbU8@.N=|v`e?I=IPns"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="#HM*%|!JF(VB{oG]@[Ku"> <field name="ATTR">val</field> <field name="OID">javascript.0.Nachtcheck</field> </block> </value> <value name="B"> <block type="logic_boolean" id="Sqr,4+G~_)OP9T4QY]Y5"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="comment" id="}2otntyv:zpHHOMXE3LI"> <field name="COMMENT">Unten links</field> <next> <block type="control" id="!T3N:q1rhE^mId=ZaWaX"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Smart-Home-Devices.b3535e91-aead-44a1-8b17-2c8b1c1c2d4b.powerState</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="IIz%a|Oz!@yjW$2w,-vX"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="comment" id="9j37y*#Uw#^u4ihUuCE?"> <field name="COMMENT">Unten rechts</field> <next> <block type="control" id="]EbnCc7}}p(,k,dBU?z}"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Smart-Home-Devices.f31f759c-1d77-48fd-be97-dce756a82609.powerState</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="M7TKmcAq~,j8]~IHp^y%"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="comment" id="x%(`JI1@5Xm^TS%qa!Tm"> <field name="COMMENT">Unterschrank einschalten</field> <next> <block type="controls_if" id="!gsGCagI}vy/Q1iwmTdO"> <value name="IF0"> <block type="logic_operation" id="g*05sWKl3~Hg(ob^Q,E%" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="K5$uTjXcsltoHmtT`H?z"> <field name="OP">LTE</field> <value name="A"> <block type="get_value" id="*gOa^iv97#$c~S:uV;mn"> <field name="ATTR">val</field> <field name="OID">zigbee.0.00158d0004512481.no_motion</field> </block> </value> <value name="B"> <block type="math_number" id="ETC:HeXEIXJQ=b:2)b=Q"> <field name="NUM">120</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="u^qB%UldesAQ@4^%2Rfn"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="sPWPV1Psz=@1SASZcWJ9"> <field name="ATTR">val</field> <field name="OID">javascript.0.Nachtcheck</field> </block> </value> <value name="B"> <block type="logic_boolean" id="9^Oi?](U8y,sO@QyulTA"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="comment" id="GVf*A,+uaW/|(Bhe_@kK"> <field name="COMMENT">Unten links</field> <next> <block type="control" id="6a@~SGkSwChj{_!qkSa?"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Smart-Home-Devices.b3535e91-aead-44a1-8b17-2c8b1c1c2d4b.brightness</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="_4$6N$1QBE#rBaTr*LI]"> <field name="NUM">10</field> </block> </value> <next> <block type="comment" id="w;HvP1,.{19|IyYmg!uX"> <field name="COMMENT">Unten rechts</field> <next> <block type="control" id="RoaY$B=zRXcmwaHtjvi9"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Smart-Home-Devices.f31f759c-1d77-48fd-be97-dce756a82609.brightness</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="!v;H)`bus}.8JHOy[X|}"> <field name="NUM">10</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </xml>
  • [gelöst] Verzögerung funktioniert nicht richtig

    13
    1
    0 Votes
    13 Posts
    489 Views
    M
    @paul53 Ja ist der vollständige code. timeout3 und 4 waren nur in einem deaktiviertem Block in Verwendung. Ich habe jetzt diesen Block gelöscht. Dann sind diese Variablen verschwunden und jetzt funktioniert es. Danke! Darf das sein, dass ein deaktivierter Block diese Auswirkung hat?
  • Steckdosen Status Blockly Script

    blockly
    3
    0 Votes
    3 Posts
    389 Views
    Sebastian 0S
    @paul53 wie einfach..... -.- ich danke dir vielmals!!
  • [gelöst] Werte in Datenpkt vergleichen funktioniert nicht

    8
    1
    0 Votes
    8 Posts
    387 Views
    S
    @Homoran[image: 1602951210948-loesung.jpg] Anfängerfehler... Vielen Dank! Das ist die Lösung!
  • Rollosteuerung an bestimmten Tag wechseln

    blockly
    2
    1
    0 Votes
    2 Posts
    176 Views
    liv-in-skyL
    @Idefix01 vorraussetzung: die normale steuerung sollte uns da nicht im weg sein, weil sie ja normalerweise nach 16:00 runterfährt und schon unten ist und am nächsten morgen wieder hochfährt, wenn es eh schon oben ist - ich nehme an, du hast solche festen zeiten für die rollosteuerung - eigentlich sollte auch das öffnen am 1.1 nicht nötig sein, weil deine hauptsteuerung das eh machen wird. also reicht es, dass rollo zu steuern - zu einer bestimmten zeit [image: 1602874863046-image-4.png] Spoiler <block xmlns="https://developers.google.com/blockly/xml" type="schedule" id=")s5Aiz)VzW$EMcnR/@VN" x="-862.6227416992188" y="62.094238281249886"> <field name="SCHEDULE">0 6 1 1 *</field> <statement name="STATEMENT"> <block type="control" id="W:HghlKn+Z:zhmzA*A]0"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">Object ID</field> <field name="WITH_DELAY">FALSE</field> </block> </statement> </block> Spoiler <block xmlns="https://developers.google.com/blockly/xml" type="schedule" id="[1@CYoE.@qX/5@a:bZt%" x="-862.9246215820312" y="-135.79244995117188"> <field name="SCHEDULE">0 16 31 12 *</field> <statement name="STATEMENT"> <block type="control" id="xGg-H$(*2xV`,tO0RnNP"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">Object ID</field> <field name="WITH_DELAY">FALSE</field> </block> </statement> </block> wenn du in diesem blockly auf edit im schedule gehst- mußt du das [image: 1602875100738-image-5.png] auswählen um es für testzwecke zu ändern

418

Online

32.7k

Users

82.5k

Topics

1.3m

Posts