Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Homematic Fensterkontakt

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Homematic Fensterkontakt

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      TWD83 @paul53 last edited by TWD83

      Wie verknüpfe ich denn nun wo ich „Alle Fenster geschlossen“ stehen habe mit der Liste oben?

      Sorry bin totaler Neuling.

      paul53 1 Reply Last reply Reply Quote 0
      • paul53
        paul53 @TWD83 last edited by

        @twd83 sagte: Wie verknüpfe ich denn nun

        So wird das nichts. Mach das Skript neu: Importiere es und weise die Datenpunkte zu.

        <xml xmlns="https://developers.google.com/blockly/xml">
         <variables>
           <variable id="$P`3uM[XkrE9(@HiGFBu">idsEG</variable>
           <variable id="6f]Beg3Ga5U^VyR0GO+1">idsOG</variable>
           <variable id="G20i8z%)4lkwO++N2wzk">alleZuEG</variable>
           <variable id="Z7g|yLX7$U/|#:yvvA~R">alleZuOG</variable>
           <variable id="VbZ0/j:7;;xr{bl47F}E">id</variable>
           <variable id="b)@.oEmzD*@H~Dxr51%i">msg</variable>
         </variables>
         <block type="comment" id="1@ye{pL}AL9pA]EYyQQ*" x="38" y="63">
           <field name="COMMENT">EG: FK4.STATE ... FK12.STATE</field>
           <next>
             <block type="variables_set" id="-Z$g2;Bn7}|.a?!#2ZP]">
               <field name="VAR" id="$P`3uM[XkrE9(@HiGFBu">idsEG</field>
               <value name="VALUE">
                 <block type="lists_create_with" id="kY.+bk=;,muoJI@R^S_V">
                   <mutation items="8"></mutation>
                   <value name="ADD0">
                     <block type="field_oid" id="BkP`[oELwA?J2;^EZcev">
                       <field name="oid">default</field>
                     </block>
                   </value>
                   <value name="ADD1">
                     <block type="field_oid" id="cik[}mhU|Zyewk+~|FN/">
                       <field name="oid">default</field>
                     </block>
                   </value>
                   <value name="ADD2">
                     <block type="field_oid" id="!_5z@O$[$tNR=xhV,=3g">
                       <field name="oid">default</field>
                     </block>
                   </value>
                   <value name="ADD3">
                     <block type="field_oid" id="yh|2f$~r[S11T7!8fQhh">
                       <field name="oid">default</field>
                     </block>
                   </value>
                   <value name="ADD4">
                     <block type="field_oid" id="}y@9UsT7LzeOE-,Y)2wj">
                       <field name="oid">default</field>
                     </block>
                   </value>
                   <value name="ADD5">
                     <block type="field_oid" id="y.pX!u4H|beE[+1N0vJa">
                       <field name="oid">default</field>
                     </block>
                   </value>
                   <value name="ADD6">
                     <block type="field_oid" id="#[Lts`RvJ/KUwR{WrZ=#">
                       <field name="oid">default</field>
                     </block>
                   </value>
                   <value name="ADD7">
                     <block type="field_oid" id="Sd:i#zy)_wc20ixhfJ$@">
                       <field name="oid">default</field>
                     </block>
                   </value>
                 </block>
               </value>
               <next>
                 <block type="on_ext" id="{8trk71|3|UnAnpm6gpb">
                   <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="o/?z7K6?lGD}f_aR^cbe">
                       <field name="oid">default</field>
                     </shadow>
                     <block type="variables_get" id="IInnyKo:n^)nuasAZq5M">
                       <field name="VAR" id="$P`3uM[XkrE9(@HiGFBu">idsEG</field>
                     </block>
                   </value>
                   <statement name="STATEMENT">
                     <block type="variables_set" id="IUzxkNTU/yLozfr/n3U|">
                       <field name="VAR" id="G20i8z%)4lkwO++N2wzk">alleZuEG</field>
                       <value name="VALUE">
                         <block type="logic_boolean" id="{C;X;)szg#x,U-X+.{,{">
                           <field name="BOOL">TRUE</field>
                         </block>
                       </value>
                       <next>
                         <block type="controls_forEach" id="J4DE}E+116k(KN-VMb-!">
                           <field name="VAR" id="VbZ0/j:7;;xr{bl47F}E">id</field>
                           <value name="LIST">
                             <block type="variables_get" id="9.92}EPu,rOVT4#d6aQ4">
                               <field name="VAR" id="$P`3uM[XkrE9(@HiGFBu">idsEG</field>
                             </block>
                           </value>
                           <statement name="DO">
                             <block type="controls_if" id="8GKHo2_?}UKLFo|;J7!C">
                               <value name="IF0">
                                 <block type="get_value_var" id="*7)^`RT3-,q?!9FaDVEG">
                                   <field name="ATTR">val</field>
                                   <value name="OID">
                                     <shadow type="text" id="zP-}.xkRZ6~6C3YG.U(w">
                                       <field name="TEXT"></field>
                                     </shadow>
                                     <block type="variables_get" id="liN{2}[_:j.YKkSAg8D;">
                                       <field name="VAR" id="VbZ0/j:7;;xr{bl47F}E">id</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <statement name="DO0">
                                 <block type="variables_set" id="um:P!/~ceZoloV)v%cGX">
                                   <field name="VAR" id="G20i8z%)4lkwO++N2wzk">alleZuEG</field>
                                   <value name="VALUE">
                                     <block type="logic_boolean" id="]J}ST,2tVXk/XB|v~ID;">
                                       <field name="BOOL">FALSE</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="controls_flow_statements" id="_G4rP~yiOCg.l{axp=g5">
                                       <field name="FLOW">BREAK</field>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                             </block>
                           </statement>
                           <next>
                             <block type="update" id="KHk}V:IR:)3fiDU}(twh">
                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                               <field name="OID">Object ID</field>
                               <field name="WITH_DELAY">FALSE</field>
                               <value name="VALUE">
                                 <block type="variables_get" id="W91WE1,JujcUniwi{+8s">
                                   <field name="VAR" id="G20i8z%)4lkwO++N2wzk">alleZuEG</field>
                                 </block>
                               </value>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                   </statement>
                 </block>
               </next>
             </block>
           </next>
         </block>
         <block type="comment" id="+g|?HUZTb*t{z*p5FClV" x="563" y="62">
           <field name="COMMENT">OG: FK.STATE ... FK3.STATE</field>
           <next>
             <block type="variables_set" id="04TuZ7=ROWljr0uSV,?z">
               <field name="VAR" id="6f]Beg3Ga5U^VyR0GO+1">idsOG</field>
               <value name="VALUE">
                 <block type="lists_create_with" id="l9yok6-*4rbKysu`#^b`">
                   <mutation items="4"></mutation>
                   <value name="ADD0">
                     <block type="field_oid" id=";-Ujpb5V,9;.evx_?=$m">
                       <field name="oid">default</field>
                     </block>
                   </value>
                   <value name="ADD1">
                     <block type="field_oid" id="P`ljyAcpeu?-WH3?_ZAs">
                       <field name="oid">default</field>
                     </block>
                   </value>
                   <value name="ADD2">
                     <block type="field_oid" id="(UtlM93wE2JbCE8X+l!b">
                       <field name="oid">default</field>
                     </block>
                   </value>
                   <value name="ADD3">
                     <block type="field_oid" id="g+c6=TJ7O[6s1Bn_-Z)8">
                       <field name="oid">default</field>
                     </block>
                   </value>
                 </block>
               </value>
               <next>
                 <block type="on_ext" id="dq_L5E0y~Q1g?_d,SmJz">
                   <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">
                       <field name="oid">default</field>
                     </shadow>
                     <block type="variables_get" id="Vlg0u006k:t%k]9QDs1Z">
                       <field name="VAR" id="6f]Beg3Ga5U^VyR0GO+1">idsOG</field>
                     </block>
                   </value>
                   <statement name="STATEMENT">
                     <block type="variables_set" id="[]|{uU|;KRbr,.lADTpd">
                       <field name="VAR" id="Z7g|yLX7$U/|#:yvvA~R">alleZuOG</field>
                       <value name="VALUE">
                         <block type="logic_boolean" id="z|~QOvov)f5J6?wpq%hU">
                           <field name="BOOL">TRUE</field>
                         </block>
                       </value>
                       <next>
                         <block type="controls_forEach" id="BBW)5+,{dvLRi@f,=l!!">
                           <field name="VAR" id="VbZ0/j:7;;xr{bl47F}E">id</field>
                           <value name="LIST">
                             <block type="variables_get" id="6^*s+`6}5!P@d,k|amm_">
                               <field name="VAR" id="6f]Beg3Ga5U^VyR0GO+1">idsOG</field>
                             </block>
                           </value>
                           <statement name="DO">
                             <block type="controls_if" id="Xjt@|U/h{MX9f~?xP4Cs">
                               <value name="IF0">
                                 <block type="get_value_var" id="qVWrlA=X;*W:ON_X?la3">
                                   <field name="ATTR">val</field>
                                   <value name="OID">
                                     <shadow type="text">
                                       <field name="TEXT"></field>
                                     </shadow>
                                     <block type="variables_get" id="T$Z-]i3nT,^cn@5xFrNo">
                                       <field name="VAR" id="VbZ0/j:7;;xr{bl47F}E">id</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <statement name="DO0">
                                 <block type="variables_set" id="p|G;|wFHhqo]9qp!8O(j">
                                   <field name="VAR" id="Z7g|yLX7$U/|#:yvvA~R">alleZuOG</field>
                                   <value name="VALUE">
                                     <block type="logic_boolean" id="n}mbLjg.-pF.H[+@h^/m">
                                       <field name="BOOL">FALSE</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="controls_flow_statements" id="IK)_A/YZPtI#hma-FFt}">
                                       <field name="FLOW">BREAK</field>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                             </block>
                           </statement>
                           <next>
                             <block type="update" id="hqL;Gj$w8%Lv6{g_s-?G">
                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                               <field name="OID">Object ID</field>
                               <field name="WITH_DELAY">FALSE</field>
                               <value name="VALUE">
                                 <block type="variables_get" id="R:K-tkbSl;K@Cee*6,Ea">
                                   <field name="VAR" id="Z7g|yLX7$U/|#:yvvA~R">alleZuOG</field>
                                 </block>
                               </value>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                   </statement>
                   <next>
                     <block type="on_ext" id="bGY,V8[gtXOQ4w}qwB(+">
                       <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="7y9lgli2P!!yyGS})VfH">
                           <field name="oid">0_userdata.0.Blockly.Anwesenheit</field>
                         </shadow>
                       </value>
                       <statement name="STATEMENT">
                         <block type="controls_if" id="L0X1[Tae5Xn0fHaG-IB3">
                           <mutation elseif="1" else="1"></mutation>
                           <value name="IF0">
                             <block type="on_source" id="Jt%F)Z_eqZ3+k4rS0w~%">
                               <field name="ATTR">state.val</field>
                             </block>
                           </value>
                           <statement name="DO0">
                             <block type="variables_set" id="!oY`n,0xVl[RftNgBY4E">
                               <field name="VAR" id="b)@.oEmzD*@H~Dxr51%i">msg</field>
                               <value name="VALUE">
                                 <block type="text" id="3+@([LNF^Lapf!)C0T7`">
                                   <field name="TEXT">Willkommen zu Hause</field>
                                 </block>
                               </value>
                             </block>
                           </statement>
                           <value name="IF1">
                             <block type="logic_operation" id="SYG|X;:mj9{{FqC?^^OV">
                               <field name="OP">AND</field>
                               <value name="A">
                                 <block type="variables_get" id=".;9^fN[=)i)1tfZw15E)">
                                   <field name="VAR" id="G20i8z%)4lkwO++N2wzk">alleZuEG</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="variables_get" id="I}g]OeYnD^qZQ^I^17D`">
                                   <field name="VAR" id="Z7g|yLX7$U/|#:yvvA~R">alleZuOG</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <statement name="DO1">
                             <block type="variables_set" id="9s1-^J%i_A%SxP:L952o">
                               <field name="VAR" id="b)@.oEmzD*@H~Dxr51%i">msg</field>
                               <value name="VALUE">
                                 <block type="text" id="We#XLMeal.RFjBU@{VJd">
                                   <field name="TEXT">Alle Fenster geschlossen</field>
                                 </block>
                               </value>
                             </block>
                           </statement>
                           <statement name="ELSE">
                             <block type="variables_set" id="*m.bc/3M3Px|ux_SpKRl">
                               <field name="VAR" id="b)@.oEmzD*@H~Dxr51%i">msg</field>
                               <value name="VALUE">
                                 <block type="text" id="`W0B=0+Bc#-)XD/f{6Vn">
                                   <field name="TEXT">Offene Fenster im</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="text_append" id="SaqB4Yr+oZ^iopenQyev">
                                   <field name="VAR" id="b)@.oEmzD*@H~Dxr51%i">msg</field>
                                   <value name="TEXT">
                                     <shadow type="text" id="!864:@4R,=*CmkpOgy|{">
                                       <field name="TEXT"></field>
                                     </shadow>
                                     <block type="logic_ternary" id="%-+es}5`DYIlbtqiFe[|" inline="true">
                                       <value name="IF">
                                         <block type="variables_get" id="R=jlMVkmZf_;AuNo:eZE">
                                           <field name="VAR" id="G20i8z%)4lkwO++N2wzk">alleZuEG</field>
                                         </block>
                                       </value>
                                       <value name="THEN">
                                         <block type="text" id="eC`1p`62;~Q,TyXkg+F2">
                                           <field name="TEXT"></field>
                                         </block>
                                       </value>
                                       <value name="ELSE">
                                         <block type="text" id=":n30Z^,vw`pu%J=@PrCM">
                                           <field name="TEXT"> EG</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="text_append" id="J*qqC|*UIwp$5UYJqyQN">
                                       <field name="VAR" id="b)@.oEmzD*@H~Dxr51%i">msg</field>
                                       <value name="TEXT">
                                         <shadow type="text">
                                           <field name="TEXT"></field>
                                         </shadow>
                                         <block type="logic_ternary" id="{y6LyZygUxFjOe{:lf/c" inline="true">
                                           <value name="IF">
                                             <block type="variables_get" id="U1%gY1lJ^dgEEUA!7{OI">
                                               <field name="VAR" id="Z7g|yLX7$U/|#:yvvA~R">alleZuOG</field>
                                             </block>
                                           </value>
                                           <value name="THEN">
                                             <block type="text" id="6cfOvI=4,EMXr$o=ZQT^">
                                               <field name="TEXT"></field>
                                             </block>
                                           </value>
                                           <value name="ELSE">
                                             <block type="text" id="8#_zTtLap5.6C]x/;ek.">
                                               <field name="TEXT"> OG</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </statement>
                           <next>
                             <block type="whatsapp-cmb" id="cNpqeWb*@Ii_)aE#zQ5@" inline="true">
                               <field name="INSTANCE"></field>
                               <field name="LOG"></field>
                               <value name="MESSAGE">
                                 <shadow type="text" id="9PE|bmF4_#0vva49eZLO">
                                   <field name="TEXT">text</field>
                                 </shadow>
                                 <block type="variables_get" id="C6D2{50.}#pn(}`X?Qj%">
                                   <field name="VAR" id="b)@.oEmzD*@H~Dxr51%i">msg</field>
                                 </block>
                               </value>
                             </block>
                           </next>
                         </block>
                       </statement>
                     </block>
                   </next>
                 </block>
               </next>
             </block>
           </next>
         </block>
        </xml>
        

        T 1 Reply Last reply Reply Quote 0
        • T
          TWD83 @paul53 last edited by TWD83

          @paul53 Danke!!

          Immer bekomme aber immer die Meldung Fenster EG OG offen.

          Kann man so sehen was ich falsch gemacht habe?

          DJMarc75 paul53 2 Replies Last reply Reply Quote 0
          • DJMarc75
            DJMarc75 @TWD83 last edited by DJMarc75

            @twd83 sagte in Homematic Fensterkontakt:

            Kann man so sehen was ich falsch gemacht habe?

            Nein
            die Auflösung ist null nutzbar

            T 1 Reply Last reply Reply Quote 0
            • T
              TWD83 @DJMarc75 last edited by

              @djmarc75 das hilft mir natürlich nicht weiter lach.

              DJMarc75 1 Reply Last reply Reply Quote 0
              • DJMarc75
                DJMarc75 @TWD83 last edited by

                @twd83 Deine Auflösung ist zu niedrig... "lach"

                T 3 Replies Last reply Reply Quote 0
                • T
                  TWD83 @DJMarc75 last edited by

                  @djmarc75 kann man irgendwie den Blockly kopieren und hier einfügen?

                  1 Reply Last reply Reply Quote 0
                  • T
                    TWD83 @DJMarc75 last edited by

                    @djmarc75 ich gehe davon aus, das ich irgendwas nicht zugewiesen habe. Aber bin extremer Anfänger.

                    Homoran 1 Reply Last reply Reply Quote 0
                    • paul53
                      paul53 @TWD83 last edited by paul53

                      @twd83 sagte: immer die Meldung Fenster EG OG offen.

                      Bau einen Debug-Block ein, um zu sehen, welcher Fensterkontakt die Variable auf falsch setzt.

                      Blockly_temp.JPG

                      Damit die Variablen den richtigen Wert haben, muss im EG und im OG ein Fenster geschlossen werden.

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        TWD83 @DJMarc75 last edited by TWD83

                        @djmarc75 so... Ich habe in dem Muster Object ID: Anwesenheit zugewiesen und die FK STATES.

                        1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @TWD83 last edited by

                          @twd83 sagte in Homematic Fensterkontakt:

                          irgendwas nicht zugewiesen

                          dann such mal ob irgendwo noch ObjectID steht.
                          ich kann da nichts erkennen.

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            TWD83 @paul53 last edited by

                            @paul53 sagte in Homematic Fensterkontakt:

                            Bau einen Debug-Block ein, um zu sehen, welcher Fensterkontakt die Variable auf falsch setzt.

                            Also wie genau mache ich das?

                            Bau einen Debug-Block ein, um zu sehen, welcher Fensterkontakt die Variable auf falsch setzt.

                            Fenster sind im Moment alle zu. Habe es auch in der Homematic kontrolliert.
                            Das passt.

                            1 Reply Last reply Reply Quote 0
                            • T
                              TWD83 @Homoran last edited by

                              @homoran in wie fern? habe neue Bilder hoch geladen. siehe davor.

                              Homoran 1 Reply Last reply Reply Quote 0
                              • Homoran
                                Homoran Global Moderator Administrators @TWD83 last edited by

                                @twd83 sagte in Homematic Fensterkontakt:

                                siehe davor.

                                aktualisiere!
                                eigenen Datenpunkt in dem die Meldung kommen soll verknüpfen

                                T 1 Reply Last reply Reply Quote 0
                                • T
                                  TWD83 @Homoran last edited by

                                  @homoran ich habe da noch zweimal "Obejct ID" stehen das ist richtig. Was muss hier verknüpft werden? sorry mega Anfänger....

                                  Homoran paul53 2 Replies Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @TWD83 last edited by

                                    @twd83 sagte in Homematic Fensterkontakt:

                                    Was muss hier verknüpft werden?

                                    @homoran sagte in Homematic Fensterkontakt:

                                    eigenen Datenpunkt in dem die Meldung kommen soll

                                    @twd83 sagte in Homematic Fensterkontakt:

                                    sorry mega Anfänger....

                                    mit der dauernden Wiederholung diesen Satzes wird das nicht besser.

                                    T 1 Reply Last reply Reply Quote 0
                                    • paul53
                                      paul53 @TWD83 last edited by paul53

                                      @twd83
                                      Verwende die beiden vorhandenen Datenpunkte "Fenster und Türen xG" und initialisiere die Variablen beim Skriptstart mit dem Wert des zugehörigen Datenpunktes.

                                      Blockly_temp.JPG

                                      Danach einmal ein Fenster im EG und im OG öffnen und wieder schließen - dann sollte es passen.

                                      T 1 Reply Last reply Reply Quote 0
                                      • T
                                        TWD83 @Homoran last edited by TWD83

                                        Da für EG und EG...

                                        Homoran 1 Reply Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @TWD83 last edited by

                                          @twd83 sagte in Homematic Fensterkontakt:

                                          Da für EG und EG...

                                          ja! für EG und EG

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            TWD83 @paul53 last edited by TWD83

                                            @paul53 EG klappt OG sagt er immer geschlossen.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            748
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            43
                                            1579
                                            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