Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Ring Doorbell Bild versenden

    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

    Ring Doorbell Bild versenden

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @leachim200 last edited by

      @leachim200 sagte in Ring Doorbell Bild versenden:

      Hat vielleicht jemand eine Idee woran es liegt?

      Vermutlich am 'wurde geändert'-Trigger.
      Versuch mal 'Ist größer als letztes'.

      Was genau steht in dem Datenpunkt drin?

      1 Reply Last reply Reply Quote 0
      • L
        leachim200 last edited by

        In dem Datenpunk steht True oder false drinnen.
        Komisch ist nur das der so oft trigger obwohl der Punkt selber nicht die letzte Änderung Zeit ändert.

        Thomas Braun Walter White 2 Replies Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @leachim200 last edited by

          @leachim200 sagte in Ring Doorbell Bild versenden:

          In dem Datenpunk steht True oder false drinnen.

          Dann auf jedenfall auf 'Ist größer als letztes' lauschen.

          1 Reply Last reply Reply Quote 0
          • Walter White
            Walter White @leachim200 last edited by Walter White

            @leachim200 Bin zufällig auf den Adapter gestoßen, coole Sache, aber wie bekomme ich die Fotos gesendet?

            Ich habe oben dein Skript per C&P genommen und angepasst.

            Pfad für Foto und Video:
            /opt/iobroker/node_modules/iobroker.ring/snapshot/cocoa_5982xxxx/

            Bei mir kommt aber immer nur in Telegram:

            🛎 An der Haustür ist ein Besucher!
            /opt/iobroker/node_modules/iobroker.ring/snapshot/cocoa_5982xxxx/KlingelFoto.jpg
            /opt/iobroker/node_modules/iobroker.ring/snapshot/cocoa_5982xxxx/KlingelVideo.mp4

            Habe Ring Doorbell 2 und Kein Abo.

            D H 2 Replies Last reply Reply Quote 0
            • L
              leachim200 last edited by leachim200

              Hi,
              das kann an mehreren Punkten liegen. Bei mir passiert dies auch allerdings aktuell aufgrund der häufigkeit der Benachrichtigungen kommt er durcheinander.

              Check mal ob die datei generiert wird und auch richtig liegt.

              Wichtig du musst in der Instanz auch einstellen, dass er die Datei quasi immer gleich benennt. Das steht in dem eintrag ein paar Beträge höher. Habe gerade keinen Zugriff auf mein System kann dir aber am Abend ein paar Screenshots schicken.
              49eb559b-f15a-4923-84d0-28921c10719f-grafik.png

              Und dann den Pfad voll angeben im Skript dann sollte es klappen

              1 Reply Last reply Reply Quote 0
              • D
                danwir @Walter White last edited by danwir

                @walter-white Vielleicht kannst du mir helfen oder jemand anderes

                Ich bekomme das mit dem Speicherort nicht hin ..
                Bei mir wäre der Fritz NAS Pfad:

                \fritz.nas\ext_Festplatte\Backup\Ring

                Aber beim Klingeln wird dort nichts abgelegt.
                Ich hab jetzt über Node-Red eine Verknüpfung gemacht wenn es Klingelt stoße beide Request für Bild und Video an aber es passiert nix. Es wird keine Datei abgelegt. Zeitstempel funktioniert bei beidem. Screenshot geht auch als Bild einsehbar, nur nicht am Speicherort hinterlegt.

                Hat jemand eine Idee ?
                Ich möchte ja erst mal nur die Bilder und Videos abspeichern.

                1 Reply Last reply Reply Quote 0
                • H
                  Holzwurm1976 last edited by

                  Moin,

                  ich habe den Ring Adapter installiert, und möchte mir beim Klingeln eine Whats app mit dem Foto schicken lassen.
                  Ich habe hierbei 2 Probleme, anbei mein Blockly:

                  <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="on_ext" id="CA,1AE8PASojQEzanD)i" x="88" y="63">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                      <field name="CONDITION">gt</field>
                      <field name="ACK_CONDITION"></field>
                      <value name="OID0">
                        <shadow type="field_oid" id="rE]oE-zCbQe=}l-#5paX">
                          <field name="oid">ring.0.doorbell_362750470.History.created_at</field>
                        </shadow>
                      </value>
                      <statement name="STATEMENT">
                        <block type="whatsapp-cmb" id="F94040-`XXtKJgxVny;A">
                          <field name="INSTANCE"></field>
                          <field name="LOG"></field>
                          <value name="MESSAGE">
                            <shadow type="text" id="78_C;CqzCAdYZ9KtPu};">
                              <field name="TEXT"></field>
                            </shadow>
                            <block type="text" id="KfFdV6SY]te#:awu.Au;">
                              <field name="TEXT">Es hat geklingelt</field>
                            </block>
                          </value>
                          <next>
                            <block type="timeouts_settimeout" id="-qEd(6=|s!V/|h@Q4t0d">
                              <field name="NAME">timeout</field>
                              <field name="DELAY">2</field>
                              <field name="UNIT">sec</field>
                              <statement name="STATEMENT">
                                <block type="procedures_callnoreturn" id="_0}K40,*5.|#A$Zq`Up}">
                                  <mutation name="Foto senden"></mutation>
                                </block>
                              </statement>
                            </block>
                          </next>
                        </block>
                      </statement>
                    </block>
                    <block type="procedures_defnoreturn" id="4NtYzPNleNH3I|E3UYk%" x="288" y="363">
                      <field name="NAME">Foto senden</field>
                      <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                      <statement name="STACK">
                        <block type="timeouts_settimeout" id="j}Z(HanNPFb?7o^2S%wI">
                          <field name="NAME">timeout2</field>
                          <field name="DELAY">10</field>
                          <field name="UNIT">sec</field>
                          <statement name="STATEMENT">
                            <block type="whatsapp-cmb" id=")J6kdx|rpf{^a1,s),MK">
                              <field name="INSTANCE"></field>
                              <field name="LOG"></field>
                              <value name="MESSAGE">
                                <shadow type="text" id="78_C;CqzCAdYZ9KtPu};">
                                  <field name="TEXT">/opt/iobroker/iobroker-data/files/ring.0/doorbell_362750470/HDsnapshot.jpg</field>
                                </shadow>
                                <block type="text" id="Ya=]eANO0xWlB-%6|,X,">
                                  <field name="TEXT">ring.0/ring_0_doorbell_362750470_HDSnapshot.jpg</field>
                                </block>
                              </value>
                            </block>
                          </statement>
                        </block>
                      </statement>
                    </block>
                  </xml>
                  
                  
                  

                  Als Trigger habe habe ich den "Created at" unter History, allerdings reagiert dieser erst ein paar Minuten nachdem geklingelt wurde. Gibt es keinen Datenpunkt, der direkt beim klingeln angesprochen wird?

                  Das 2. Problem ist das Versenden des Bildes. Die Whatsapp wird geschickt, aber es wird immer nur der Pfad angezeigt, nicht das Bild!

                  Könnt Ihr mir sagen, was ich falsch mache?

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

                    Hat keiner eine Idee?
                    Ich komme nicht weiter…

                    H 1 Reply Last reply Reply Quote 0
                    • H
                      Holzwurm1976 @Walter White last edited by

                      @walter-white
                      Hattest Du es hinbekommen?
                      Bei mir wird auch nur der Pfad gesendet???

                      haselchen 1 Reply Last reply Reply Quote 0
                      • haselchen
                        haselchen Most Active @Holzwurm1976 last edited by haselchen

                        @holzwurm1976

                        Wie sieht denn Dein Tun bisher aus?
                        Was machst Du wie, warum und wohin?

                        H 1 Reply Last reply Reply Quote 0
                        • H
                          Holzwurm1976 @haselchen last edited by

                          @haselchen

                          Ich habe den Ring Adapter installiert und möchte mir mit folgendem Blockly das Bild aufs Handy schicken:

                          <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="on_ext" id="CA,1AE8PASojQEzanD)i" x="88" y="63">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                              <field name="CONDITION">gt</field>
                              <field name="ACK_CONDITION"></field>
                              <value name="OID0">
                                <shadow type="field_oid" id="rE]oE-zCbQe=}l-#5paX">
                                  <field name="oid">ring.0.doorbell_362750470.History.created_at</field>
                                </shadow>
                              </value>
                              <statement name="STATEMENT">
                                <block type="whatsapp-cmb" id="F94040-`XXtKJgxVny;A">
                                  <field name="INSTANCE"></field>
                                  <field name="LOG"></field>
                                  <value name="MESSAGE">
                                    <shadow type="text" id="78_C;CqzCAdYZ9KtPu};">
                                      <field name="TEXT"></field>
                                    </shadow>
                                    <block type="text" id="KfFdV6SY]te#:awu.Au;">
                                      <field name="TEXT">Es hat geklingelt</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="timeouts_settimeout" id="-qEd(6=|s!V/|h@Q4t0d">
                                      <field name="NAME">timeout</field>
                                      <field name="DELAY">2</field>
                                      <field name="UNIT">sec</field>
                                      <statement name="STATEMENT">
                                        <block type="procedures_callnoreturn" id="_0}K40,*5.|#A$Zq`Up}">
                                          <mutation name="Foto senden"></mutation>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                            </block>
                            <block type="procedures_defnoreturn" id="4NtYzPNleNH3I|E3UYk%" x="288" y="363">
                              <field name="NAME">Foto senden</field>
                              <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                              <statement name="STACK">
                                <block type="timeouts_settimeout" id="j}Z(HanNPFb?7o^2S%wI">
                                  <field name="NAME">timeout2</field>
                                  <field name="DELAY">10</field>
                                  <field name="UNIT">sec</field>
                                  <statement name="STATEMENT">
                                    <block type="whatsapp-cmb" id=")J6kdx|rpf{^a1,s),MK">
                                      <field name="INSTANCE"></field>
                                      <field name="LOG"></field>
                                      <value name="MESSAGE">
                                        <shadow type="text" id="78_C;CqzCAdYZ9KtPu};">
                                          <field name="TEXT">/opt/iobroker/iobroker-data/files/ring.0/doorbell_362750470/HDsnapshot.jpg</field>
                                        </shadow>
                                        <block type="text" id="Ya=]eANO0xWlB-%6|,X,">
                                          <field name="TEXT">ring.0/ring_0_doorbell_362750470_HDSnapshot.jpg</field>
                                        </block>
                                      </value>
                                    </block>
                                  </statement>
                                </block>
                              </statement>
                            </block>
                          </xml>
                           
                           
                          
                          

                          Das Bild wird im Verzeichnis abgelegt…

                          haselchen 1 Reply Last reply Reply Quote 0
                          • haselchen
                            haselchen Most Active @Holzwurm1976 last edited by

                            @holzwurm1976

                            Kannst du bitte das Blockly als Screenshot posten.

                            H 1 Reply Last reply Reply Quote 0
                            • H
                              Holzwurm1976 @haselchen last edited by

                              @haselchen Unbenannt.PNG

                              haselchen 1 Reply Last reply Reply Quote 0
                              • haselchen
                                haselchen Most Active @Holzwurm1976 last edited by haselchen

                                @holzwurm1976

                                Ich hab keine Doorbell, aber ne Sticky Cam.
                                Du musst das Foto erstmal holen und speichern .
                                Dafür kannste nen tmp Ordner anlegen im Iobroker Pfad ( alles aus meiner Sicht wie ich es gemacht habe).
                                Und von da leite ich es weiter an Telegram und in VIS.0 als Bild für die Visualisierung.

                                Edit: bei den Timeouts musste probieren. Bild holen und verschicken muss passen.
                                Hab da fürs holen 3,5sek und nach 5,5sek an Telegram senden.

                                var timeout, timeout1
                                var fs = require('fs'); 
                                
                                 on({id: 'hm-rpc.1.XXXXPRESS_SHORT', change: "any"}, function (obj) {
                                 var value = obj.state.val;
                                 var oldValue = obj.oldState.val;
                                 setState("ring.0.cocoa_XXXXXX.Snapshot.request"/*New Snapshot Request*/, true);
                                 timeout = setTimeout(function () {
                                const picture= fs.readFileSync('/opt/iobroker/iobroker-data/tmp/cocoa_XXXXXX/SnapshotRingCam.jpg'); //liest linux-datei-system
                                writeFile('vis.0','alarm.jpg', picture, function (error) { });   //schreibt in iobroker system
                                }, 3500);
                                timeout1 = setTimeout(function () {
                                   sendTo("telegram.1", "send", {
                                       text: '/opt/iobroker/iobroker-data/files/vis.0/alarm.jpg'
                                   });
                                 }, 5500);
                                 });
                                

                                Gibt bestimmt Enthusiasten , die das besser drauf haben, aaaaaaber es funktioniert eben.

                                H 1 Reply Last reply Reply Quote 0
                                • H
                                  Holzwurm1976 @haselchen last edited by

                                  @haselchen
                                  Danke, Aber gespeichert wird das Foto automatisch durch die doorbell, ich kann die Fotos im iobroker unter Dateien auch anschauen, die sind also bereits abgespeichert???

                                  haselchen 1 Reply Last reply Reply Quote 0
                                  • haselchen
                                    haselchen Most Active @Holzwurm1976 last edited by haselchen

                                    @holzwurm1976

                                    Gab letztens einen Kommentar dazu von @OliverIO

                                    Vielleicht kannst Du nochmal was zum Speichern des Bildes schreiben.

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

                                      hat wirklich keiner eine Idee? Ich habe schon diverse Posts durchsucht, aber nur ähnliche Fehler gefunden, mit keinem kam ich wirklich auf eine Lösung.
                                      Immer wieder wird nur der Link versendet, aber kein Bild.
                                      Wenn ich den diesen Link im Browser eingebe, zeigt er das Bild:

                                      http://raspberrypi:8082/ring.0/ring_0_doorbell_362750470_HDSnapshot.jpg
                                      

                                      Ich wäre froh, wenn mir jemand helfen könnte!

                                      Danke Euch...

                                      wendy2702 1 Reply Last reply Reply Quote 0
                                      • wendy2702
                                        wendy2702 @Holzwurm1976 last edited by

                                        @holzwurm1976 ich kann dir nur soviel helfen als das du dein Blockly auch als Screenshot posten solltest. Die wenigsten werden sich das importieren.

                                        H 1 Reply Last reply Reply Quote 0
                                        • H
                                          Holzwurm1976 @wendy2702 last edited by

                                          @wendy2702

                                          OK, danke für den Hinweis:

                                          89403888-1d16-4a4c-98eb-284d8179ce84-grafik.png

                                          Der gesamte Link ist übrigens:

                                          opt/iobroker/iobroker-data/files/ring.0/doorbell_362750470_HDsnapshot.jpg
                                          
                                          wendy2702 1 Reply Last reply Reply Quote 0
                                          • wendy2702
                                            wendy2702 @Holzwurm1976 last edited by

                                            @holzwurm1976 sehe gerade das du zweimal fragst und das Blockly bereits gepostet hast

                                            https://forum.iobroker.net/topic/38485/ring-doorbell-bild-versenden/74

                                            H 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

                                            826
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            ring adapter
                                            21
                                            86
                                            11169
                                            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