Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Whattsapp Nachrichten senden

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Whattsapp Nachrichten senden

    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      guessWHO @bigtwinch last edited by

      @bigtwinch said in Whattsapp Nachrichten senden:

      Habe soeben etwas gefunden....
      ioBroker sendet texte zu Whattsapp 👍
      siehe: https://www.callmebot.com
      funktioniert tadellos und es kostet nichts "Freiwillige Spenden".
      Nachricht z.B. Hilfe Deine Blume braucht Wasser

      Gruss
      Christian

      Hallo Christian,

      kannst du bitte mal (anonymisiert) screenshots vom Adapter/Instanz posten?

      THX Frank

      1 Reply Last reply Reply Quote 0
      • B
        bigtwinch last edited by bigtwinch

        Blockly example:

        
        BlocklyJavascriptTypeScript
        Protokoll
        Ausgewählte Blöcke exportieren
        <xml xmlns="https://developers.google.com/blockly/xml">
          <block type="on" id="%r(rQZHkp8CW,$H:uqPy" x="-537" y="613">
            <field name="OID">zigbee.0.04cf8cdf3c75b754.button_1_click</field>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <statement name="STATEMENT">
              <block type="controls_if" id="~l-JgF5uy`1(j(`ui~:V">
                <value name="IF0">
                  <block type="logic_compare" id="qkX99Fr)HjG@9xahj7OL">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="get_value" id="vMR{Rxs9fJOk|bi0$(=a">
                        <field name="ATTR">val</field>
                        <field name="OID">zigbee.0.04cf8cdf3c75b754.button_1_click</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_boolean" id=":5!aa48v)(KA[sW+!3_4">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="request" id="b#/,5B=kBS%G?blay/R$">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                    <field name="WITH_STATEMENT">FALSE</field>
                    <field name="LOG">debug</field>
                    <value name="URL">
                      <shadow type="text" id="0TM-TsN,6_U,_G*Nw,v)">
                        <field name="TEXT">https://api.callmebot.com/whatsapp.php?phone=+41xxxxxxxxx&amp;text=test&amp;apikey=562399</field>
                      </shadow>
                    </value>
                  </block>
                </statement>
              </block>
            </statement>
          </block>
        </xml>
        <xml xmlns="https://developers.google.com/blockly/xml">
          <block type="on" id="%r(rQZHkp8CW,$H:uqPy" x="-537" y="613">
            <field name="OID">zigbee.0.04cf8cdf3c75b754.button_1_click</field>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <statement name="STATEMENT">
              <block type="controls_if" id="~l-JgF5uy`1(j(`ui~:V">
                <value name="IF0">
                  <block type="logic_compare" id="qkX99Fr)HjG@9xahj7OL">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="get_value" id="vMR{Rxs9fJOk|bi0$(=a">
                        <field name="ATTR">val</field>
                        <field name="OID">zigbee.0.04cf8cdf3c75b754.button_1_click</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_boolean" id=":5!aa48v)(KA[sW+!3_4">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="request" id="b#/,5B=kBS%G?blay/R$">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                    <field name="WITH_STATEMENT">FALSE</field>
                    <field name="LOG">debug</field>
                    <value name="URL">
                      <shadow type="text" id="0TM-TsN,6_U,_G*Nw,v)">
                        <field name="TEXT">https://api.callmebot.com/whatsapp.php?phone=+41xxxxxxxxx&amp;text=test&amp;apikey=deinapikey</field>
                      </shadow>
                    </value>
                  </block>
                </statement>
              </block>
            </statement>
          </block>
        </xml>
        
        

        Gruss
        Christian

        H D 2 Replies Last reply Reply Quote 1
        • H
          Hardwearhansi @bigtwinch last edited by

          @bigtwinch Kann dieses blockly script nicht impotieren

          1 Reply Last reply Reply Quote 0
          • D
            Dreamboy74de @bigtwinch last edited by

            @bigtwinch Zeile 35 🙄

            B 1 Reply Last reply Reply Quote 0
            • liv-in-sky
              liv-in-sky @bigtwinch last edited by

              @bigtwinch

              danke für's sharen - funktioniert und ist sehr einfach 🙂

              1 Reply Last reply Reply Quote 0
              • B
                bigtwinch @Dreamboy74de last edited by

                @Dreamboy74de
                1000 Dank.. WIE BLÖD VON MIR. (Übersehen)
                Gruss Christian

                H 1 Reply Last reply Reply Quote 0
                • H
                  hwiedermann @bigtwinch last edited by

                  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>
                  
                  
                  dslraser 1 Reply Last reply Reply Quote 0
                  • dslraser
                    dslraser Forum Testing Most Active @hwiedermann last edited by

                    @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 Reply Quote 0
                    • H
                      hwiedermann @dslraser last edited by

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

                      Hier als Bild nochmal..

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

                      1 Reply Last reply Reply Quote 0
                      • H
                        hwiedermann @dslraser last edited by

                        @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 Reply Quote 0
                        • First post
                          Last post

                        Support us

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

                        1.2k
                        Online

                        31.7k
                        Users

                        79.7k
                        Topics

                        1.3m
                        Posts

                        17
                        23
                        9007
                        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