Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Telegram sendet kein Doorbird Bild mehr

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Telegram sendet kein Doorbird Bild mehr

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

      Hallo,

      leider hatte meine Doorbird einen Fehler und ich musste mein Script abschalten. Nach Doorbird Tausch habe ich im Adapter alle neuen Logins eingegeben.

      Nun habe ich das Script wieder aktiviert- bei Bewegung wird mir wie vorher ein kurzes MP4 angezeigt. Leider wird in der Telegram-Nachricht nicht das Bild angezeigt, sondern nur der Pfad ausgegeben. Hat sich etwas in Telegram geändert? Wisst Ihr warum das nicht mehr funktiniert bzw. wo mein Fehler ist? Ich hätte nämlich auch gern gleich den Text unterm Bild. Normalerweise sollte das funktionieren.

      Der Pafd passt- dort liegt das letzte aufgenomme Bild.

      3b6412b7-4cf6-4c09-90c8-7660c4fd192c-image.png
      Hier auch mal das Blockly als Code:

      <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
          <variable type="timeout" id="timeout2">timeout2</variable>
          <variable type="timeout" id="timeout">timeout</variable>
        </variables>
        <block type="comment" id=",I9}0D9hduJQ{]M@Q)!X" x="187" y="-88">
          <field name="COMMENT">Bilder können aus Blockly mit Text nur in 2 verschiedenen Nachrichten gesendet werden, gifs immer 2 verschiedene Meldungen</field>
          <next>
            <block type="on_ext" id="#P[-$4r{MB~fqZ{u=)MN">
              <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
              <field name="CONDITION">ne</field>
              <field name="ACK_CONDITION"></field>
              <value name="OID0">
                <shadow type="field_oid" id="]%JSfct,Q4rjJ,[KPlm?">
                  <field name="oid">doorbird.0.Motion.trigger</field>
                </shadow>
              </value>
              <statement name="STATEMENT">
                <block type="comment" id="xnR6j^}p)Gr|4GWN,iN0">
                  <field name="COMMENT">Ausführen timeout 2500ms bis Ende testweise gelöscht</field>
                  <next>
                    <block type="controls_if" id="gu;ORJ}RXDy`b|Pa/X-:">
                      <value name="IF0">
                        <block type="logic_compare" id="S7M9NI3Vfzu=-FulZ.Cq">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="on_source" id="DSgBizA=i44vs1aL-}_1">
                              <field name="ATTR">state.val</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="logic_boolean" id="TEDbNN(MhT~Yn|bJZk7r">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <statement name="DO0">
                        <block type="exec" id="|WwO*Xkd/6*krYE[k^su">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                          <field name="WITH_STATEMENT">FALSE</field>
                          <field name="LOG">log</field>
                          <value name="COMMAND">
                            <shadow type="text" id="@vo#9jAXUQak,YSuwb/I">
                              <field name="TEXT">ffmpeg -y -i rtsp://login:passwort@192.168.178.50:8557/mpeg/media.amp -t 5 -f mp4 -vcodec libx264 -pix_fmt yuv420p -an -vf scale=w=1280:h=738:force_original_aspect_ratio=decrease -r 10 /mnt/SSDdata/backups/doorbird-motion.mp4</field>
                            </shadow>
                          </value>
                          <next>
                            <block type="timeouts_settimeout" id="P!H(wD%T|mm{ybr$lc]B">
                              <field name="NAME">timeout</field>
                              <field name="DELAY">10</field>
                              <field name="UNIT">sec</field>
                              <statement name="STATEMENT">
                                <block type="telegram" id="yeaKOM$j4YVj`voyew1P">
                                  <field name="INSTANCE"></field>
                                  <field name="LOG">log</field>
                                  <field name="SILENT">FALSE</field>
                                  <field name="PARSEMODE">default</field>
                                  <value name="MESSAGE">
                                    <shadow type="text" id="+vnLq_meQ=Kk038LgMxv">
                                      <field name="TEXT">/mnt/SSDdata/backups/doorbird-motion.mp4</field>
                                    </shadow>
                                  </value>
                                </block>
                              </statement>
                            </block>
                          </next>
                        </block>
                      </statement>
                      <next>
                        <block type="timeouts_settimeout" id="Tx6a?!m*O]WJoB-VS+V{">
                          <field name="NAME">timeout2</field>
                          <field name="DELAY">2500</field>
                          <field name="UNIT">ms</field>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
              <next>
                <block type="on" id="h7`@kS~~n6N8]T8[q|n=">
                  <field name="OID">doorbird.0.Doorbell.1.trigger</field>
                  <field name="CONDITION">ne</field>
                  <field name="ACK_CONDITION"></field>
                  <statement name="STATEMENT">
                    <block type="controls_if" id="W!9`-X[h1XAMkuv+-Kfl">
                      <value name="IF0">
                        <block type="logic_compare" id="vXRhqSe*bFm#gia4`?l4">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="on_source" id="Jj4jT`N^{BvBb`o3N8-L">
                              <field name="ATTR">state.val</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="logic_boolean" id="$j,;bbvV[is(gbW!b12{">
                              <field name="BOOL">FALSE</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <statement name="DO0">
                        <block type="telegram" id="+efq6t{LC2e~9[g#[sx$">
                          <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="uP%@sJn;i8GH41Nd@WS]">
                              <field name="TEXT">text</field>
                            </shadow>
                            <block type="text_join" id="QDfX)ii7kzah9K|z]W.T">
                              <mutation items="2"></mutation>
                              <value name="ADD0">
                                <block type="text" id="Syg_#FVUt:`3]#*/%gu#">
                                  <field name="TEXT">/opt/iobroker/iobroker-data/doorbird.0.snap.jpg</field>
                                </block>
                              </value>
                              <value name="ADD1">
                                <block type="text" id="$q=Ww{qciq[t,y[%VF.3">
                                  <field name="TEXT">🔔 Eingangstür (Klingel)</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <next>
                            <block type="control" id="AL6K5C-,(3b%1SlvCMU}">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">alexa2.0.Echo-Devices.G090U61091362EU5.Commands.speak</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="text" id="2;Sn%[]X/tRqF5*n.%rY">
                                  <field name="TEXT">35; Es klingelt an der Haustür</field>
                                </block>
                              </value>
                            </block>
                          </next>
                        </block>
                      </statement>
                    </block>
                  </statement>
                </block>
              </next>
            </block>
          </next>
        </block>
      </xml>
      
      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

      455
      Online

      31.9k
      Users

      80.3k
      Topics

      1.3m
      Posts

      doorbird telegram
      1
      1
      328
      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