Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. [gelöst]Brauche ein Beispiel für Blocky

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    719

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    18
    1
    5.9k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.5k

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

Scheduled Pinned Locked Moved Skripten / Logik
43 Posts 5 Posters 10.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • chucky666C Online
    chucky666C Online
    chucky666
    wrote on last edited by
    #1

    Hallo Zusammen

    Wäre einer so nett und postet ein Beispiel für Blocky ?

    Ich möchte zB meine Rollos Sonnenuntergang und Sonnenaufgang steuern , und diverse Steckdosen per Zeit steuern .

    Ich bekomme es leider nicht hin

    Danke

    Gruß Chucky

    Gesendet von iPad mit Tapatalk Pro

    1 Reply Last reply
    0
    • R Offline
      R Offline
      RappiRN
      Most Active
      wrote on last edited by
      #2

      Warum machst du das nicht in der CCU?

      ! 2216_blockly1.jpg

      Das wäre mal ein einfaches Beispiel von einem Anfänger, ist bestimmt nicht optimal, könnte aber so funktionieren. Mit den Mathematik-Bausteinen kannst du anstelle der Zeit noch weitere Bedingungen verknüpfen. Beim Wert kannst du anstelle der Zahl auch das vorher vorhandene wahr/unwahr verwenden, je nachdem, was du schalten willst. Bei ObjektID musst du nach die zu schaltende ID auswählen. Dann speichern und starten.

      Rappi

      1 Reply Last reply
      0
      • chucky666C Online
        chucky666C Online
        chucky666
        wrote on last edited by
        #3

        Hallo

        Und Danke für deine Antwort

        Ich möchte mich mit Blocky beschäftigen.

        Aber irgendwie bekomme ich es nicht hin .

        ~~![](</s><URL url=)<link_text text="https://uploads.tapatalk-cdn.com/201702 ... f52dd1.png">https://uploads.tapatalk-cdn.com/20170226/24454580e79cc2213faac7c7b6f52dd1.png</link_text>" />

        Gesendet von iPhone mit Tapatalk Pro~~

        1 Reply Last reply
        0
        • chucky666C Online
          chucky666C Online
          chucky666
          wrote on last edited by
          #4

          So ich habe es geschafft

          ~~![](</s><URL url=)<link_text text="https://uploads.tapatalk-cdn.com/201702 ... 5344f2.png">https://uploads.tapatalk-cdn.com/20170226/7f5a236becddd02d65fbb69c335344f2.png</link_text>" />

          So zweites Problem , ich möchte das Türsensor Pushnachrichten verschickt . Hat einer ein Beispiel? Welcher Push Service ist gut ?

          Gesendet von iPad mit Tapatalk Pro~~

          1 Reply Last reply
          0
          • lobomauL Offline
            lobomauL Offline
            lobomau
            wrote on last edited by
            #5

            @chucky666:

            So ich habe es geschafft

            So zweites Problem , ich möchte das Türsensor Pushnachrichten verschickt . Hat einer ein Beispiel? Welcher Push Service ist gut ?

            Gesendet von iPad mit Tapatalk Pro `
            Ich finde telegram toll. Habe aber auch keine Erfahrungen mit den anderen.

            Host: NUC8i3 mit Proxmox:

            • ioBroker CT Debian 13, npm 10.9.4, nodejs 22.21.0
            • Slave: Pi4
            1 Reply Last reply
            0
            • chucky666C Online
              chucky666C Online
              chucky666
              wrote on last edited by
              #6

              Telegramm ist kostenlos?

              Da kann ich es auch so machen das wenn die Tür auf geht ich eine Nachricht bekomme ?

              Gesendet von iPhone mit Tapatalk Pro

              1 Reply Last reply
              0
              • lobomauL Offline
                lobomauL Offline
                lobomau
                wrote on last edited by
                #7

                @chucky666:

                Telegramm ist kostenlos?

                Da kann ich es auch so machen das wenn die Tür auf geht ich eine Nachricht bekomme ?

                Gesendet von iPhone mit Tapatalk Pro `
                Ganz genau. Ist auf dem Handy ein Programm wie whatsapp.

                Installation und Konfiguration des telegram Adapters: https://www.youtube.com/watch?v=iVUI-sJKU_c

                Host: NUC8i3 mit Proxmox:

                • ioBroker CT Debian 13, npm 10.9.4, nodejs 22.21.0
                • Slave: Pi4
                1 Reply Last reply
                0
                • chucky666C Online
                  chucky666C Online
                  chucky666
                  wrote on last edited by
                  #8

                  Danke dir , teste es die Tage mal

                  Gesendet von iPhone mit Tapatalk Pro

                  1 Reply Last reply
                  0
                  • chucky666C Online
                    chucky666C Online
                    chucky666
                    wrote on last edited by
                    #9

                    Hallo Zusammen

                    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 .

                    Gesendet von iPhone mit Tapatalk Pro

                    1 Reply Last reply
                    0
                    • rantanplanR Offline
                      rantanplanR Offline
                      rantanplan
                      wrote on last edited by
                      #10

                      @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

                      Rantanplan

                      CCU3 / MS Server 2019(VM) / Scripten mit Blockly

                      1 Reply Last reply
                      0
                      • chucky666C Online
                        chucky666C Online
                        chucky666
                        wrote on last edited by
                        #11

                        Danke , teste ich morgen

                        Funktioniert das auch mit Telegramm ?

                        Gesendet von iPhone mit Tapatalk Pro

                        1 Reply Last reply
                        0
                        • rantanplanR Offline
                          rantanplanR Offline
                          rantanplan
                          wrote on last edited by
                          #12

                          @chucky666:

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

                          Grüße

                          Rantanplan

                          CCU3 / MS Server 2019(VM) / Scripten mit Blockly

                          1 Reply Last reply
                          0
                          • chucky666C Online
                            chucky666C Online
                            chucky666
                            wrote on last edited by
                            #13

                            Ja teste es morgen , bin gerade arbeiten

                            Gesendet von iPhone mit Tapatalk Pro

                            1 Reply Last reply
                            0
                            • chucky666C Online
                              chucky666C Online
                              chucky666
                              wrote on last edited by
                              #14

                              @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
                              0
                              • chucky666C Online
                                chucky666C Online
                                chucky666
                                wrote on last edited by
                                #15

                                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
                                0
                                • rantanplanR Offline
                                  rantanplanR Offline
                                  rantanplan
                                  wrote on last edited by
                                  #16

                                  Hallo chucky666

                                  Zeig doch mal Deine Versuche.

                                  Vielleicht kann man darauf aufbauen.

                                  Grüße

                                  Rantanplan

                                  CCU3 / MS Server 2019(VM) / Scripten mit Blockly

                                  1 Reply Last reply
                                  0
                                  • chucky666C Online
                                    chucky666C Online
                                    chucky666
                                    wrote on last edited by
                                    #17

                                    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
                                    0
                                    • rantanplanR Offline
                                      rantanplanR Offline
                                      rantanplan
                                      wrote on last edited by
                                      #18

                                      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

                                      Rantanplan

                                      CCU3 / MS Server 2019(VM) / Scripten mit Blockly

                                      1 Reply Last reply
                                      0
                                      • chucky666C Online
                                        chucky666C Online
                                        chucky666
                                        wrote on last edited by
                                        #19

                                        Danke , schickt er dann den aktuellen Wert ?

                                        Gesendet von iPad mit Tapatalk Pro

                                        1 Reply Last reply
                                        0
                                        • Jeeper.atJ Offline
                                          Jeeper.atJ Offline
                                          Jeeper.at
                                          wrote on last edited by
                                          #20

                                          In deinem Blockly schickt er den Text "test"

                                          Lg

                                          Günther

                                          1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          287

                                          Online

                                          32.7k

                                          Users

                                          82.6k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe