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. ioBroker Allgemein
  4. Whattsapp Nachrichten senden

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.3k

Whattsapp Nachrichten senden

Scheduled Pinned Locked Moved ioBroker Allgemein
23 Posts 17 Posters 10.4k Views 20 Watching
  • 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.
  • H hwiedermann

    soweit klapp es, zwar träge aber geht.
    Frage dazu: hat jemand das Blockly schon mal umgebaut, um den Text ggf. mit dyn. Inhalten zu füllen?

    Ich würde gerne die Telegrambenachrichtigung vom Abfallkalender, auf Whatsapp umbauen.

    das Script dazu sieht so aus:

    
    BlocklyJavascriptTypeScript
    Protokoll
    Ausgewählte Blöcke exportieren
    <xml xmlns="https://developers.google.com/blockly/xml">
      <block type="schedule" id="-[MKJG41a;~?S0*}DSSh" x="63" y="87">
        <field name="SCHEDULE">0 18 * * *</field>
        <statement name="STATEMENT">
          <block type="comment" id="{p2u3o5[]%d~Va$lSA]?">
            <field name="COMMENT">Benachrichtigung Abholung morgen</field>
            <next>
              <block type="controls_if" id="NQzTFsw?rX9,mxeD{W/(">
                <value name="IF0">
                  <block type="logic_compare" id="l43Mc;I];Z^;}(7s8awu">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="get_value" id="ICyrLiR@FgaZO`G;g1u8">
                        <field name="ATTR">val</field>
                        <field name="OID">trashschedule.0.next.daysleft</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_number" id="$X4aEU8Qouhb`Vc`Uh^J">
                        <field name="NUM">1</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="telegram" id="ro6=i|?@w$ePr!,I^Y!L">
                    <field name="INSTANCE"></field>
                    <field name="LOG"></field>
                    <field name="SILENT">FALSE</field>
                    <field name="PARSEMODE">default</field>
                    <value name="MESSAGE">
                      <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="#v91j!CJu3!W`ds3T!L3">
                        <field name="TEXT">Heute wird der Müll abgeholt.</field>
                      </shadow>
                      <block type="text_join" id="yIH-WeBz{3f@94zt~sES">
                        <mutation items="3"></mutation>
                        <value name="ADD0">
                          <block type="text" id="VT;e5[te#]C?VG+aP5*I">
                            <field name="TEXT">Morgen wird </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="get_value" id="h(%3.+E(c1FMMJ|(8du-">
                            <field name="ATTR">val</field>
                            <field name="OID">trashschedule.0.next.typestext</field>
                          </block>
                        </value>
                        <value name="ADD2">
                          <block type="text" id="0m#?+uzBtl^W8umcb_7,">
                            <field name="TEXT"> abgeholt.</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="schedule" id="ZnNDX(Tb(`s=ajP]x-[5">
            <field name="SCHEDULE">0 6 * * *</field>
            <statement name="STATEMENT">
              <block type="comment" id="=!s7~ajg[~q:A3VmGoP(">
                <field name="COMMENT">Benachrichtigung Abholung heute</field>
                <next>
                  <block type="controls_if" id="433KGX.Bm^TvBd3;8YBe">
                    <value name="IF0">
                      <block type="logic_compare" id="960arKE3Q2b[y~]H%klG">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="get_value" id="]RqhEEofo;Hz*Q_Okmdu">
                            <field name="ATTR">val</field>
                            <field name="OID">trashschedule.0.next.daysleft</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="z~GyX0lvG$4s*uI|M29t">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="telegram" id="#Uwl/SB!.p0S11xggpr/">
                        <field name="INSTANCE"></field>
                        <field name="LOG"></field>
                        <field name="SILENT">FALSE</field>
                        <field name="PARSEMODE">default</field>
                        <value name="MESSAGE">
                          <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="#v91j!CJu3!W`ds3T!L3">
                            <field name="TEXT">Heute wird der Müll abgeholt.</field>
                          </shadow>
                          <block type="text_join" id="/ICuBeuesWQf83ni{qvD">
                            <mutation items="3"></mutation>
                            <value name="ADD0">
                              <block type="text" id="2XWeaLpPG@+fY?VT{,Ul">
                                <field name="TEXT">Heute wird die </field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="get_value" id="inxfq7580!vk1R/Fc]31">
                                <field name="ATTR">val</field>
                                <field name="OID">trashschedule.0.next.typestext</field>
                              </block>
                            </value>
                            <value name="ADD2">
                              <block type="text" id="I9?n46$O-rH.QIc8%Swf">
                                <field name="TEXT"> abgeholt.</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </xml>
    <xml xmlns="https://developers.google.com/blockly/xml">
      <block type="schedule" id="-[MKJG41a;~?S0*}DSSh" x="63" y="87">
        <field name="SCHEDULE">0 18 * * *</field>
        <statement name="STATEMENT">
          <block type="comment" id="{p2u3o5[]%d~Va$lSA]?">
            <field name="COMMENT">Benachrichtigung Abholung morgen</field>
            <next>
              <block type="controls_if" id="NQzTFsw?rX9,mxeD{W/(">
                <value name="IF0">
                  <block type="logic_compare" id="l43Mc;I];Z^;}(7s8awu">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="get_value" id="ICyrLiR@FgaZO`G;g1u8">
                        <field name="ATTR">val</field>
                        <field name="OID">trashschedule.0.next.daysleft</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_number" id="$X4aEU8Qouhb`Vc`Uh^J">
                        <field name="NUM">1</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="telegram" id="ro6=i|?@w$ePr!,I^Y!L">
                    <field name="INSTANCE"></field>
                    <field name="LOG"></field>
                    <field name="SILENT">FALSE</field>
                    <field name="PARSEMODE">default</field>
                    <value name="MESSAGE">
                      <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="#v91j!CJu3!W`ds3T!L3">
                        <field name="TEXT">Heute wird der Müll abgeholt.</field>
                      </shadow>
                      <block type="text_join" id="yIH-WeBz{3f@94zt~sES">
                        <mutation items="3"></mutation>
                        <value name="ADD0">
                          <block type="text" id="VT;e5[te#]C?VG+aP5*I">
                            <field name="TEXT">Morgen wird </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="get_value" id="h(%3.+E(c1FMMJ|(8du-">
                            <field name="ATTR">val</field>
                            <field name="OID">trashschedule.0.next.typestext</field>
                          </block>
                        </value>
                        <value name="ADD2">
                          <block type="text" id="0m#?+uzBtl^W8umcb_7,">
                            <field name="TEXT"> abgeholt.</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="schedule" id="ZnNDX(Tb(`s=ajP]x-[5">
            <field name="SCHEDULE">0 6 * * *</field>
            <statement name="STATEMENT">
              <block type="comment" id="=!s7~ajg[~q:A3VmGoP(">
                <field name="COMMENT">Benachrichtigung Abholung heute</field>
                <next>
                  <block type="controls_if" id="433KGX.Bm^TvBd3;8YBe">
                    <value name="IF0">
                      <block type="logic_compare" id="960arKE3Q2b[y~]H%klG">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="get_value" id="]RqhEEofo;Hz*Q_Okmdu">
                            <field name="ATTR">val</field>
                            <field name="OID">trashschedule.0.next.daysleft</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="z~GyX0lvG$4s*uI|M29t">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="telegram" id="#Uwl/SB!.p0S11xggpr/">
                        <field name="INSTANCE"></field>
                        <field name="LOG"></field>
                        <field name="SILENT">FALSE</field>
                        <field name="PARSEMODE">default</field>
                        <value name="MESSAGE">
                          <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="#v91j!CJu3!W`ds3T!L3">
                            <field name="TEXT">Heute wird der Müll abgeholt.</field>
                          </shadow>
                          <block type="text_join" id="/ICuBeuesWQf83ni{qvD">
                            <mutation items="3"></mutation>
                            <value name="ADD0">
                              <block type="text" id="2XWeaLpPG@+fY?VT{,Ul">
                                <field name="TEXT">Heute wird die </field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="get_value" id="inxfq7580!vk1R/Fc]31">
                                <field name="ATTR">val</field>
                                <field name="OID">trashschedule.0.next.typestext</field>
                              </block>
                            </value>
                            <value name="ADD2">
                              <block type="text" id="I9?n46$O-rH.QIc8%Swf">
                                <field name="TEXT"> abgeholt.</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </xml>
    
    
    dslraserD Offline
    dslraserD Offline
    dslraser
    Forum Testing Most Active
    wrote on last edited by
    #21

    @hwiedermann
    bei mir klappt nicht mal der Import von dem Blockly. (die ersten Zeilen sehen auch komisch aus. Zeile 1-4 gehört beim Blockly Export da eigentlich nicht hin)

    H 2 Replies Last reply
    0
    • dslraserD dslraser

      @hwiedermann
      bei mir klappt nicht mal der Import von dem Blockly. (die ersten Zeilen sehen auch komisch aus. Zeile 1-4 gehört beim Blockly Export da eigentlich nicht hin)

      H Offline
      H Offline
      hwiedermann
      wrote on last edited by
      #22

      @dslraser ist soeben frisch aus dem Editor gekommen. Komisch...

      Hier als Bild nochmal..

      06bec8c9-eb36-4ca4-9df5-633f45aa1f37-image.png

      1 Reply Last reply
      0
      • dslraserD dslraser

        @hwiedermann
        bei mir klappt nicht mal der Import von dem Blockly. (die ersten Zeilen sehen auch komisch aus. Zeile 1-4 gehört beim Blockly Export da eigentlich nicht hin)

        H Offline
        H Offline
        hwiedermann
        wrote on last edited by
        #23

        @dslraser habe es aber nun hinbekommen.

        hier wieder ein Screen
        Trick dabei ist, mann dann den Baustein an "request URL" einfach durch was anderes ersetzen, in dem was anderes anhängt. so alleine lässt sich aber das Anhängsel nicht löschen.

        f0dd7bca-d18a-4eaf-bdda-f8f2bd3b91e4-image.png

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        Support us

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

        532

        Online

        32.6k

        Users

        82.3k

        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