Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
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.2k

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.2k

Whattsapp Nachrichten senden

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
23 Beiträge 17 Kommentatoren 10.4k Aufrufe 20 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • 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
    schrieb am zuletzt editiert von
    #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 Antworten Letzte Antwort
    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
      schrieb am zuletzt editiert von
      #22

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

      Hier als Bild nochmal..

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

      1 Antwort Letzte Antwort
      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
        schrieb am zuletzt editiert von
        #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 Antwort Letzte Antwort
        0
        Antworten
        • In einem neuen Thema antworten
        Anmelden zum Antworten
        • Älteste zuerst
        • Neuste zuerst
        • Meiste Stimmen


        Support us

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

        537

        Online

        32.6k

        Benutzer

        82.2k

        Themen

        1.3m

        Beiträge
        Community
        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
        ioBroker Community 2014-2025
        logo
        • Anmelden

        • Du hast noch kein Konto? Registrieren

        • Anmelden oder registrieren, um zu suchen
        • Erster Beitrag
          Letzter Beitrag
        0
        • Home
        • Aktuell
        • Tags
        • Ungelesen 0
        • Kategorien
        • Unreplied
        • Beliebt
        • GitHub
        • Docu
        • Hilfe