Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Script Fenster auf Telegram Nachricht

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Script Fenster auf Telegram Nachricht

    This topic has been deleted. Only users with topic management privileges can see it.
    • dslraser
      dslraser Forum Testing Most Active @technodj23 last edited by

      @technodj23
      und hier noch mit Beschreibung und beiden Varianten und als Blockly Export.

      https://forum.iobroker.net/post/225979

      1 Reply Last reply Reply Quote 0
      • T
        technodj23 last edited by

        Habe es jetzt fast hinbekommen. Aber es liegt wohl an den Fensterkontakten.
        Egal was ich einstelle (auslösen wahr, nicht wahr) ich bekomme immer auch eine Nachricht wenn ich das Fenster schließe. 😞

        Na ,cih probiere noch bisschen rum, irgendwie muss es ja gehen.

        crunchip J 2 Replies Last reply Reply Quote 0
        • crunchip
          crunchip Forum Testing Most Active @technodj23 last edited by

          @technodj23 stell mal deinen trigger auf wahr

          1 Reply Last reply Reply Quote 0
          • J
            Jan1 @technodj23 last edited by Jan1

            @technodj23
            welche Fenster Kontakte hast Du und wie sieht der DP dazu aus? reagiert der DP wie gewünscht beim Öffnen?
            Auf Wahr als Trigger bringt Dich hier im Moment nicht weiter.

            1 Reply Last reply Reply Quote 0
            • T
              technodj23 last edited by

              Habe die Homematic IP Kontakte, die bei dem Starter Set beilagen.

              Unbenannt-2.jpg

              Das würde ich als Trigger nehmen?

              J crunchip 3 Replies Last reply Reply Quote 0
              • J
                Jan1 @technodj23 last edited by

                @technodj23
                reagiert der DP beim Öffnen wie er soll?

                T 1 Reply Last reply Reply Quote 0
                • T
                  technodj23 @Jan1 last edited by

                  @Jan1 ja und leider auch beim schließen.

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    Jan1 @technodj23 last edited by Jan1

                    @technodj23
                    Ich dachte es geht auch beim Öffnen nicht, dann eben was @crunchip geschrieben hat, dann bekommst nur ne Meldung beim Öffnen.
                    Alternativ kannst aber auch ein FALLS Block hinzufügen und dann als Bedingung wahr abfragen, macht aber nur Sinn, wenn DU auch bei Schließen eine passende schließen Meldung haben möchtest.

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      technodj23 @Jan1 last edited by

                      @Jan1 Na eben nicht, ich bekomme auch die Meldung: Fenster auf, wenn ich das Fenster schließe.

                      Na egal, ich probiere weiter....Danke

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        Jan1 @technodj23 last edited by

                        @technodj23
                        OK, hatte ich falsch verstanden. Lösung dazu hast ja nun 2 zur Auswahl 🙂

                        1 Reply Last reply Reply Quote 0
                        • crunchip
                          crunchip Forum Testing Most Active @technodj23 last edited by

                          @technodj23 du kannst auch, wenn du dir den Zustand einzelner Fenster/ Türen per Telegram schicken möchtest auch einfach auf den <<Schraubenschlüssel und wählst telegram aus
                          c731b3a4-5f9f-477e-8eb2-cfc1fb04fe51-image.png

                          J 1 Reply Last reply Reply Quote 0
                          • J
                            Jan1 @crunchip last edited by

                            @crunchip
                            3. Möglichkeit 😊

                            1 Reply Last reply Reply Quote 0
                            • T
                              technodj23 last edited by

                              Ich weiß, aber ich wollte das Ganze ja weiterspinnen, das Alexa mir sagt das die Fenster auf sind. Aber wenn ich jetzt schon scheitere 😞 Welche Lösung soll jetzt nochmal gehen?

                              J 1 Reply Last reply Reply Quote 0
                              • J
                                Jan1 @technodj23 last edited by

                                @technodj23
                                Stell im Trigger auf "wahr" um.
                                Die Ansage über Alexa ist was ganz anderes.

                                T 1 Reply Last reply Reply Quote 0
                                • T
                                  technodj23 @Jan1 last edited by

                                  @Jan1 Es steht doch auf wahr. Geht aber nicht!
                                  Egal, ich will euch damit nicht weiter nerven. Muss ich mich mal nach anderen Kontakten umsehen.
                                  Gehen irgendwelche out of the Box?

                                  J 1 Reply Last reply Reply Quote 0
                                  • J
                                    Jan1 @technodj23 last edited by

                                    @technodj23
                                    Mach mal ein Screenshot vom aktuellen Blockly

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      technodj23 last edited by

                                      screenshot.jpg

                                      crunchip 1 Reply Last reply Reply Quote 0
                                      • crunchip
                                        crunchip Forum Testing Most Active @technodj23 last edited by

                                        @technodj23 nimm mal das, ersetze den Schalter mit deinem Sensor

                                        <xml xmlns="http://www.w3.org/1999/xhtml">
                                         <block type="on_ext" id="#nUt3`@[Ch*7kqblSA0t" x="-412" y="-87">
                                           <mutation items="1"></mutation>
                                           <field name="CONDITION">ne</field>
                                           <field name="ACK_CONDITION"></field>
                                           <value name="OID0">
                                             <shadow type="field_oid" id="kz43P/LjU.sY7r~9t)0,">
                                               <field name="oid">sonoff.0.TV-Schalter.POWER</field>
                                             </shadow>
                                           </value>
                                           <statement name="STATEMENT">
                                             <block type="controls_if" id="X@EIF86c},5PYJcCcm/7">
                                               <mutation elseif="1"></mutation>
                                               <value name="IF0">
                                                 <block type="logic_compare" id="#DY~)|B^PC]9t[[9uD]#">
                                                   <field name="OP">EQ</field>
                                                   <value name="A">
                                                     <block type="get_value" id="bw,E;Ddt??{(@(Glnp#_">
                                                       <field name="ATTR">val</field>
                                                       <field name="OID">sonoff.0.TV-Schalter.POWER</field>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <block type="logic_boolean" id="#zwEC{a+_%:aeqolr/#!">
                                                       <field name="BOOL">TRUE</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <statement name="DO0">
                                                 <block type="telegram" id="ZSja-KUN%v*1k6ELXuZ|">
                                                   <field name="INSTANCE">.0</field>
                                                   <field name="LOG">log</field>
                                                   <field name="SILENT">FALSE</field>
                                                   <field name="PARSEMODE">default</field>
                                                   <value name="MESSAGE">
                                                     <shadow type="text" id="TS}l]v*t%:5ae7S`2y8Y">
                                                       <field name="TEXT">TV an</field>
                                                     </shadow>
                                                   </value>
                                                 </block>
                                               </statement>
                                               <value name="IF1">
                                                 <block type="logic_compare" id="_*+DJVxGW[vCG0n#4}Xs">
                                                   <field name="OP">EQ</field>
                                                   <value name="A">
                                                     <block type="get_value" id="d/%}HX~lz=w:UF:Y^@7.">
                                                       <field name="ATTR">val</field>
                                                       <field name="OID">sonoff.0.TV-Schalter.POWER</field>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <block type="logic_boolean" id="18uujm:bS=gbe|t;CLVJ">
                                                       <field name="BOOL">FALSE</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <statement name="DO1">
                                                 <block type="telegram" id="ylg4WLe*:_L!7fvQO;9^">
                                                   <field name="INSTANCE">.0</field>
                                                   <field name="LOG">log</field>
                                                   <field name="SILENT">FALSE</field>
                                                   <field name="PARSEMODE">default</field>
                                                   <value name="MESSAGE">
                                                     <shadow type="text" id="cB_UsNnDu(|dKnUtLOyJ">
                                                       <field name="TEXT">TV aus</field>
                                                     </shadow>
                                                   </value>
                                                 </block>
                                               </statement>
                                             </block>
                                           </statement>
                                         </block>
                                        </xml>
                                        
                                        T 1 Reply Last reply Reply Quote 0
                                        • T
                                          technodj23 @crunchip last edited by

                                          @crunchip Perfekt! Das funktioniert!

                                          crunchip J 2 Replies Last reply Reply Quote 0
                                          • crunchip
                                            crunchip Forum Testing Most Active @technodj23 last edited by crunchip

                                            @technodj23 mal ne andere Frage, nachdem ich mir gerade dein Bild noch mal angesehen habe, siehe Markierung javascript.0
                                            du hast da 2mal die Instanz 0
                                            2b1705cc-f01a-45ba-b5cd-e9ab69cb9bfe-image.png

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            903
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            51
                                            2748
                                            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