Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Bitte um Hilfe, Blockly

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Bitte um Hilfe, Blockly

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

      Ok, sollte mir mal updaten angewöhnen. hatte es auch schon umgebaut. aber es geht irgendwie nicht.

      Kann die Reihenfolge so ablaufen oder steht da etwas im Konflikt ?

      Lg

      ! <xml 1999/xmlns="<URL url=" http:/www.w3.org/xhtml"="">http://www.w3.org/1999/xhtml">
      ! <block type="comment" id="4nyfa@jEdSVXeO81MoC%" x="-338" y="-187"><field name="COMMENT">Timer/Pause</field>
      ! <next><block type="on" id="U2yD.=ouTE]JN+8Lfk5="><field name="OID">admin.0.alarmpause</field>
      ! <field name="CONDITION">true</field>
      ! <statement name="STATEMENT"><block type="controls_if" id="FW-)5BEDikj2ELcrf_F!"><mutation else="1"></mutation>
      ! <value name="IF0"><block type="logic_operation" id="Brg%Hakx,7~)t%ybN[hx" inline="false"><field name="OP">AND</field>
      ! <value name="A"><block type="logic_compare" id="Xl3gm{S!Jo*3uWDcZjb"><field name="OP">EQ</field> ! <value name="A"><block type="get_value" id="3{5+Fgt.ri4ETwbAgesg"><field name="ATTR">val</field> ! <field name="OID">admin.0.alarmaus</field></block></value> ! <value name="B"><block type="logic_boolean" id=";tWpgUmo}!!]iLG:l]0C"><field name="BOOL">TRUE</field></block></value></block></value> ! <value name="B"><block type="logic_compare" id="fuE9=TUR)9Ah?lm?5C_]"><field name="OP">EQ</field> ! <value name="A"><block type="get_value" id="0p3^SV%/7V#!Y5,i(yUe"><field name="ATTR">val</field> ! <field name="OID">admin.0.alarmpause</field></block></value> ! <value name="B"><block type="logic_boolean" id="oW)fL7x.2OYyekVyG/lN"><field name="BOOL">TRUE</field></block></value></block></value></block></value> ! <statement name="DO0"><block type="control" id="TSOkZ).XWcn:.zf;Yyz9"><mutation delay_input="false"></mutation> ! <field name="OID">admin.0.alarmpause</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="}rcRWjDs#8SXif!;Sg@"><field name="BOOL">FALSE</field></block></value>
      ! <next><block type="sayit" id="L[KFSpneWc!g{Bc@4qiz"><field name="INSTANCE">.0</field>
      ! <field name="LANGUAGE">de</field>
      ! <value name="VOLUME"><block type="math_number" id="K6lhgyg7zYso|9;rImMJ"><field name="NUM">100</field></block></value>
      ! <value name="MESSAGE"><shadow type="text" id="hH70|-vDW/#n;[gm1C+N"><field name="TEXT">Es ist kein Alarm eingeschaltet und wird daher nicht geschaltet</field></shadow></value></block></next></block></statement>
      ! <statement name="ELSE"><block type="controls_if" id="B{yW:Q;?H/YF?rM?+.!-"><mutation else="1"></mutation>
      ! <value name="IF0"><block type="logic_operation" id="nEd}5Qhj-uL%1kIhqwL" inline="false"><field name="OP">AND</field> ! <value name="A"><block type="logic_compare" id="_T,!d.jpj1h99|tU(L*o"><field name="OP">EQ</field> ! <value name="A"><block type="get_value" id="-~[h6N[7+bJ4mgCyjSkZ"><field name="ATTR">val</field> ! <field name="OID">admin.0.alarmzeit</field></block></value> ! <value name="B"><block type="logic_boolean" id=")h4WhjcW_yzcx-P8U_!]"><field name="BOOL">TRUE</field></block></value></block></value> ! <value name="B"><block type="logic_compare" id="7v+[ndU!~niU0EQsk%KP"><field name="OP">EQ</field> ! <value name="A"><block type="get_value" id="ecme?p4iMZCKf!?f2Kh"><field name="ATTR">val</field>
      ! <field name="OID">admin.0.alarmpause</field></block></value>
      ! <value name="B"><block type="logic_boolean" id="K2d=cosT}RvKKH@M~#fY"><field name="BOOL">TRUE</field></block></value></block></value></block></value>
      ! <statement name="DO0"><block type="sayit" id="B5ur~|KqsR:fjgWPs9fL"><field name="INSTANCE">.0</field>
      ! <field name="LANGUAGE">de</field>
      ! <value name="VOLUME"><block type="math_number" id="JBDxn/a=S4x6D{kLz8n."><field name="NUM">100</field></block></value>
      ! <value name="MESSAGE"><shadow type="text" id="HE=U5RVDMdm:Qw3^=TYw"><field name="TEXT">Countdown ist aktiv! Bitte warte bis dieser abgelaufen ist</field></shadow></value>
      ! <next><block type="control" id="ck8Z((B[]o**__jxP~^R"><mutation delay_input="true"></mutation>
      ! <field name="OID">admin.0.alarmpause</field>
      ! <field name="WITH_DELAY">TRUE</field>
      ! <field name="DELAY_MS">10000</field>
      ! <field name="CLEAR_RUNNING">FALSE</field>
      ! <value name="VALUE"><block type="logic_boolean" id="c9OcoWRYmZ796WVES%e"><field name="BOOL">FALSE</field></block></value></block></next></block></statement> ! <statement name="ELSE"><block type="on" id="8Gvq+6/8l~/3=G9S%q]Q"><field name="OID">admin.0.alarman</field> ! <field name="CONDITION">true</field> ! <statement name="STATEMENT"><block type="sayit" id="nNgMSpg)89o^3m?~Nyq2"><field name="INSTANCE">.0</field> ! <field name="LANGUAGE">de</field> ! <value name="VOLUME"><block type="math_number" id="4RqLg{x@J-TQ~N,[b0"><field name="NUM">100</field></block></value> ! <value name="MESSAGE"><shadow type="text" id="Eyz0Vzqb4wCLJ}#x0H-m"><field name="TEXT">Alarm Pausiert 5 Minuten</field></shadow></value> ! <next><block type="timeouts_settimeout" id="Nu3C6K(cVDL}iw*nO-i~"><field name="NAME">timeout</field> ! <field name="DELAY">240000</field> ! <statement name="STATEMENT"><block type="sayit" id=".(^=?c2T:UxZ(29SmG3l"><field name="INSTANCE">.0</field> ! <field name="LANGUAGE">de</field> ! <value name="VOLUME"><block type="math_number" id="nk[@PzP%WJRD#owf7)uY"><field name="NUM">100</field></block></value> ! <value name="MESSAGE"><shadow type="text" id="X|Y+2*=G.VuUX18VZM(."><field name="TEXT">Alarm ist in einer Minute wieder Aktiv</field></shadow></value></block></statement> ! <next><block type="control" id="x{P@+w%)L18hKMAXQ]rm"><mutation delay_input="false"></mutation> ! <field name="OID">admin.0.bolAlarmSchalten</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="^TUj92|.S)Ftuq:r^we"><field name="BOOL">FALSE</field></block></value>
      ! <next><block type="control" id=".Zs9bWq3T^@lRs,V)!^Y"><mutation delay_input="true"></mutation>
      ! <field name="OID">admin.0.bolAlarmSchalten</field>
      ! <field name="WITH_DELAY">TRUE</field>
      ! <field name="DELAY_MS">300000</field>
      ! <field name="CLEAR_RUNNING">TRUE</field>
      ! <value name="VALUE"><block type="logic_boolean" id="7i16x^Me9~k3~xP]k|!6"><field name="BOOL">TRUE</field></block></value>
      ! <next><block type="control" id="IWhynmP5GEd4wTLzGb^u"><mutation delay_input="true"></mutation>
      ! <field name="OID">admin.0.alarmpause</field>
      ! <field name="WITH_DELAY">TRUE</field>
      ! <field name="DELAY_MS">300000</field>
      ! <field name="CLEAR_RUNNING">FALSE</field>
      ! <value name="VALUE"><block type="logic_boolean" id="?;@qw)Da[ZmwqB?T.hn9"><field name="BOOL">FALSE</field></block></value></block></next></block></next></block></next></block></next></block></statement></block></statement></block></statement></block></statement></block></next></block></xml>

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

        @Desa:

        Ok, sollte mir mal updaten angewöhnen. hatte es auch schon umgebaut. aber es geht irgendwie nicht.

        Kann die Reihenfolge so ablaufen oder steht da etwas im Konflikt ? `

        Hi,

        habe es mal kurz überflogen.

        Du triggerst auf "alarmpause" auf WAHR.

        Das Script wird also nur ausgeführt, wenn "alarmpause=WAHR".

        Da kannst Du Dir die Abfragen ob "alarmpause=WAHR" sparen.

        Wenn das nicht so wäre, würde das Script nicht ausgeführt!

        Das ist aber nur eine Kleinigkeit.

        Was soll der Trigger auf "alarman" in einem "Sonst"???

        Da gehört ein "Falls Wert von alarman = wahr" hin.

        Grüße

        1 Reply Last reply Reply Quote 0
        • D
          Desa last edited by

          Hi, also der block war wirklich unnötig ^^ Hab ihn raus genommen.

          Also Ich glaube mit mehr Info kann man besser helfen. dachte Der ablauf muss wenn das eine nicht geht, das dann der nächste oder block startet bis zum schluss.

          Habe folgende bol Objekte alarmaktiv, alarman, alarmaus, alarmfehler, alarmzeit, alarmpause, bolAlarm ( für Widgets wird noch ausgetragen), bolAlarmSchalten Schaltet Alarm über Vis ein.

          Bol schalten macht alarm an und schaltet wenn scharf ist, Alarmfehler falls ein fenster tür auf ist, Alarmaus wenn alles ausgeschaltet ist. alarmaktiv wenn ausgelöst, alarmzeit ist der timer zum verlassen des hauses bis alarm scharf ist, alarmpause soll sein wenn man abends nochmal zum rauchen raus möchte. soll alle zustände ohne wenn und aber zurück setzen und nach 6 min ( 6 min 5min + 1min mit timer ) wieder neu starten.

          Script zum erkunden:

          ! <xml 1999/xmlns="<URL url=" http:/www.w3.org/xhtml"="">http://www.w3.org/1999/xhtml">
          ! <block type="comment" id="h}-GLiN5x(k:FUrvasi" x="-145" y="97"><field name="COMMENT">Wird über VIS geschaltet</field> ! <next><block type="on" id="Wp6*(X0J#KrM6}n@F{o,"><field name="OID">admin.0.bolAlarmSchalten</field> ! <field name="CONDITION">ne</field> ! <statement name="STATEMENT"><block type="controls_if" id="9GB2XArfowg))6Gx.Bh?"><mutation else="1"></mutation> ! <value name="IF0"><block type="get_value" id="LsMxKxh@Q,b;B5Qzy2Wz"><field name="ATTR">val</field> ! <field name="OID">admin.0.bolAlarmSchalten</field></block></value> ! <statement name="DO0"><block type="comment" id=".[INx?Hf]:6OCoz8G2^*"><field name="COMMENT">Fenster überprüfen</field> ! <next><block type="controls_if" id="FW-)5BEDikj2ELcrf_F!"><mutation else="1"></mutation> ! <value name="IF0"><block type="logic_operation" id="Brg%Hakx,7~)t%ybN[hx" inline="false"><field name="OP">OR</field> ! <value name="A"><block type="logic_compare" id="Xl3gm{S!Jo*3uWDcZjb"><field name="OP">EQ</field>
          ! <value name="A"><block type="get_value" id="3{5+Fgt.ri4ETwbAgesg"><field name="ATTR">val</field>
          ! <field name="OID">hm-rpc.0.NEQ0758032.1.STATE</field></block></value>
          ! <value name="B"><block type="logic_boolean" id=";tWpgUmo}!!]iLG:l]0C"><field name="BOOL">TRUE</field></block></value></block></value>
          ! <value name="B"><block type="logic_operation" id="[t~}7hV#SJ8)BrFRWp1{" inline="false"><field name="OP">OR</field>
          ! <value name="A"><block type="logic_compare" id="3L2WZ8)v@%1wbU+G,+?H"><field name="OP">EQ</field>
          ! <value name="A"><block type="get_value" id="/f[T+Fu%CsXJQAA8bb"><field name="ATTR">val</field>
          ! <field name="OID">hm-rpc.0.NEQ1109723.1.STATE</field></block></value>
          ! <value name="B"><block type="logic_boolean" id="@#0P5AT^yh8}CJN]FTD"><field name="BOOL">TRUE</field></block></value></block></value>
          ! <value name="B"><block type="logic_operation" id="XN,vP!R|xy!~S(!ZL1gw" inline="false"><field name="OP">OR</field>
          ! <value name="A"><block type="logic_compare" id="M!snXhI0:iUSzh.c]
          ^u"><field name="OP">EQ</field>
          ! <value name="A"><block type="get_value" id="mc!dYfVVHmV3SNxvZ~S"><field name="ATTR">val</field> ! <field name="OID">hm-rpc.0.NEQ1507113.1.STATE</field></block></value> ! <value name="B"><block type="logic_boolean" id="YFegHjy0{Q(JO7zL0~n_"><field name="BOOL">TRUE</field></block></value></block></value> ! <value name="B"><block type="logic_operation" id="Jo]qaqF4ZH=t:LRkq^D" inline="false"><field name="OP">OR</field>
          ! <value name="A"><block type="logic_compare" id="7V?.^:ty4DvUdSDdWCr/"><field name="OP">EQ</field>
          ! <value name="A"><block type="get_value" id="2~LEihSGsy7+gI~[:]vt"><field name="ATTR">val</field>
          ! <field name="OID">hm-rpc.0.NEQ1507081.1.STATE</field></block></value>
          ! <value name="B"><block type="logic_boolean" id="Xi-=~K).?)pGWhmIIvrC"><field name="BOOL">TRUE</field></block></value></block></value>
          ! <value name="B"><block type="logic_operation" id=")EHN2d4whM@JUx-gx!)?" inline="false"><field name="OP">OR</field>
          ! <value name="A"><block type="logic_compare" id="}e@z!eM!-ve!at-a2UeK"><field name="OP">EQ</field>
          ! <value name="A"><block type="get_value" id="G0i[ZY@aK6{hP-~Lt3)"><field name="ATTR">val</field>
          ! <field name="OID">hm-rpc.0.NEQ1507086.1.STATE</field></block></value>
          ! <value name="B"><block type="logic_boolean" id="^%xiH}[;N.=C6C_[HaFU"><field name="BOOL">TRUE</field></block></value></block></value>
          ! <value name="B"><block type="logic_operation" id="Zh,7Wl{t()s{1UkVRYWc" inline="false"><field name="OP">OR</field>
          ! <value name="A"><block type="logic_compare" id="7G.lvjmjbTZp+X2KcJa+"><field name="OP">EQ</field>
          ! <value name="A"><block type="get_value" id="6d}3QKViaXjb[UkGUevQ"><field name="ATTR">val</field>
          ! <field name="OID">hm-rpc.0.NEQ1507091.1.STATE</field></block></value>
          ! <value name="B"><block type="logic_boolean" id="#/W)v2|E9aDp7(u:3Lj0"><field name="BOOL">TRUE</field></block></value></block></value>
          ! <value name="B"><block type="logic_compare" id="+^R{.;{6n]v
          8M%Qqk6M"><field name="OP">EQ</field>
          ! <value name="A"><block type="get_value" id="#S_?;ga[O,m|8@!X:,88"><field name="ATTR">val</field>
          ! <field name="OID">hm-rpc.0.NEQ1507095.1.STATE</field></block></value>
          ! <value name="B"><block type="logic_boolean" id="z[c!7+abC5m{F1#v2];7"><field name="BOOL">TRUE</field></block></value></block></value></block></value></block></value></block></value></block></value></block></value></block></value>
          ! <statement name="DO0"><block type="comment" id="6BUGNj?ad#L6wYm];.c"><field name="COMMENT">Ein Fenster ist offen</field>
          ! <next><block type="comment" id="k77]2ocHX#7slsRv~deL"><field name="COMMENT">Keine Alarmschaltung</field>
          ! <next><block type="control" id="^aUSGb
          DfQB[YT?@ba-J"><mutation delay_input="true"></mutation>
          ! <field name="OID">admin.0.alarmfehler</field>
          ! <field name="WITH_DELAY">TRUE</field>
          ! <field name="DELAY_MS">100</field>
          ! <field name="CLEAR_RUNNING">TRUE</field>
          ! <value name="VALUE"><block type="logic_boolean" id="^FNW?e:iduTN(h,:(!A@"><field name="BOOL">TRUE</field></block></value>
          ! <next><block type="control" id="WB,cs-iiQr:AH~5p*iJK"><mutation delay_input="false"></mutation>
          ! <field name="OID">admin.0.bolAlarmSchalten</field>
          ! <field name="WITH_DELAY">FALSE</field>
          ! <value name="VALUE"><block type="logic_boolean" id="n31vML.:4NC,BJj(S-=_"><field name="BOOL">FALSE</field></block></value>
          ! <next><block type="debug" id="gAsNJTBGzL.;yT20mOCa"><field name="Severity">log</field>
          ! <value name="TEXT"><shadow type="text" id=";_GGOuTLYaJpU?WW~PHQ"><field name="TEXT">Fenster offen</field></shadow></value>
          ! <next><block type="sayit" id="W/S;*re5a+{@1bF%e)R"><field name="INSTANCE">.0</field> ! <field name="LANGUAGE">de</field> ! <field name="LOG">log</field> ! <value name="MESSAGE"><shadow type="text" id="m}xs0w|Ew)Bc;vsyolb7"><field name="TEXT">Keine Alarmschaltung. Da ein Fenster ist geöffnet ist</field></shadow></value> ! <next><block type="control" id="us~V/IO(6x]T;{~D]:X:"><mutation delay_input="true"></mutation> ! <field name="OID">admin.0.alarmfehler</field> ! <field name="WITH_DELAY">TRUE</field> ! <field name="DELAY_MS">5000</field> ! <field name="CLEAR_RUNNING">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="ZU{Uk@cVTPIwM[E:a@@b"><field name="BOOL">FALSE</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></statement> ! <statement name="ELSE"><block type="comment" id="5WwaKm[us+ew@R9Q|r"><field name="COMMENT">Alles OK Alarm kann aktiviert werden</field>
          ! <next><block type="debug" id="]r/?]^:Q/I4X6NKQB,f"><field name="Severity">log</field> ! <value name="TEXT"><shadow type="text" id=".|nw1P3lFVIaVEP*t0(q"><field name="TEXT">Alarm wird in 1 Minute aktiviert</field></shadow></value> ! <next><block type="sayit" id="4(Sqx0h=P}P4#7@Mqb8?"><field name="INSTANCE">.0</field> ! <field name="LANGUAGE">de</field> ! <field name="LOG">log</field> ! <value name="MESSAGE"><shadow type="text" id="udx;_.~)HKc811A2oU4p"><field name="TEXT">Alarm wird aktiviert</field></shadow></value> ! <next><block type="comment" id="*jO0|2x*,,VIT%U23ys8"><field name="COMMENT">Hier wird eine Min.gewartet</field> ! <next><block type="control" id="I8gl^WHK0IiL!p^%e!f."><mutation delay_input="false"></mutation> ! <field name="OID">admin.0.alarmzeit</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="861El_c#[npm_nQj)~O"><field name="BOOL">TRUE</field></block></value>
          ! <next><block type="timeouts_settimeout" id="@FK6%p4xu-a4gflw;BsN"><field name="NAME">timeout</field>
          ! <field name="DELAY">60000</field>
          ! <statement name="STATEMENT"><block type="control" id="-l;[wFK~s2D,~Ymi#IWD"><mutation delay_input="false"></mutation>
          ! <field name="OID">admin.0.bolAlarm</field>
          ! <field name="WITH_DELAY">FALSE</field>
          ! <value name="VALUE"><block type="logic_boolean" id="cY-xo}hcWQcE1diwbgu6"><field name="BOOL">TRUE</field></block></value>
          ! <next><block type="debug" id="EL8j.Z5-k7EmxNS%Y8}y"><field name="Severity">log</field>
          ! <value name="TEXT"><shadow type="text" id="bJ^.y-C!gb=9#{aJi^rZ"><field name="TEXT">Alarm aktiviert</field></shadow></value>
          ! <next><block type="sayit" id="Z!LeK|5DW;V5O7!)9p3d"><field name="INSTANCE">.0</field>
          ! <field name="LANGUAGE">de</field>
          ! <value name="MESSAGE"><shadow type="text" id="}/4yflk^@uCA/w8y{=Jl"><field name="TEXT">Alarm ist Scharf</field></shadow></value>
          ! <next><block type="control" id="KHno.kHxs8hH#JZrQmm["><mutation delay_input="false"></mutation>
          ! <field name="OID">admin.0.alarman</field>
          ! <field name="WITH_DELAY">FALSE</field>
          ! <value name="VALUE"><block type="logic_boolean" id="QU+5mH{K}8kvz(_7vvA"><field name="BOOL">TRUE</field></block></value> ! <next><block type="control" id="-^Sc@)jqYi.o;d_fbqgd"><mutation delay_input="false"></mutation> ! <field name="OID">admin.0.alarmaus</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="T60SNdIg?6b?6g]pXLHR"><field name="BOOL">FALSE</field></block></value> ! <next><block type="control" id="SN9VFok_[7X}0]w5yk*u"><mutation delay_input="false"></mutation> ! <field name="OID">admin.0.alarmzeit</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="OEQENrW@!)uB~TI]E0"><field name="BOOL">FALSE</field></block></value></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></statement> ! <statement name="ELSE"><block type="timeouts_cleartimeout" id=",-x{B_6R74v+2l+apppX"><field name="NAME">timeout</field> ! <next><block type="control" id="ROT/7W2Tldqet!@V0vuc"><mutation delay_input="false"></mutation> ! <field name="OID">admin.0.bolAlarm</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="/UIr-Z_v;CmSx}q)[q9*"><field name="BOOL">FALSE</field></block></value> ! <next><block type="control" id="qNK*.9(ZGRO_W.5/c[+T"><mutation delay_input="false"></mutation> ! <field name="OID">admin.0.alarmfehler</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="J(hrQJr?Jx%9,5O4pn1b"><field name="BOOL">FALSE</field></block></value> ! <next><block type="control" id="MybW.Si~0!(i_OT^TjvF"><mutation delay_input="false"></mutation> ! <field name="OID">admin.0.alarman</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id=":[E:K5-EZ(cmNR8k/(Fs"><field name="BOOL">FALSE</field></block></value> ! <next><block type="control" id="^TuhDgR8q^p(!a+{0pX,"><mutation delay_input="false"></mutation> ! <field name="OID">admin.0.alarmzeit</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="iPN-ccDJ7N_#I:-iKc~5"><field name="BOOL">FALSE</field></block></value> ! <next><block type="control" id="Y5m[/NJh^O8xbT;72Wmq"><mutation delay_input="false"></mutation> ! <field name="OID">admin.0.alarmaktiv</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="T_mGyFeR_.0WV+b}-er:"><field name="BOOL">FALSE</field></block></value> ! <next><block type="control" id="?;QC+*(+uUB^,0m}3l~"><mutation delay_input="false"></mutation>
          ! <field name="OID">zwave.0.NODE4.SWITCH_BINARY.Switch_1</field>
          ! <field name="WITH_DELAY">FALSE</field>
          ! <value name="VALUE"><block type="logic_boolean" id="0Jtx9%hg,@Q[;41!Iev"><field name="BOOL">FALSE</field></block></value> ! <next><block type="control" id="UJ+HKR2qNH])|cW+MhgV"><mutation delay_input="false"></mutation> ! <field name="OID">admin.0.alarmaus</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="C[o}~o/Jr_ONQH}wUJ!*"><field name="BOOL">TRUE</field></block></value> ! <next><block type="debug" id="wk8ov,bAlSL7(t:A^x3"><field name="Severity">log</field>
          ! <value name="TEXT"><shadow type="text" id="GpU|mMr6C
          0s@*zG1Rpf"><field name="TEXT">Alarm deaktiviert</field></shadow></value>
          ! <next><block type="sayit" id="Ul=+Qx#,28Lgba/_lc%z"><field name="INSTANCE">.0</field>
          ! <field name="LANGUAGE">de</field>
          ! <field name="LOG">log</field>
          ! <value name="MESSAGE"><shadow type="text" id="ijJrQkn^q1LS9-`Q!6o5"><field name="TEXT">Alarm ist Deaktiviert</field></shadow></value></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>

          Für den Alarm:

          ! <xml 1999/xmlns="<URL url=" http:/www.w3.org/xhtml"="">http://www.w3.org/1999/xhtml">
          ! <block type="comment" id="q@xFyLwtn7L20O:.9qLr" x="-137" y="-12"><field name="COMMENT">Triggern der Geräte auf WAHR</field>
          ! <next><block type="on_ext" id="vg]@GugCdFRJT-%kI@=7"><mutation items="4"></mutation>
          ! <field name="CONDITION">ne</field>
          ! <value name="OID0"><shadow type="field_oid" id="-qHf*!d3Nd-R##jX.:!r"><field name="oid">hm-rpc.0.NEQ0758032.1.STATE</field></shadow></value>
          ! <value name="OID1"><shadow type="field_oid" id="I]Qa0}aM7LF(no)LJRaZ"><field name="oid">hm-rpc.0.NEQ1109723.1.STATE</field></shadow></value>
          ! <value name="OID2"><shadow type="field_oid" id="RA1m/.LsyafLAXptpAd"><field name="oid">hm-rpc.0.NEQ1507113.1.STATE</field></shadow></value> ! <value name="OID3"><shadow type="field_oid" id="b.7bP8/rFWH;[mMga@"><field name="oid">hm-rpc.0.NEQ1507095.1.STATE</field></shadow></value>
          ! <statement name="STATEMENT"><block type="on" id="Qpfy1z]bGH77:w/G)Vln"><field name="OID">cul.0.FS20.8E2C00.response</field>
          ! <field name="CONDITION">any</field>
          ! <statement name="STATEMENT"><block type="comment" id="eb%lt#iCj[t(mm@NwsNv"><field name="COMMENT">Ein Gerät hat ausgelöst</field>
          ! <next><block type="comment" id="IYQLuKm}D?ocdp@[cN|
          "><field name="COMMENT">Prüfen ob Alarm aktiv ist</field>
          ! <next><block type="controls_if" id="[TriQn_Fw;^6{fM8U%y+"><value name="IF0"><block type="logic_compare" id="i7Y;4K0TusLYO1,BY^BW"><field name="OP">EQ</field>
          ! <value name="A"><block type="get_value" id="GBJS*3Ul4]lsJn3r3,r"><field name="ATTR">val</field> ! <field name="OID">admin.0.bolAlarm</field></block></value> ! <value name="B"><block type="logic_boolean" id="U*Xvz#cUHtuV)Hd,%ajV"><field name="BOOL">TRUE</field></block></value></block></value> ! <statement name="DO0"><block type="comment" id="6XSS]%Fdptbg_FZ#UCv_"><field name="COMMENT">Hier kommen die Aktionen rein</field> ! <next><block type="control" id="gB4{;HV3IBza_9h_i2VM"><mutation delay_input="false"></mutation> ! <field name="OID">admin.0.alarmaktiv</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="luoK^%wl!+F#|{1N8|_O"><field name="BOOL">TRUE</field></block></value> ! <next><block type="debug" id="G)(3,^~x?w)rNIfl;7R"><field name="Severity">log</field>
          ! <value name="TEXT"><shadow type="text" id="n@2INPEE5Wy[+OPBCDiV"><field name="TEXT">ALARM WZ AUSGELÖST</field></shadow></value>
          ! <next><block type="control_ex" id="K6[fhnLxM1Dm?pctuTsU"><field name="TYPE">false</field>
          ! <field name="CLEAR_RUNNING">TRUE</field>
          ! <value name="OID"><shadow type="field_oid" id="2@N-O+R(J/b_I!xe+@Cs"><field name="oid">zwave.0.NODE4.SWITCH_BINARY.Switch_1</field></shadow></value>
          ! <value name="VALUE"><shadow type="logic_boolean" id="JM)RTz8SYpGWEJ;4#@!~"><field name="BOOL">TRUE</field></shadow></value>
          ! <value name="DELAY_MS"><shadow type="math_number" id="4FK[6Qq~{0[`p(tK]-Cu"><field name="NUM">15000</field></shadow></value>
          ! <next><block type="sayit" id="#y:6t%.dGbihOcU%QN"><field name="INSTANCE">.0</field>
          ! <field name="LANGUAGE">de</field>
          ! <field name="LOG">log</field>
          ! <value name="MESSAGE"><shadow type="text" id="]sJ|mg+58fk5-^At7!FR"><field name="TEXT">Alarm im Wohnzimmer wurde ausgelöst</field></shadow></value></block></next></block></next></block></next></block></next></block></statement></block></next></block></next></block></statement></block></statement></block></next></block></xml>

          Für die Pause:

          ! <xml 1999/xmlns="<URL url=" http:/www.w3.org/xhtml"="">http://www.w3.org/1999/xhtml">
          ! <block type="comment" id="4nyfa@jEdSVXeO81MoC%" x="-338" y="-187"><field name="COMMENT">Timer/Pause</field>
          ! <next><block type="on" id="U2yD.=ouTE]JN+8Lfk5="><field name="OID">admin.0.alarmpause</field>
          ! <field name="CONDITION">true</field>
          ! <statement name="STATEMENT"><block type="controls_if" id="FW-)5BEDikj2ELcrf_F!"><mutation else="1"></mutation>
          ! <value name="IF0"><block type="get_value" id="3{5+Fgt.ri4ETwbAgesg"><field name="ATTR">val</field>
          ! <field name="OID">admin.0.alarmaus</field></block></value>
          ! <statement name="DO0"><block type="control" id="TSOkZ).XWcn:.zf;Yyz9"><mutation delay_input="false"></mutation>
          ! <field name="OID">admin.0.alarmpause</field>
          ! <field name="WITH_DELAY">FALSE</field>
          ! <value name="VALUE"><block type="logic_boolean" id="}rcRWjDs#8SXif!;Sg@"><field name="BOOL">FALSE</field></block></value> ! <next><block type="sayit" id="L[KFSpneWc!g{Bc@4qiz"><field name="INSTANCE">.0</field> ! <field name="LANGUAGE">de</field> ! <value name="VOLUME"><block type="math_number" id="K6lhgyg7zYso|9;rImMJ"><field name="NUM">100</field></block></value> ! <value name="MESSAGE"><shadow type="text" id="hH70|-vDW/#n;[gm1C+N"><field name="TEXT">Es ist kein Alarm eingeschaltet und wird daher nicht geschaltet</field></shadow></value></block></next></block></statement> ! <statement name="ELSE"><block type="controls_if" id="B{yW:Q;?H/YF?rM?+.!-"><mutation else="1"></mutation> ! <value name="IF0"><block type="logic_compare" id="_T,!d.jpj1h99|tU(L*o"><field name="OP">EQ</field> ! <value name="A"><block type="get_value" id="-~[h6N[7+bJ4mgCyjSkZ"><field name="ATTR">val</field> ! <field name="OID">admin.0.alarmzeit</field></block></value> ! <value name="B"><block type="logic_boolean" id=")h4WhjcW_yzcx-P8U_!]"><field name="BOOL">TRUE</field></block></value></block></value> ! <statement name="DO0"><block type="sayit" id="B5ur~|KqsR:fjgWPs9fL"><field name="INSTANCE">.0</field> ! <field name="LANGUAGE">de</field> ! <value name="VOLUME"><block type="math_number" id="JBDxn/a=S4x6D{kLz8n."><field name="NUM">100</field></block></value> ! <value name="MESSAGE"><shadow type="text" id="HE=U5RVDMdm:Qw3^=TYw"><field name="TEXT">Countdown ist aktiv! Bitte warte bis dieser abgelaufen ist</field></shadow></value> ! <next><block type="control" id="ck8Z((B[]o**__jxP~^R"><mutation delay_input="true"></mutation> ! <field name="OID">admin.0.alarmpause</field> ! <field name="WITH_DELAY">TRUE</field> ! <field name="DELAY_MS">10000</field> ! <field name="CLEAR_RUNNING">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="c9OcoWRYmZ796WVES%e"><field name="BOOL">FALSE</field></block></value></block></next></block></statement>
          ! <statement name="ELSE"><block type="on" id="8Gvq+6/8l~/3=G9S%q]Q"><field name="OID">admin.0.alarman</field>
          ! <field name="CONDITION">true</field>
          ! <statement name="STATEMENT"><block type="sayit" id="nNgMSpg)89o^3m?~Nyq2"><field name="INSTANCE">.0</field>
          ! <field name="LANGUAGE">de</field>
          ! <value name="VOLUME"><block type="math_number" id="4RqLg{x@J-TQ~N,[b0"><field name="NUM">100</field></block></value>
          ! <value name="MESSAGE"><shadow type="text" id="Eyz0Vzqb4wCLJ}#x0H-m"><field name="TEXT">Alarm Pausiert 5 Minuten</field></shadow></value>
          ! <next><block type="timeouts_settimeout" id="Nu3C6K(cVDL}iwnO-i~"><field name="NAME">timeout</field>
          ! <field name="DELAY">240000</field>
          ! <statement name="STATEMENT"><block type="sayit" id=".(^=?c2T:UxZ(29SmG3l"><field name="INSTANCE">.0</field>
          ! <field name="LANGUAGE">de</field>
          ! <value name="VOLUME"><block type="math_number" id="nk[@PzP%WJRD#owf7)uY"><field name="NUM">100</field></block></value>
          ! <value name="MESSAGE"><shadow type="text" id="X|Y+2
          =G.VuUX18VZM(."><field name="TEXT">Alarm ist in einer Minute wieder Aktiv</field></shadow></value></block></statement>
          ! <next><block type="control" id="x{P@+w%)L18hKMAXQ]rm"><mutation delay_input="false"></mutation>
          ! <field name="OID">admin.0.bolAlarmSchalten</field>
          ! <field name="WITH_DELAY">FALSE</field>
          ! <value name="VALUE"><block type="logic_boolean" id="^TUj92`|.S)Ftuq:r^we"><field name="BOOL">FALSE</field></block></value>
          ! <next><block type="control" id=".Zs9bWq3T^@lRs,V)!^Y"><mutation delay_input="true"></mutation>
          ! <field name="OID">admin.0.bolAlarmSchalten</field>
          ! <field name="WITH_DELAY">TRUE</field>
          ! <field name="DELAY_MS">300000</field>
          ! <field name="CLEAR_RUNNING">TRUE</field>
          ! <value name="VALUE"><block type="logic_boolean" id="7i16x^Me9~k3~xP]k|!6"><field name="BOOL">TRUE</field></block></value>
          ! <next><block type="control" id="IWhynmP5GEd4wTLzGb^u"><mutation delay_input="true"></mutation>
          ! <field name="OID">admin.0.alarmpause</field>
          ! <field name="WITH_DELAY">TRUE</field>
          ! <field name="DELAY_MS">300000</field>
          ! <field name="CLEAR_RUNNING">FALSE</field>
          ! <value name="VALUE"><block type="logic_boolean" id="?;@qw)Da[ZmwqB?T.hn9"><field name="BOOL">FALSE</field></block></value></block></next></block></next></block></next></block></next></block></statement></block></statement></block></statement></block></statement></block></next></block></xml>

          Hoffe es hat jemand zeit sich das an zu schauen.

          Lg Desa

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

            @Desa:

            Hoffe es hat jemand zeit sich das an zu schauen. `

            Ich habe nur mal drüber geschaut.

            Ob es funktioniert, kannst nur Du sagen.

            Das mit den "Triggern" hast Du allerdings noch nicht verstanden.

            Ein "Trigger" reagiert auf Änderungen seines zu überwachenden Datenpunktes.

            Ein "Trigger" startet also ein Script/Programm.

            Und das Scipt liegt "innerhalb" des Triggers.

            147_falschertrigger.png

            Hier hast Du einen Trigger der auf Deine BM reagiert.

            (Da Du nicht auf "WAHR" triggerst solltest man auch den Kommentar ändern)

            Der Trigger wird ausgelöst wenn sich der Zustand eines BM ändert.

            Dann passiert aber NICHTS!

            Denn in diesen Trigger hast Du einen weiteren Trigger gepackt.

            Der reagiert auf Änderung "cul…....".

            Und dann wird nur das ausgeführt, was INNERHALB dieses Triggers steht.

            Um Werte zu überprüfen musst Du den Baustein unter "Logik" nehmen (der erste)

            Grüße

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

              Hallo Desa

              Du meldest Dich nicht mehr.

              Bist Du weitergekommen oder habe ich etwas falsches geschrieben?

              Grüße

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

                Kann jemand sagen wie ich mit einem Trieger views umschalten kann?

                MfG

                Alex

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

                  @Alex1808:

                  Kann jemand sagen wie ich mit einem Trieger views umschalten kann?

                  MfG

                  Alex `
                  Du solltest ins vis.0.command so was

                  schreiben "{instance: '*', command: 'changeView', data: 'viewName'}"

                  https://github.com/ioBroker/ioBroker.vi … -interface

                   <block xmlns="http://www.w3.org/1999/xhtml" type="control" id="/Uzav^k/OL{Y)cnhHzCq" x="-12" y="12.99999999999983"><mutation delay_input="false"></mutation>
                    <field name="OID">vis.0.control.command</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE"><block type="text" id=")0lXUh=01Oc^jx)wC:pU"><field name="TEXT">{instance: '*', command: 'changeView', data: 'viewName'}</field></block></value></block> 
                  

                  48_2017-03-16_11_42_33-iobroker.admin.png

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

                    Bekomme aber nicht umgeschaltet.. 😞

                    Habe so angepasst {instance: 'FFFFFFFF', command: 'changeView', data: 'Obergeschoss'}

                    513_screenshot_at_m_rz_16_16-29-02.png

                    Bei Objekten wird auch angezeigt das view auf Obergeschoss geändert, aber im Webbrowser bleibt bei zuletzt geschaltete view.

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

                      Kann ich so bestätigen.

                      Im Log steht noch:

                      "warn Wrong type of vis.0.command: "string". Please fix, while deprecated and will not work in next versions."

                      Grüße

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

                        ! ````
                        <xml xmlns="http://www.w3.org/1999/xhtml"><block type="control" id="/Uzav^k/OL{Y)cnhHzCq" x="38" y="38"><mutation delay_input="false"></mutation>
                        <field name="OID">vis.0.control.data</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE"><block type="text" id=")0lXUh=01Oc^jx)wC:pU"><field name="TEXT">27-28</field></block></value>
                        <next><block type="control" id="q;~z(;FmLmwwc,ua]hR"><mutation delay_input="false"></mutation>
                        <field name="OID">vis.0.control.instance</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE"><block type="text" id="l!olOX@gJ^Ev{K6lm%9x"><field name="TEXT">
                        </field></block></value>
                        <next><block type="control" id="Dr[{yjU]UM1LCs`7,)a="><mutation delay_input="false"></mutation>
                        <field name="OID">vis.0.control.command</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE"><block type="text" id="_V~Gqeo~}D#f-U~i4^Ih"><field name="TEXT">changeView</field></block></value></block></next></block></next></block></xml>

                        [48_2017-03-16_17_35_05-iobroker.admin.png](/assets/uploads/files/48_2017-03-16_17_35_05-iobroker.admin.png)
                        1 Reply Last reply Reply Quote 0
                        • Alex1808
                          Alex1808 last edited by

                          Jetzt funktioniert! 🙂

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

                            Ja, so klappt es.

                            Es wird immer auf eine bestimmte View gewechselt.

                            "27-28" sagt mir aber nichts.

                            Gibt es ein paar erklärende Worte?

                            Grüße

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

                              @rantanplan:

                              Ja, so klappt es.

                              Es wird immer auf eine bestimmte View gewechselt.

                              "27-28" sagt mir aber nichts.

                              Gibt es ein paar erklärende Worte?

                              Grüße `

                              Ich habe bei "27-28" auf mein View geändert z.b. Obergeschoss, bei Control vis kann man ein bestimmte browser (am tablet oder PC) wählen oder für alle "FFFFFFFF"

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

                                Aha, Groschen ist gefallen.

                                Danke!

                                Grüße

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

                                  Für die Nachwelt 😉
                                  147_blockly_view-wechsel.png

                                  Grüße

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

                                  Support us

                                  ioBroker
                                  Community Adapters
                                  Donate

                                  460
                                  Online

                                  31.7k
                                  Users

                                  79.8k
                                  Topics

                                  1.3m
                                  Posts

                                  4
                                  17
                                  2313
                                  Loading More Posts
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  Community
                                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                  The ioBroker Community 2014-2023
                                  logo