Skip to content

Blockly

Hilfe für Skripterstellung mit Blockly

6.5k Themen 79.3k Beiträge

NEWS

  • Blockly MQTT publish

    1
    0 Stimmen
    1 Beiträge
    291 Aufrufe
    Niemand hat geantwortet
  • Mähroboter ab 8 Grad auf Auto schalten

    3
    1
    0 Stimmen
    3 Beiträge
    389 Aufrufe
    braindeadB
    @slkschlumpf Es löst zwr nicht Dein Problem, aber seit ein paar Tagen gibt es einen Robonect Adapter im stable Repository. :-)
  • View Steuern mit Alexa und BlockyScript

    2
    2
    0 Stimmen
    2 Beiträge
    240 Aufrufe
    K
    Hallo zusammen So nach langem probieren habe ich es jetzt wie folgt gelöst [image: 1585410617796-blocky-2.jpg] so funktioniert es. Wenn ich zu Alexa sage, wechsle auf Status, springt Objekt Status kurz auf on(true) und wieder zurück auf off(false). dieser kurze Impuls reicht um den Viewwechsel zu starten. Nach Ende des 2. Timers springt der View wieder zurück zum InfoView. Ohne den ersten Timer funktioniert das ganze nicht, keine Ahnung warum. Vielleicht kann man das ganze auch besser lösen. Wer Ideen hat immer her damit !! Volker
  • Sensor Wert ändert sich, wie allgemein abfragen.

    7
    1
    0 Stimmen
    7 Beiträge
    461 Aufrufe
    P
    Gefunden. Vielen vielen Dank.
  • Blockly um Markise bei böigem Wind einzufahren

    climate
    26
    1
    0 Stimmen
    26 Beiträge
    2k Aufrufe
    M
    Danke. Ich werde es mir bei Gelegenheit mal genauer durchsehen. Ich habe dir mein Script reingestellt zum Ideen finden. Vielleicht kannst du ja was brauchen davon. <xml xmlns="http://www.w3.org/1999/xhtml"> <variables> <variable type="" id="3a1`m3IlPX7vd^}vmI_w">Markise_gerüttelt</variable> <variable type="undefined" id="timeout5">timeout5</variable> <variable type="undefined" id="timeout">timeout</variable> <variable type="undefined" id="timeout6">timeout6</variable> </variables> <block type="procedures_defcustomnoreturn" id="hRFi]gk.@aHwft^Hu*Jq" x="-1137" y="-163"> <mutation statements="false"></mutation> <field name="NAME">Ruetteln</field> <field name="SCRIPT">dmFyIHF1ZXVlID0gW107DQp2YXIgdGltZW91dCA9IDEwOyAvLyBnZXf8bnNjaHRlciBaZWl0cmF1bSBpbiBNaW51dGVuDQp2YXIgbnVtYmVyT2ZFdmVudHMgPSA0OyAvLyBBbnphaGwgZGVyIG5vdHdlbmRpZ2VuIEV2ZW50cyBpbm5lcmhhbGIgZGVzIFplaXRyYXVtcw0KICANCiBvbiAoe2lkOidkZWNvbnouMC5TZW5zb3JzLjE4LmJ1dHRvbmV2ZW50J30sIGZ1bmN0aW9uKG9iaikgew0KICAgICBpZiAocXVldWUubGVuZ3RoID4gbnVtYmVyT2ZFdmVudHMgLSAyKSB7IA0KICAgICAgICAgY29uc29sZS5sb2coIChxdWV1ZS5sZW5ndGgrMSkgKyAgIiBldmVudHMgdHJpZ2dlcmVkIHdpdGhpbiAiICsgdGltZW91dCArICIgbWludXRlcyIpOyANCiAgICAgICAgIHNldFN0YXRlKCdyZmxpbmsuMC5jaGFubmVscy5CcmVsTW90b3JfMS5CTElORF80MV9aVScsIHRydWUpOyAvLyBIaWVyIGRhcyBha3RpdmllcmVuIHdhcyBuYWNoIDE1IG1pbnV0ZW4gYWt0aXZpZXJ0IHdlcmRlbiBzb2xsIA0KICAgICAgICAgd2hpbGUgKHF1ZXVlLmxlbmd0aCA+IDApIHsgDQogICAgICAgICAgICAgbGV0IHYgPSBxdWV1ZS5zaGlmdCgpDQogICAgICAgICAgICAgaWYgKHYpIGNsZWFyVGltZW91dCh2KQ0KICAgICAgICAgfQ0KICAgICB9IGVsc2Ugew0KICAgICAgICAgcXVldWUucHVzaChzZXRUaW1lb3V0KGZ1bmN0aW9uKCkgew0KICAgICAgICAgICAgIGNvbnNvbGUubG9nKCJFdmVudCB0aW1lZCBvdXQiKTsNCiAgICAgICAgICAgICBpZiAocXVldWUubGVuZ3RoID4gMCkgeyANCiAgICAgICAgICAgICAgICAgcXVldWUuc2hpZnQoKTsNCiAgICAgICAgICAgICB9DQogICAgICAgICB9LCB0aW1lb3V0ICogNjAgKiAxMDAwKSk7IA0KICAgICB9DQogfSk=</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> </block> <block type="procedures_callcustomnoreturn" id="ZL.Zur7@;Bgw`JUyo.?T" x="-1138" y="-112"> <mutation name="Ruetteln"></mutation> <next> <block type="on_ext" id="0.Tcg.|FVV@zWgm#c9X`"> <mutation items="2"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="9N:~4[Ubr[Pfw%7Tajp]"> <field name="oid">javascript.0.Regen</field> </shadow> </value> <value name="OID1"> <shadow type="field_oid" id=".ajiR}(6tHBbQsIR2cq5"> <field name="oid">javascript.0.Wind</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="6z?G6LOhk.*pUJ[3nBly"> <mutation elseif="2"></mutation> <value name="IF0"> <block type="logic_operation" id="(^1Ymf._%Znb7+8yh+e}" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="o@j/1V#|3=UD.RzQXy^b"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="{7Is|D.,kxItJ_bK:XS}"> <field name="ATTR">val</field> <field name="OID">javascript.0.Regen</field> </block> </value> <value name="B"> <block type="text" id="hKsfoH1S)-VE8mUk}s9E"> <field name="TEXT">Regen</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="4/hM(L{NMd6TUa:_oO)1" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="[I!RCLgq27z`GOQKN-8["> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id=",n5QXns_$w,sa}}i6e$("> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.21.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="Oo3h2.:iXpn$w1%;s1ja"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="ki;!+lpo8Z%3.)h:?8=^" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="D4d68?Vx/rhKiu=RH6n`"> <field name="OP">GTE</field> <value name="A"> <block type="get_value" id="+3z-hA/P9(n};MdDWMJH"> <field name="ATTR">val</field> <field name="OID">netatmo.0.Kinkplatz-7.Außen.Temperature.Temperature</field> </block> </value> <value name="B"> <block type="math_number" id="n/lkMN7/!tkF%Ry-6`]7"> <field name="NUM">5</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="@;R+{CH%164IpZk,-l87" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="(A3y`_W-W*i/v7t4Q:$s"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="sz9Fr?~Hu1{~tt+1}BeI"> <field name="ATTR">val</field> <field name="OID">javascript.0.Markise_Wind</field> </block> </value> <value name="B"> <block type="text" id="D7!WGC|M`uTVf|jUoZ~l"> <field name="TEXT">AUS</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="vC@MihwAw,(/5Nq|DN7v" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="q{}FDHOXk|3qg60S7d~f"> <field name="OP">NEQ</field> <value name="A"> <block type="get_value" id="+4ri0UBGpu}1+(exICSj"> <field name="ATTR">val</field> <field name="OID">javascript.0.Wind</field> </block> </value> <value name="B"> <block type="text" id="Y2AjZ@=8MJbx=sIv0Rm_"> <field name="TEXT">Starke Böen</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="RNF8VD{yF=)-%..O5-qf" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="M]zGFJ~jOMLQ.sWW}mg`"> <field name="OP">NEQ</field> <value name="A"> <block type="get_value" id="P+Y*9l?x4GpKi@}S,nBq"> <field name="ATTR">val</field> <field name="OID">javascript.0.Wind</field> </block> </value> <value name="B"> <block type="text" id="ftGXEWyPNVi2w7d%PUJK"> <field name="TEXT">Sehr Starke Böen</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="^+7cfB.05UZy?S7qBY-J"> <field name="OP">NEQ</field> <value name="A"> <block type="get_value" id="~k1rje:OK5kWARp+TvJ9"> <field name="ATTR">val</field> <field name="OID">javascript.0.Wind</field> </block> </value> <value name="B"> <block type="text" id="S,O;v~wt+ID1A{{u5CR4"> <field name="TEXT">Orkanartige Böen</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="debug" id="evR6;qbbpSq!K:=HaW=a"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="rvN[W;|.wLrZ9+2+Kwm4"> <field name="TEXT">**** Markise Befehl AUF wegen Regen</field> </shadow> </value> <next> <block type="control" id="9eVeOvIx*^mu7FX9l:Ih"> <mutation delay_input="false"></mutation> <field name="OID">rflink.0.channels.BrelMotor_1.BLIND_41_ZU</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="T%@e:2VLI1e^5-;/i1aE"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="pushover" id="dk+;sf!F#v=T%QG`5Owe"> <field name="INSTANCE"></field> <field name="SOUND"></field> <field name="PRIORITY">0</field> <field name="LOG"></field> <value name="MESSAGE"> <shadow type="text" id="DF^T~b1^Sz0^FcKf-H(,"> <field name="TEXT">Fahre Markise AUF wegen Regen</field> </shadow> </value> <next> <block type="timeouts_settimeout" id="v%v:,D.3=7^Gn809EP*u"> <field name="NAME">timeout6</field> <field name="DELAY">12</field> <field name="UNIT">sec</field> <statement name="STATEMENT"> <block type="debug" id="p?GR_sb+4{[{JRG.^gDt"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="[U0gC{2Bxz:{fI-PS:,g"> <field name="TEXT">**** Markise STOP &gt;&gt; Markise in Regenposition</field> </shadow> </value> <next> <block type="control" id=":0uH8t`QZ]h~7ZZw^[=%"> <mutation delay_input="false"></mutation> <field name="OID">rflink.0.channels.BrelMotor_1.BLIND_STOP_41</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="|SZS~w#$=:|/Y4(e|g::"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="pushover" id="7RZ@#@)*smS(;ihcghX@"> <field name="INSTANCE"></field> <field name="SOUND"></field> <field name="PRIORITY">0</field> <field name="LOG"></field> <value name="MESSAGE"> <shadow type="text" id="-X[.JGV-lrb$7(JeNv,x"> <field name="TEXT">**** Markise STOP &gt;&gt; Markise in Regenposition</field> </shadow> </value> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_operation" id="6,k#G*#QKqZn:smd*J,D" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="6Pried.6yxt@!y57~bMA"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="w%Ks_k!Rb0%.m5Op`$+r"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.21.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="F+f`/HBddbGXLtuD*XPX"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="85j@T+LZ@9dr59_keRkx" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="_y7:iX^qeT@g:2O@Wb_t"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="k[9@#fCZmkcL|~[6TqSq"> <field name="ATTR">val</field> <field name="OID">javascript.0.Wind</field> </block> </value> <value name="B"> <block type="text" id="b?D2lygCDBuh#]tvAZ@z"> <field name="TEXT">Starke Böen</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="5NoMw6pM`J#bN}kFttuL" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="PxSzz1M3pJFN`@w/(VpE"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="_[~IYV]CJiU5[k/KVTXE"> <field name="ATTR">val</field> <field name="OID">javascript.0.Wind</field> </block> </value> <value name="B"> <block type="text" id="X=/S6K98A_wNy1H`vbYb"> <field name="TEXT">Sehr Starke Böen</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="0C;*!?)LxJ,cBZ:QcyZ*"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="m/mqWsv_oY?k`f}|E[%J"> <field name="ATTR">val</field> <field name="OID">javascript.0.Wind</field> </block> </value> <value name="B"> <block type="text" id="P0Y7ue[D[wP@`@nAp#sZ"> <field name="TEXT">Orkanartige Böen</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="debug" id="tqu*jm0w;@B:-F~}e)0@"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id=",r2*n,X=)uZ?n|kPj3^y"> <field name="TEXT">**** Markise ZU &gt;&gt; wegen Wind</field> </shadow> </value> <next> <block type="timeouts_cleartimeout" id="o,4L_*c4%9)xE%,B]FD["> <field name="NAME">timeout5</field> <next> <block type="control" id="]1y-i6Wrj)M!jyio6_1."> <mutation delay_input="false"></mutation> <field name="OID">rflink.0.channels.BrelMotor_1.BLIND_41_ZU</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="3DNqAs{stNg9!r%DyB{N"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="update" id="?kg}qPbl8k:t~yt(!X5n"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.Markise_Wind</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="Q2hQcd}m6b?{KFeR9d;E"> <field name="TEXT">EIN</field> </block> </value> <next> <block type="pushover" id="=XYJgf]vHbxc4qkpHB6R"> <field name="INSTANCE"></field> <field name="SOUND"></field> <field name="PRIORITY">0</field> <field name="LOG"></field> <value name="MESSAGE"> <shadow type="text" id="}[BTY~s/MIfjAbuJ6$Mb"> <field name="TEXT">Fahre Markise ZU wegen Wind</field> </shadow> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> <value name="IF2"> <block type="logic_operation" id="u~W@lR9*-J7QFXLi^(O[" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="B/I@YB.**3y]!8zj_#GP"> <field name="OP">NEQ</field> <value name="A"> <block type="get_value" id="v/X5hSN7^xVsW5sPCfE_"> <field name="ATTR">val</field> <field name="OID">javascript.0.Wind</field> </block> </value> <value name="B"> <block type="text" id="8N@LQ#q9[6qtM7thrU4V"> <field name="TEXT">Sehr Starke Böen</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id=",WeyYO:HokA-ENNgFfQJ"> <field name="OP">NEQ</field> <value name="A"> <block type="get_value" id="c7%`zs%fx2to=K8?,1!G"> <field name="ATTR">val</field> <field name="OID">javascript.0.Wind</field> </block> </value> <value name="B"> <block type="text" id=".^YJMg^_1gSAdea{Zx=+"> <field name="TEXT">Orkanartige Böen</field> </block> </value> </block> </value> </block> </value> <statement name="DO2"> <block type="timeouts_cleartimeout" id="2]Z$F;B%qU=y3qn{I-jx"> <field name="NAME">timeout5</field> <next> <block type="timeouts_settimeout" id="jl-~Fg{uWC5pj4]$YFB}"> <field name="NAME">timeout5</field> <field name="DELAY">180</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="update" id="gt8nyDW$$#^l_Rj5y^SA"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.Markise_Wind</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="!8/hb2Fz?o.gV`{?4tOs"> <field name="TEXT">AUS</field> </block> </value> </block> </statement> </block> </next> </block> </statement> </block> </statement> <next> <block type="on_ext" id="tG@xhjm93L?(yl+p`w:o"> <mutation items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="|hMFMZ-U5_`qPH5kK!]E"> <field name="oid">javascript.0.Regen_3</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="yt}1P8Nk]T{t~1yaHsgt"> <value name="IF0"> <block type="logic_operation" id="BT8qPv{Ea9R6LVu`(a`(" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="|keIX$n`G_8{|e1nj.Px"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="#j#3$Wq5l*KjPCwO!UQW"> <field name="ATTR">val</field> <field name="OID">javascript.0.Regen_3</field> </block> </value> <value name="B"> <block type="text" id="_F4(gRvf+7,RLy5obY9*"> <field name="TEXT">Kein Regen</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="k.9j{w51D3ztXpe.!fIm" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="@zeqL5_,th{%T026~wDQ"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="CE?~4EjS/N[:thSb+;N^"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.21.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="JcMlT9[T5qu30D?5,-m)"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id=")GM7v#`Ee])KPm(3JSq-"> <field name="OP">LT</field> <value name="A"> <block type="get_value" id="R]SUHiP@QeE`[}HJfu3g"> <field name="ATTR">val</field> <field name="OID">netatmo.0.Kinkplatz-7.Außen.Temperature.Temperature</field> </block> </value> <value name="B"> <block type="math_number" id="XO}yNTrVU0+LxqKt.~e!"> <field name="NUM">15</field> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="debug" id="Q7YyCy@zm=P?XCkiB7/p"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="Bk$%7#qWmVh`F.e)j~*5"> <field name="TEXT">**** Markise ZU &gt;&gt; Temperatur &lt; 15 Grad und mehr als 3 Stunden kein Regen</field> </shadow> </value> <next> <block type="control" id="vlx4O(m+/,!*Kv1EKg[g"> <mutation delay_input="false"></mutation> <field name="OID">rflink.0.channels.BrelMotor_1.BLIND_41_ZU</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="K?;4nHQ~Z|4A`Ui^h(SA"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="pushover" id="O6zA(I~Ga5jXaYbq:enZ"> <field name="INSTANCE"></field> <field name="SOUND"></field> <field name="PRIORITY">0</field> <field name="LOG"></field> <value name="MESSAGE"> <shadow type="text" id=":6+=A-EyGPp![6hL;Ofx"> <field name="TEXT">Markise ZU &gt;&gt; Temperatur &lt; 15 Grad und mehr als 3 Stunden kein Regen</field> </shadow> </value> </block> </next> </block> </next> </block> </statement> </block> </statement> <next> <block type="on_ext" id="cbRy@?-$2iCLkk9GCjBF"> <mutation items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="E#kBK-?}e,xf!=}e1X,X"> <field name="oid">netatmo.0.Kinkplatz-7.Außen.Temperature.Temperature</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="+8H^krGjwF=A7a$|+wMN"> <value name="IF0"> <block type="logic_operation" id="BKyEH/H6_5KwC{}~9%/E" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="3O%vh7,p.9-BMrw}/oz^"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="!)+1#@veGnQtl4rAVZ5t"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.21.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="7|lj8u;E}!0Y6D5VbY}A"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="TTeqh)H1gcj59]WQ~2Q~"> <field name="OP">LTE</field> <value name="A"> <block type="get_value" id="q|9jsV?#%DV0/IQ[0$#C"> <field name="ATTR">val</field> <field name="OID">netatmo.0.Kinkplatz-7.Außen.Temperature.Temperature</field> </block> </value> <value name="B"> <block type="math_number" id="0p2OEe/7W![0g,?;{C7M"> <field name="NUM">3</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="debug" id="4bu]TME5QmzPP;Im_^t1"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="RwM7!oni^?^}jnzJc^zB"> <field name="TEXT">**** Markise ZU &gt;&gt; Temperatur &lt; 3 Grad</field> </shadow> </value> <next> <block type="control" id="6b]PX#9p}-v|[?NK!*[J"> <mutation delay_input="false"></mutation> <field name="OID">rflink.0.channels.BrelMotor_1.BLIND_41_ZU</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="w]+hG$b0Mol2`jJy]ie_"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="pushover" id="Qh1tMl+y=o=n]#IsHK#;"> <field name="INSTANCE"></field> <field name="SOUND"></field> <field name="PRIORITY">0</field> <field name="LOG"></field> <value name="MESSAGE"> <shadow type="text" id="Fa;tXBkS1UXKZVdcW#%w"> <field name="TEXT">Markise ZU &gt;&gt; Temperatur &lt; 3 Grad</field> </shadow> </value> </block> </next> </block> </next> </block> </statement> </block> </statement> <next> <block type="astro" id="2f)!2,g{8lU_o{c+oCAo"> <field name="TYPE">goldenHourEnd</field> <field name="OFFSET">0</field> <statement name="STATEMENT"> <block type="controls_if" id="7opw.jji4^*XGls_iG(?"> <value name="IF0"> <block type="logic_operation" id="h|LzT=f=C)IuQrlOL+U." inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="Xmgg5$]b[-}=-ynv7^v]"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="Tl$AVAA,?s.HrRv)nado"> <field name="ATTR">val</field> <field name="OID">javascript.0.Regen_3</field> </block> </value> <value name="B"> <block type="text" id="jkjgh.3tx]n/1{0Ex+TJ"> <field name="TEXT">Kein Regen</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="qDbwB(C#^-[QQ_i9AILx"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="_5QO*n+r#p7Z),MKTx.G"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.21.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="qm$)N5!}0=7xL0gplRKE"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="debug" id="=eNPKu@NtqE~SYOZnm5P"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="/V`^2eQ]La6r6-`Kdmz$"> <field name="TEXT">**** Markise ZU &gt;&gt; "Golden Hour Ende" und mehr als 3 Stunden kein Regen</field> </shadow> </value> <next> <block type="control" id="b3V1F6fhOW,YsQ*DKz@`"> <mutation delay_input="false"></mutation> <field name="OID">rflink.0.channels.BrelMotor_1.BLIND_41_ZU</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="[eJq$7zTWov1r4S0D|so"> <field name="BOOL">TRUE</field> </block> </value> </block> </next> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> <block type="variables_set" id="2a{=ur,FJZ*U@D!a7MoZ" disabled="true" x="-362" y="288"> <field name="VAR" id="3a1`m3IlPX7vd^}vmI_w" variabletype="">Markise_gerüttelt</field> <value name="VALUE"> <block type="math_number" id="9_gD.uY@zYccq_bM1`vH"> <field name="NUM">0</field> </block> </value> <next> <block type="update" id="HK=qb.qk3TfK8^U.Y(75" disabled="true"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.Markise_Gerüttelt</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="?g1[e7t)9,mY$MzN8(4Q"> <field name="VAR" id="3a1`m3IlPX7vd^}vmI_w" variabletype="">Markise_gerüttelt</field> </block> </value> <next> <block type="on_ext" id="j:$M:XhHR-mx%)0{l.=i" disabled="true"> <mutation items="1"></mutation> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="r.m35@a+5n[a-@JakF_m"> <field name="oid">deconz.0.Sensors.18.buttonevent</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="KWL7/a`Vff*;1_,Uitp5"> <value name="IF0"> <block type="logic_compare" id="g}W#PYUv/35pBu,GKbuh"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="yzs)Dg^S4URI^7O4-/MG"> <field name="ATTR">val</field> <field name="OID">javascript.0.Markise_Gerüttelt</field> </block> </value> <value name="B"> <block type="math_number" id="XB[!%xDiubzZapg!!c/s"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_settimeout" id="L{A04zr$*g{xkt;yS)|D"> <field name="NAME">timeout</field> <field name="DELAY">15</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="variables_set" id="+kC#;/6P%8]gZMcHMIH@"> <field name="VAR" id="3a1`m3IlPX7vd^}vmI_w" variabletype="">Markise_gerüttelt</field> <value name="VALUE"> <block type="math_number" id="=4r%JGxwhurR7:yfHdYm"> <field name="NUM">0</field> </block> </value> <next> <block type="update" id="rCDI%Z7;S5X+(zq6KULh"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.Markise_Gerüttelt</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="@o.;oRgRBhMKiR3h;v$K"> <field name="VAR" id="3a1`m3IlPX7vd^}vmI_w" variabletype="">Markise_gerüttelt</field> </block> </value> <next> <block type="debug" id="@W%M@)o_b#udo`/U+U[d"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="DQF;w#!^_=!TIC7H_,!e"> <field name="TEXT">test</field> </shadow> <block type="text_join" id="7{9$Uu(7-b1=WT$NQV0e"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id=".1.BzYWDR~,1O@*aonyY"> <field name="TEXT">*** Rüttelsensor Timeout Reset = </field> </block> </value> <value name="ADD1"> <block type="variables_get" id="i_oq*[zSLbTtLgiv%K#K"> <field name="VAR" id="3a1`m3IlPX7vd^}vmI_w" variabletype="">Markise_gerüttelt</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </statement> <next> <block type="math_change" id="M`FN6onNz9_gS8|*-#{,"> <field name="VAR" id="3a1`m3IlPX7vd^}vmI_w" variabletype="">Markise_gerüttelt</field> <value name="DELTA"> <shadow type="math_number" id="wG^^)RK]Dh+|^~|vF5So"> <field name="NUM">1</field> </shadow> </value> <next> <block type="update" id=".Qwf1fzin9]1k|HtQM3G"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.Markise_Gerüttelt</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="c2|.s^GDsZiDa`PzA);r"> <field name="VAR" id="3a1`m3IlPX7vd^}vmI_w" variabletype="">Markise_gerüttelt</field> </block> </value> <next> <block type="debug" id="-Z(ubpvsKy0W2YXJFHgo"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="s(NU#,z!NUkCJ_(*15uc"> <field name="TEXT">test</field> </shadow> <block type="text_join" id=",Cuo!0xiL3[?jfLz1#UC"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="J_]4cQA(D:mdZ!KDY*lt"> <field name="TEXT">*** Rüttelsensor = </field> </block> </value> <value name="ADD1"> <block type="variables_get" id="JPn6}k|4s!@,gvrV{Ft*"> <field name="VAR" id="3a1`m3IlPX7vd^}vmI_w" variabletype="">Markise_gerüttelt</field> </block> </value> </block> </value> <next> <block type="controls_if" id="L87a5!C0{gJD*%*$lmYy"> <value name="IF0"> <block type="logic_operation" id="`*n_XfqXMXSGJ31HNi#{" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="=Q?d2ThhO!BDYI@@|sM3"> <field name="OP">GTE</field> <value name="A"> <block type="get_value" id="O$aDBjbqp!%nHp_KJ/^k"> <field name="ATTR">val</field> <field name="OID">javascript.0.Markise_Gerüttelt</field> </block> </value> <value name="B"> <block type="math_number" id="H{t[F!e~T.GzSL}-c~5Q"> <field name="NUM">6</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="=^@?I`B=A)^)8i+0%%La"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="SmX6CXCy*_XL_nbv[qe}"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.21.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="{5d$Lfu3Kf2EbvD(p9}b"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="Ip`CPM-LG:VN5]hcQe+P"> <mutation delay_input="false"></mutation> <field name="OID">rflink.0.channels.BrelMotor_1.BLIND_41_ZU</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="}W3fo5]~cJOMwJYyDW$c"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="pushover" id="I,#KRm.i4xBgkq*q.s)%"> <field name="INSTANCE"></field> <field name="SOUND"></field> <field name="PRIORITY">0</field> <field name="LOG"></field> <value name="MESSAGE"> <shadow type="text" id="?R8*!cIRh:*.+I7fEvK;"> <field name="TEXT">Markise ZU wegen mehrfachen Rütteln</field> </shadow> </value> <next> <block type="timeouts_cleartimeout" id="Tw=xkgG2ZcKdM+Hs|MOr"> <field name="NAME">timeout</field> <next> <block type="debug" id="qt?$JFxH[:g{j}?O|]Zv"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="ntk5Uy]#jHqSS^gKP7D="> <field name="TEXT">*** Stop Timeout Markise</field> </shadow> </value> <next> <block type="variables_set" id="5R;o?s@:lk?N`][#BMZ|"> <field name="VAR" id="3a1`m3IlPX7vd^}vmI_w" variabletype="">Markise_gerüttelt</field> <value name="VALUE"> <block type="math_number" id="hO.e1{^SqMY/b04`GjqF"> <field name="NUM">0</field> </block> </value> <next> <block type="update" id="u1QZ|J9#_Lc$D^5|]lN="> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.Markise_Gerüttelt</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="K9!@7B7Oh%268Iu2qD:v"> <field name="VAR" id="3a1`m3IlPX7vd^}vmI_w" variabletype="">Markise_gerüttelt</field> </block> </value> <next> <block type="debug" id="KV|jIp^MAGB~:JYTgiv]"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="DQF;w#!^_=!TIC7H_,!e"> <field name="TEXT">test</field> </shadow> <block type="text_join" id="u!5w}--DsJ}D.^*8_53a"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="f^WtA*U9#+t[~QnFH]Vd"> <field name="TEXT">*** Rüttelsensor Reset weil zugemacht = </field> </block> </value> <value name="ADD1"> <block type="variables_get" id="7#RW1j^6`QD`Hcs~CZw?"> <field name="VAR" id="3a1`m3IlPX7vd^}vmI_w" variabletype="">Markise_gerüttelt</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </xml>
  • Abbrechbare Verzögerung mit wählbarer Dauer?

    blockly
    7
    0 Stimmen
    7 Beiträge
    668 Aufrufe
    ELKE
    Danke sehr!
  • Lampen Status abfragen mit Alexa

    20
    1
    0 Stimmen
    20 Beiträge
    2k Aufrufe
    dslraserD
    @Flopsi vielleicht so... [image: 1585334410710-bildschirmfoto-2020-03-27-um-19.39.36.png] Spoiler <xml xmlns="http://www.w3.org/1999/xhtml"> <variables> <variable type="" id="4zKTWd7Lg(g)K%1*f34p">Ansage</variable> </variables> <block type="on" id="#bZkN$jIVqU+,OcI.7%j" x="13" y="638"> <field name="OID">javascript.0.Eigene_Datenpunkte.Schalter</field> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="controls_if" id="Zd6NtGx,f!0TLfTlImip"> <value name="IF0"> <block type="on_source" id="4gthyV9RP1{Pryl[@p(f"> <field name="ATTR">state.val</field> </block> </value> <statement name="DO0"> <block type="variables_set" id="|IQSj]zc1V;iptR)Ft8]"> <field name="VAR" id="4zKTWd7Lg(g)K%1*f34p" variabletype="">Ansage</field> <value name="VALUE"> <block type="text_join" id="0]=GpNyBkr3`FpbEencY"> <mutation items="4"></mutation> <value name="ADD0"> <block type="text" id="IPKVJZ~3-MN:Bm,iD4_a"> <field name="TEXT">Aktuell ist,</field> </block> </value> <value name="ADD1"> <block type="logic_ternary" id="Y)2)amO+z915uln.f[%:"> <value name="IF"> <block type="get_value" id="jk83[/k.1_Kv7(KF]JCC"> <field name="ATTR">val</field> <field name="OID">ham.0.Licht-Flur.Licht-Flur.On</field> </block> </value> <value name="THEN"> <block type="text" id="7wz|G@]R$+SKM1|hf;~n"> <field name="TEXT">Das Licht im Flur an, </field> </block> </value> <value name="ELSE"> <block type="text" id="fHTq3XWC?kj:vSDv7Yu2"> <field name="TEXT"></field> </block> </value> </block> </value> <value name="ADD2"> <block type="logic_ternary" id="U-]crf*fkM4tkpfTKm_1"> <value name="IF"> <block type="get_value" id="g2^f.JcE;CiyK0s8p.DO"> <field name="ATTR">val</field> <field name="OID">ham.0.Schrankbeleuchtung.Schrankbeleuchtung.On</field> </block> </value> <value name="THEN"> <block type="text" id="#.gOVo:PtB6{YunIFdQ/"> <field name="TEXT">Das Licht im Wohnzimmer an, </field> </block> </value> <value name="ELSE"> <block type="text" id="2Uu0m]*7U[(ma:V/f;e0"> <field name="TEXT"></field> </block> </value> </block> </value> <value name="ADD3"> <block type="logic_ternary" id="Z5Kk^1qft%y3~dQXt{?D"> <value name="IF"> <block type="logic_operation" id="34Z?=2U;LL),i83+~th2" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="get_value" id="UT]S-8DGxzT,e)zZ*ZM8"> <field name="ATTR">val</field> <field name="OID">ham.0.Licht-Flur.Licht-Flur.On</field> </block> </value> <value name="B"> <block type="get_value" id="3EYqkIkEP?diH,OgV;P:"> <field name="ATTR">val</field> <field name="OID">ham.0.Schrankbeleuchtung.Schrankbeleuchtung.On</field> </block> </value> </block> </value> <value name="THEN"> <block type="text" id="I`HbT[.)mmUyBbsZG;Z7"> <field name="TEXT"></field> </block> </value> <value name="ELSE"> <block type="text" id="RP~-9sUn-]korH9tKR!G"> <field name="TEXT"> das Licht überall ausgeschaltet.</field> </block> </value> </block> </value> </block> </value> <next> <block type="control" id="1WB*/:yo!/jv;ad~uU[K"> <mutation delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090LF096512376R.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="l+?WSi47:{QBU=(C]TP)"> <field name="VAR" id="4zKTWd7Lg(g)K%1*f34p" variabletype="">Ansage</field> </block> </value> </block> </next> </block> </statement> </block> </statement> </block> </xml> Hier werden Dir nur die eingeschalteten Lampen angesagt. Wenn alle Lampen aus sind, dann Kommt der erste und der letzte Satz.
  • Gerätezustände aus FHEM zu einem ioBroker Gerät übertragen

    1
    0 Stimmen
    1 Beiträge
    160 Aufrufe
    Niemand hat geantwortet
  • [gelöst] Abfrage Temperatur Alexa Ausgabe 1 mal am Tag

    4
    0 Stimmen
    4 Beiträge
    396 Aufrufe
    Karel PuhliK
    @dslraser Vielen Dank schon mal!!!
  • Anfängerfrage: Fenster auf -> Heizung aus

    68
    5
    0 Stimmen
    68 Beiträge
    5k Aufrufe
    T
    Wie/wo bekommt man heraus, was für Werte es für die einzelnen Paramter gibt? z.B. TRV Mode in dieser Tabelle des Zigbee Spirit Thermostates ? es ist im Handbuch nur der Default Wert mit 0x02 (MANU Mode) angegeben. Was gibt noch für Werte? Was bedeutet eigentlich die Parameter: "TRV Mode", "Systemmode" ?
  • [Gelöst] TV bei Presence einschalten

    9
    1
    0 Stimmen
    9 Beiträge
    545 Aufrufe
    J
    @Stephan-Schleich Den hast ja in Deinem Blockly auch njicht drin. Wasich meine ist das was in der ersten FALLS drin ist, kannst mie einem weitren UND mit dem FALLS der zweiten Bedingung verküpfen und die UND Blöcke wegen der Übersicht mit der rechten maustaste auf externe Eingänge schalten.
  • |Gelöst| Probleme den richtigen Ausdruck zum Start von Sonos

    38
    1
    0 Stimmen
    38 Beiträge
    4k Aufrufe
    B
    @BBTown Vielen Dank für den Hinweis werde hier berichten. @Flopsi möchte Statusmeldungen für zu lange geöffnete Fenster oder Türen über die Sonos ausgeben. Die habe ich ja schon im ganzen Haus verteilt. Sicher gebe ich Sprachbefehle über die Alexa ein, wo ich eine Reaktion drauf erwarte oder etwas auslösen möchte. Die Ausgabe der Statusmeldungen möchte ich aber auch im Schlafzimmer oder Bad hören. Hier möchte ich nicht auch noch eine Alexa hinstellen.
  • Ausführung zu genauer Uhrzeit funktioniert nicht

    5
    1
    0 Stimmen
    5 Beiträge
    435 Aufrufe
    J
    @StefanW Normal triggert man in dem Fall auch auch das Ereignis und und packt die Uhrzeit in die FALLS.
  • Blockly schalten von Steckdose durch befehl(Gelöst).

    22
    0 Stimmen
    22 Beiträge
    3k Aufrufe
    S
    @dslraser Ah ok Danke dachte das machen Moderatoren hier. Ist ja von Forum zu Forum unterschiedlich
  • Tradfri Bewegungsmelder - Probleme bei

    15
    2
    0 Stimmen
    15 Beiträge
    2k Aufrufe
    L
    Meinst du mit Direktverknüpfung, dass ich den BWM und die Leuchtmittel direkt gepaart habe ohne ioBroker und Zigbee-Stick? Nein, dem ist nicht so...
  • Bewegungsmelder und Schalter über Shelly an Zigbee?

    5
    0 Stimmen
    5 Beiträge
    643 Aufrufe
    F
    Super, dankw, wenn ich es kopiere klappt es, selber bauen schafffe ich nicht. Ein Problem ist noch, wenn ich den Schalter wieder ausmache, geht das Licht aus und nicht wieder in den gedimmten bereich des BWM. Eine weitere Sache wäre noch, das ich gerne nach einer bestimmten Zeit nach ausschalten (z.b. 10 min) einen Lüfter für eine bestiimmte Zeit laufen lassen möchte. Wäre toll wenn mir das noch jemand einbinden könnte. Nochmals vielen Dank an paul53
  • Frage zu einigen Blockly's für die Jalousiesteuerung

    blockly
    1
    3
    0 Stimmen
    1 Beiträge
    239 Aufrufe
    Niemand hat geantwortet
  • [gelöst] Status von Alias kann nicht abgefragt werden

    blockly
    11
    2
    0 Stimmen
    11 Beiträge
    439 Aufrufe
    K
    @hofmannha ich habe dir vorhin das skript für den Echo Status gepostet. Was dein Sxreenshot angeht: Du brauchst noch ein Skript, was den DP für das jeweilige Gerät auf 2 ändert. Hier von meiner Waschmaschine: [image: 1584893957287-8ef63ec4-701f-4b73-b36f-a7c7a8336b75-grafik.png]
  • Müllerinnerung

    blockly
    4
    1
    0 Stimmen
    4 Beiträge
    291 Aufrufe
    crunchipC
    @Negalein ja, das ; bewirkt das die lautstärke nur für den einen Befehl gilt
  • [Gelöst] Rolladen zum Sonnenuntergang, frühestens 20.15 Uhr

    14
    1
    0 Stimmen
    14 Beiträge
    1k Aufrufe
    R
    Hallo, ich muß das Thema noch mal aufwärmen, ich habe noch ein paar kleine Probleme mit der Logik. Mir ist noch nicht richtig klar, auf was sich die Bedingung "Aktuelle Zeit" jeweils bezieht. Auf den Cron-Timer und Astro-Timer? Was wird konkret verglichen mit größer- oder kleiner als? Würde die Sache für den Sonnenaufgang dann so aussehen? ([image: 1584874421545-bildschirmfoto-2020-03-22-um-11.45.03.png] Vielen Dank schon mal. Gruß Rolf

448

Online

32.7k

Benutzer

82.3k

Themen

1.3m

Beiträge