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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    21
    1
    831

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.0k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.3k

Motioneye Telegram

Scheduled Pinned Locked Moved ioBroker Allgemein
motioneye telegram
73 Posts 5 Posters 7.6k 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

    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
                                    • T thecastle

                                      @crunchip said in Motioneye Telegram:

                                      8087

                                      Unbenannt.png

                                      Die Ip oben nutze ich für die hook

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

                                      @thecastle falscher port, so wie ich oben schon schrieb, simple api adapter laufen lassen und port dementsprechend in deinem webhook

                                      umgestiegen von Proxmox auf Unraid

                                      haselchenH 1 Reply Last reply
                                      0
                                      • T thecastle

                                        @crunchip said in Motioneye Telegram:

                                        8087

                                        Unbenannt.png

                                        Die Ip oben nutze ich für die hook

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

                                        @thecastle http method Getverwenden

                                        umgestiegen von Proxmox auf Unraid

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

                                          @crunchip said in Motioneye Telegram:

                                          8087

                                          Moin, ja das habe ich versuchet geht auch nicht :shrug:

                                          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

                                          636

                                          Online

                                          32.5k

                                          Users

                                          81.6k

                                          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