Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. [gelöst]Brauche ein Beispiel für Blocky

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [gelöst]Brauche ein Beispiel für Blocky

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

      @chucky666:

      Kann mir einer ein Beispiel sagen ?

      Ich habe an meiner Haustür einen türsensor der soll je nach zu stand eine pushnachricht ( oder Telegramm Nachricht ) schicken . `
      Hallo chucky666
      147_beispiel.png

      Als Import:

      ! ````
      <xml xmlns="http://www.w3.org/1999/xhtml"><block type="on_ext" id="tA2{*%zI!08PEi=LLO0q" x="-12" y="12"><mutation items="1"></mutation>
      <field name="CONDITION">ne</field>

      <value name="OID0"><shadow type="field_oid" id="n~_c1QB^Dr6Bd^MeJVCF"><field name="oid">hm-rpc.0.JEQ0247966.1.STATE</field></shadow></value> 
      <statement name="STATEMENT"><block type="controls_if" id=":*q^L+rekE=k[@isGvu2"><mutation else="1"></mutation>
          <value name="IF0"><block type="logic_compare" id="ZyDdjiQ0zLE`GTWv~|#E"><field name="OP">EQ</field>
              <value name="A"><block type="get_value" id=".l5k|ss}7#xf!_Mq|*4P"><field name="ATTR">val</field>
                  <field name="OID">ID auswählen</field></block></value> 
              <value name="B"><block type="logic_boolean" id="Mh7H|iHs(z/7YhG1j3g8"><field name="BOOL">TRUE</field></block></value></block></value> 
          <statement name="DO0"><block type="pushover" id="t8r7,)A4fc)@vkZRgeI("><field name="PRIORITY">0</field>
      
              <value name="MESSAGE"><shadow type="text" id="pdhb*xNeY9+=cc@Gffs]"><field name="TEXT">text</field></shadow> 
                <block type="text" id="cEdFFWM#4QD?iGs@Dw9%"><field name="TEXT">Tür auf</field></block></value></block></statement> 
          <statement name="ELSE"><block type="pushover" id="b@N[#d=,9bZH0=yW}#VM"><field name="PRIORITY">0</field>
      
              <value name="MESSAGE"><shadow type="text" id="pdhb*xNeY9+=cc@Gffs]"><field name="TEXT">text</field></shadow> 
                <block type="text" id="UR,.ioWcP4hy(~cc;0PQ"><field name="TEXT">Tür zu</field></block></value></block></statement></block></statement></block></xml> 
      

      ! ````

      Grüße

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

        Danke , teste ich morgen

        Funktioniert das auch mit Telegramm ?

        Gesendet von iPhone mit Tapatalk Pro

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

          @chucky666:

          Danke , teste ich morgen `
          Gibst Du auch mal eine Antwort auf Deine Tests?

          Grüße

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

            Ja teste es morgen , bin gerade arbeiten

            Gesendet von iPhone mit Tapatalk Pro

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

              @rantanplan:

              @chucky666:

              Danke , teste ich morgen `
              Gibst Du auch mal eine Antwort auf Deine Tests?

              Grüße `

              Super großes Dankeschön

              Es funktioniert super mit Telegramm

              Gesendet von iPad mit Tapatalk Pro

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

                Hallo liebe Iobroker Gemeinde

                Ich möchte gerne von meinen Temperatur Sensoren , zu gewissen Uhrzeiten eine Nachricht ( Telegram) haben .

                Das Problem das meine 433mhz Sensoren alle 2 Minuten ein Siganal schicken

                Hat jemand eine Blocky Lösung ?

                Gesendet von iPad mit Tapatalk Pro

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

                  Hallo chucky666

                  Zeig doch mal Deine Versuche.

                  Vielleicht kann man darauf aufbauen.

                  Grüße

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

                    Hallo

                    Ich bekomme zwar eine Nachricht , aber ich bekomme es nicht hin das der Wert über Telegramm verschickt wird ~~![](</s><URL url=)<link_text text="https://uploads.tapatalk-cdn.com/201703 ... 312bde.png">https://uploads.tapatalk-cdn.com/20170305/0f63cdd4c5bcda2b550ce6d635312bde.png</link_text>" />

                    Gesendet von iPad mit Tapatalk Pro~~

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

                      Hallo chucky666

                      Du warst fast schon auf dem richtigen Weg.

                      Mit einem Trigger beginnt/startet ein Blockly/Script.

                      Dein Trigger reagiert auf die Temperaturänderung und dann wird das was "innerhalb" des Triggers steht ausgeführt und eine Nachricht versendet.

                      Das was "außen" steht wird nicht ausgeführt!

                      So sieht es aus, wenn Du auf einen Datenpunkt triggerst.
                      147_beispiel-1.png

                      Oder auf Zeit. In dem Beispiel jede Minute.
                      147_beispiel-2.png

                      Grüße

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

                        Danke , schickt er dann den aktuellen Wert ?

                        Gesendet von iPad mit Tapatalk Pro

                        1 Reply Last reply Reply Quote 0
                        • Jeeper.at
                          Jeeper.at last edited by

                          In deinem Blockly schickt er den Text "test"

                          Lg

                          Günther

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

                            Ok, ich möchte aber das er mir den Wert ( zB 22grad ) schickt

                            Gesendet von iPad mit Tapatalk Pro

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

                              @chucky666:

                              Danke , schickt er dann den aktuellen Wert ? `
                              Na, überlege doch bitte mal.

                              Da steht Meldung "Test". Also bekommst Du auf Telegram "Test" geschickt.

                              Wenn Du den Wert haben möchtest, mußt Du den Wert versenden.

                              Kleiner Tipp, schau Dir mal die Bausteine unter System mal an.

                              Hier im Forum gibt es schon einige Beispiele. Suche mal nach Blockly.

                              Probiere mal den Wert zu senden.

                              Wenn es nicht klappt, stelle Deinen Versuch hier rein.

                              Grüße

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

                                Hallo

                                Danke für deine Hilfe

                                So einfach habe ich mir es nicht vorgestellt

                                ~~![](</s><URL url=)<link_text text="https://uploads.tapatalk-cdn.com/201703 ... 7ff1f4.png">https://uploads.tapatalk-cdn.com/20170305/ee0fc648216a507a0dea996fbc7ff1f4.png</link_text>" />

                                Gesendet von iPad mit Tapatalk Pro~~

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

                                  @chucky666:

                                  Danke für deine Hilfe `
                                  Immer wieder gern 😄
                                  @chucky666:

                                  So einfach habe ich mir es nicht vorgestellt `
                                  Schwer kommt bestimmt noch 😉

                                  Grüße

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

                                    Ich brauche noch mal Hilfe

                                    Der Tür Sensor soll eine Lampe einschalten ( das geht )

                                    Und nach ca. 5 min wieder ausschalten .

                                    ~~![](</s><URL url=)<link_text text="https://uploads.tapatalk-cdn.com/201703 ... 332adb.png">https://uploads.tapatalk-cdn.com/20170307/ab5a8ed8dd4fcf8e983f2724f9332adb.png</link_text>" />

                                    Gesendet von iPad mit Tapatalk Pro~~

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

                                      Hallo chucky666

                                      Nach Ablauf der eingetragenen Zeit, wird das was "innerhalb" eines Timers steht ausgeführt.

                                      Dein Aktor soll nach Ablauf des Timers ausgeschaltet werden.

                                      Warum tust Du es dann nicht?

                                      Einschalten machst Du richtig.

                                      Ausschalten geht genauso, nur mit "unwahr".

                                      Grüße

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

                                        Danke deine "" haben mir die Augen geöffnet

                                        Gesendet von iPad mit Tapatalk Pro

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

                                          Hallo Zusammen

                                          Gibt es eine Blocky Funktion zB. An warten an oder aus warten aus ?

                                          Also das ein Signal nach einer gewissen Zeit noch mal geschickt wird

                                          Gruß

                                          Gesendet von iPad mit Tapatalk Pro

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

                                            Hallo chucky666

                                            Schau doch mal unter "Timeouts", da gibt es jeweils ein "STOP".

                                            Grüße

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            505
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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