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. Motioneye Telegram

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.4k

Motioneye Telegram

Scheduled Pinned Locked Moved ioBroker Allgemein
motioneye telegram
73 Posts 5 Posters 7.9k Views 8 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.
  • T thecastle

    Oje :( Jetzt habe ich solange daran rumgespiel das ich jetzt noch nicht mal mehr eine Nachrricht bei bewegung bekomme
    Angenommen ich würde noch mal alles neu machen, wo hast du dein webhook angelegt?

    crunchipC Away
    crunchipC Away
    crunchip
    Forum Testing Most Active
    wrote on last edited by
    #36

    @thecastle also nochmal von vorne, was möchtest du verwenden, das Blockly oder das javascript?
    mein Datenpunkt war nur ein Beispiel, denn kannst du benennen wie du willst. je nach Struktur, ob du
    0_userdata.0 oder einen selbst angelegten Ordner erstellst, ist dir überlassen.

    Als Beispiel
    Mein Ordner lautet

    • Kamera.0
      darin 2 Datenpunkte
    • detection-haustuer
    • trigger-haustuer

    mein webhook in motioneye
    http://IoBrokerIP:8087/set/kamera.0.detection-haustuer?value=true
    Speicherort für das Foto
    /opt/iobroker/ipcam/alarm
    als Blockly
    629ca518-d4df-4c60-bb62-b67fc033850c-image.png

    umgestiegen von Proxmox auf Unraid

    1 Reply Last reply
    0
    • T Offline
      T Offline
      thecastle
      wrote on last edited by
      #37

      Achsoo also ist webhook nix outsourced bei ifttt oder einem anderen Anbieter?
      ich versuche das mal so nach zustellen.

      crunchipC 1 Reply Last reply
      0
      • T Offline
        T Offline
        thecastle
        wrote on last edited by
        #38

        Unbenannt.png

        crunchipC 1 Reply Last reply
        0
        • T thecastle

          Achsoo also ist webhook nix outsourced bei ifttt oder einem anderen Anbieter?
          ich versuche das mal so nach zustellen.

          crunchipC Away
          crunchipC Away
          crunchip
          Forum Testing Most Active
          wrote on last edited by crunchip
          #39

          @thecastle nein nix extra

          hier noch ein kleines einfaches script
          als Auslöser könntest du dann eben den Datenpunkt eintragen, der per webhook auf true/false schaltet
          dein Handy nicht im Wlan ist
          werden 3 Bilder im Abstand von 800ms verschickt

          // Telegram Bild senden durch Klingel oder Text to command
          var source_url = 'http://DeineAdressederKamera', //Adresse der IpKamera
              dest_path = '/opt/iobroker/ipcam/'; //Speicherort der Bilder
           
          var request = require('request');
          var fs      = require('fs');
           
          //var timer = null;
          var count = 0;
           
          // Bild an telegram schicken
          function sendImage (pfad) {
                  sendTo('telegram.0', pfad);
                  //log('Webcam Bild per telegram verschickt');
          }
           
          // Bild speichern
          function saveImage() {
              request.get({url: source_url, encoding: 'binary'}, function (err, response, body) {
                  fs.writeFile(dest_path + 'image.jpg', body, 'binary', function(err) {
           
                  if (err) {
                      //log('Fehler beim Bild speichern: ' + err, 'warn');
                  } else {
                      //log('Webcam Bild gespeichert');
                      sendImage(dest_path + 'image.jpg');
                  }
                });
              });
          }
           
          //Trigger
          // 3 Bilder senden wenn Bewegung erkannt und keiner zu Hause ist
          on({id: 'HIERKOMMTDEINAUSLÖSER/TRIGGERREIN', val: true}, function () {
              if (getState('HIERDEINHANDYDATENPUNKT').val === false) {
              count = 3;
              counter();
              timer = setInterval(counter, 800);
              }
          });
          false
          function counter() {
              saveImage();
              count--;
              if(count === 0 && timer) clearInterval(timer);
          }   
           
          

          umgestiegen von Proxmox auf Unraid

          1 Reply Last reply
          0
          • T Offline
            T Offline
            thecastle
            wrote on last edited by
            #40

            @crunchip said in Motioneye Telegram:

            trigger-haustuer
            Du hast in deinem Blogli steuere scriptEnable.Kamera.Haustür......_telegram. Ist das ein script wo aufgreufen wird oder was soll ich da einbinden?

            crunchipC 1 Reply Last reply
            0
            • T Offline
              T Offline
              thecastle
              wrote on last edited by thecastle
              #41

              @crunchip said in Motioneye Telegram:

              /opt/iobroker/ipcam/alarm

              Unbenannt2.png

              http://192...:8081/set/0_userdata.0.kamera.0.detection-haustuer?value=true das ist jetzt mein hook? Wenn mein Datenpunkt im unteren verzeichnis sind also sprich:
              0_userdata.0.kamera.0.detection-haustuer dann kann ich das so angeben ?

              crunchipC 1 Reply Last reply
              0
              • T thecastle

                Unbenannt.png

                crunchipC Away
                crunchipC Away
                crunchip
                Forum Testing Most Active
                wrote on last edited by
                #42

                @thecastle ja, steht in der Regel auf false, kannst ja mal eintragen, wenn dann getriggert wird, ändert sich der wert auf true

                umgestiegen von Proxmox auf Unraid

                1 Reply Last reply
                0
                • T thecastle

                  @crunchip said in Motioneye Telegram:

                  trigger-haustuer
                  Du hast in deinem Blogli steuere scriptEnable.Kamera.Haustür......_telegram. Ist das ein script wo aufgreufen wird oder was soll ich da einbinden?

                  crunchipC Away
                  crunchipC Away
                  crunchip
                  Forum Testing Most Active
                  wrote on last edited by crunchip
                  #43

                  @thecastle
                  wie oben schon geschrieben, text2command
                  c344bc3b-ac4d-40e8-af9e-310728118e7e-image.png
                  einfach ein kleines javascript für die Abfrage, dann hast du auch den fehlenden Datenpunkt im Blockly

                  sendTo('telegram.0', {
                      text:   'möchtest du mehr bilder?',
                      reply_markup: {
                          keyboard: [
                              ['ja','nein'],
                              
                          ],
                          resize_keyboard:   true,
                          one_time_keyboard: true
                          
                          
                      }
                   
                  });
                  

                  umgestiegen von Proxmox auf Unraid

                  1 Reply Last reply
                  0
                  • T thecastle

                    @crunchip said in Motioneye Telegram:

                    /opt/iobroker/ipcam/alarm

                    Unbenannt2.png

                    http://192...:8081/set/0_userdata.0.kamera.0.detection-haustuer?value=true das ist jetzt mein hook? Wenn mein Datenpunkt im unteren verzeichnis sind also sprich:
                    0_userdata.0.kamera.0.detection-haustuer dann kann ich das so angeben ?

                    crunchipC Away
                    crunchipC Away
                    crunchip
                    Forum Testing Most Active
                    wrote on last edited by
                    #44

                    @thecastle ja

                    umgestiegen von Proxmox auf Unraid

                    1 Reply Last reply
                    0
                    • T Offline
                      T Offline
                      thecastle
                      wrote on last edited by
                      #45

                      Unbenannt2.png Unbenannt1.png

                      crunchipC 1 Reply Last reply
                      0
                      • T thecastle

                        Unbenannt2.png Unbenannt1.png

                        crunchipC Away
                        crunchipC Away
                        crunchip
                        Forum Testing Most Active
                        wrote on last edited by
                        #46

                        @thecastle und läuft jetzt?

                        umgestiegen von Proxmox auf Unraid

                        1 Reply Last reply
                        0
                        • T Offline
                          T Offline
                          thecastle
                          wrote on last edited by
                          #47

                          @crunchip said in Motioneye Telegram:

                          detection-haustuer
                          trigger-haustuer

                          nee noch nicht aber ich denke bald, muss bei den Datenpunkte detection-haustuer
                          trigger-haustuer noch was rein, die sind ja leer bei mir

                          crunchipC 2 Replies Last reply
                          0
                          • T thecastle

                            @crunchip said in Motioneye Telegram:

                            detection-haustuer
                            trigger-haustuer

                            nee noch nicht aber ich denke bald, muss bei den Datenpunkte detection-haustuer
                            trigger-haustuer noch was rein, die sind ja leer bei mir

                            crunchipC Away
                            crunchipC Away
                            crunchip
                            Forum Testing Most Active
                            wrote on last edited by
                            #48

                            @thecastle schreib doch mal ein false rein

                            umgestiegen von Proxmox auf Unraid

                            1 Reply Last reply
                            0
                            • T thecastle

                              @crunchip said in Motioneye Telegram:

                              detection-haustuer
                              trigger-haustuer

                              nee noch nicht aber ich denke bald, muss bei den Datenpunkte detection-haustuer
                              trigger-haustuer noch was rein, die sind ja leer bei mir

                              crunchipC Away
                              crunchipC Away
                              crunchip
                              Forum Testing Most Active
                              wrote on last edited by
                              #49

                              @thecastle hab noch zwei vergessen zu zufügen, zum ein ausschalten
                              2f516e14-e1ee-4d3b-8db1-efd9d2e0bfb8-image.png

                              umgestiegen von Proxmox auf Unraid

                              1 Reply Last reply
                              0
                              • T Offline
                                T Offline
                                thecastle
                                wrote on last edited by
                                #50

                                Ich habe Probleme beim triggern http://192....:8081/set/0_userdata.0.kamera.0.detection-haustuer?value=true
                                kann das wirklich der hook sein?

                                crunchipC 1 Reply Last reply
                                0
                                • T thecastle

                                  Ich habe Probleme beim triggern http://192....:8081/set/0_userdata.0.kamera.0.detection-haustuer?value=true
                                  kann das wirklich der hook sein?

                                  crunchipC Away
                                  crunchipC Away
                                  crunchip
                                  Forum Testing Most Active
                                  wrote on last edited by
                                  #51

                                  @thecastle du hast aber simple api Adapter laufen?
                                  und du brauchst diesen port
                                  http://IPioBroker :8087/......

                                  umgestiegen von Proxmox auf Unraid

                                  1 Reply Last reply
                                  0
                                  • T Offline
                                    T Offline
                                    thecastle
                                    wrote on last edited by
                                    #52

                                    okay simple api habe ich nicht bewusst an bzw... zumindest nicht das ich es weiß.
                                    mit dem prot muss ich mal schauenUnbenannt.png
                                    das ist alle was ich installiert habe

                                    1 Reply Last reply
                                    0
                                    • T Offline
                                      T Offline
                                      thecastle
                                      wrote on last edited by
                                      #53

                                      @crunchip said in Motioneye Telegram:

                                      8087

                                      wie wie bekomme ich diesen Port?

                                      1 Reply Last reply
                                      0
                                      • T Offline
                                        T Offline
                                        thecastle
                                        wrote on last edited by
                                        #54

                                        @crunchip said in Motioneye Telegram:

                                        8087

                                        Unbenannt.png

                                        Die Ip oben nutze ich für die hook

                                        crunchipC 2 Replies Last reply
                                        0
                                        • T Offline
                                          T Offline
                                          thecastle
                                          wrote on last edited by
                                          #55

                                          Unbenannt.png

                                          Das funktioniert jetzt schon mal auch wenn es ziemlich lange dauert bis ich ein "anderes" Bild bekomme sprich wenn ich auf "ja" drücke bekomme ich ein Bild und wenn ich in 2 Sekunden noch ein mal drücke bekomme ich das selbe... aber wenn ich in 5-10 Sekunden drücke bekomme ich ein anderes. Wichtig ist das das schon mal funzt.
                                          Mit dem Trigger hat sich leider noch nix getan, löste nicht aus bzw... ich bekomme keine Nachrricht bei "motion detection " ;(

                                          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

                                          640

                                          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