Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Hardware
    4. Kamera + Bewegungsmelder kombinieren für Gartenüberwachung

    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

    Kamera + Bewegungsmelder kombinieren für Gartenüberwachung

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      smarthome2020 @wendy2702 last edited by

      @wendy2702
      Ich nutze keine Cloud für die Kamera. Ich hab ihr auch den Internetzugang verboten.
      Mein Gefühl mittlerweile ist nur, dass der Hersteller WILL, dass man die App/Cloud nutzt, damit die Kamera stabil läuft.

      Stehe noch mit dem Support in Kontakt. Die Hilfen bringen mich jedoch nicht weiter, wobei man echt sagen muss, dass die sich Mühe geben. Die gehen gezielt auf Fragen ein etc. Ist nicht so, dass die einfach einen Standard-Brei als Antwort schicken.

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

        @smarthome2020 sagte in Kamera + Bewegungsmelder kombinieren für Gartenüberwachung:

        Reolink RLC 410 5MP

        Gibt ja die merkwürdigsten Sachen. Hier hat einer im Loxone Forum mit diesem Link erfolg gehabt:

        http:// 192.168.x.x/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=xxxxxxxxxxxxxxxx&use r='username'&password='password'
        
        Where the IP is the Reolink local IP address
        
        xxxxxxxxxxxxxxxxxx - This is any series of numbers and letters, upper and lower case
        
        Username and Password are the Reolink camera Username and Password without the '
        

        Einer schreibt auch noch das er nach heruntersetzen der FPS von 30 auf 15 in der Kamera keine Probleme mehr hat.

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

          @wendy2702
          Hatte um 10:45Uhr ca. den JPEG-Stream neu angelegt, dann kam um ca. 11:30 Uhr

          Apr 17 11:27:11 raspberrypi meyectl[379]:  WARNING: Connect error on fd 19: ECONNREFUSED
          

          Seitdem bringt es nix die Kamera vom Strom zu nehmen oder folgende Befehle zu nutzen:

          http://192.168.xxx.xx:7999/1/action/restart
          http://192.168.xxx.xx:7999/1/action/quit
          http://192.168.xxx.xx:7999/1/action/end
          
          http://192.168.xxx.xx:7999/1/detection/connection
          http://192.168.xxx.xx:7999/1/detection/status
          http://192.168.xxx.xx:7999/1/detection/start
          http://192.168.xxx.xx:7999/1/detection/pause
          

          Wenn ich die JPEG-URL in den VLC eintrage, dann wird nur kurz ein Bild angezeigt und danach wars das. Es läuft kein Video. Ist scheinbar nur für Einzelbilder gedacht.

          Neuer Versuch mit deinen geposteten Infos....

          1 Reply Last reply Reply Quote 0
          • S
            smarthome2020 last edited by

            Ich könnte alternativ auch einfach paar JPEG-Bilder schießen lassen. Diese sollten dann nur auch mit Zeitstempel gespeichert werden und aber auch gleich per Telegram verschickt werden.
            Per http-Befehl kann ich ja Bilder erstellen lassen. Nur wie schicke ich diese auch gleich per Telegram? Die haben ja alle andere Zeitstempel 😄 Ich hab das aktuell so gelöst, dass auf Wunsch immer ein Alarm.jpg erstellt wird und dieses versendet wird. Das ist dann ja nicht mehr praktikabel. Hat da einer eine Idee?

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

              Auf welchem level ist das loggen eingestellt:

              cat /etc/motioneye/motioneye.conf
              

              @smarthome2020 sagte in Kamera + Bewegungsmelder kombinieren für Gartenüberwachung:

              Ich könnte alternativ auch einfach paar JPEG-Bilder schießen lassen. Diese sollten dann nur auch mit Zeitstempel gespeichert werden und aber auch gleich per Telegram verschickt werden.
              Per http-Befehl kann ich ja Bilder erstellen lassen. Nur wie schicke ich diese auch gleich per Telegram? Die haben ja alle andere Zeitstempel 😄 Ich hab das aktuell so gelöst, dass auf Wunsch immer ein Alarm.jpg erstellt wird und dieses versendet wird. Das ist dann ja nicht mehr praktikabel. Hat da einer eine Idee?

              Ist das Zielführend? Ich würde das als zweite Option sehen, bin der Meinung das eine Kamera voll umfänglich funktionieren sollte.

              Bilder per Telegram mache ich aber z.B. so: (aus dem Forum)

              // -------------------------------------------------------------------------
              // Dieses Script überwaht den Zustand eines Bewegungsmelders und speichert bei
              // Aktivierung ein Bild einer Überwachnungskamera in einem Vereichnis und sendet
              // dieses via Telegram.0-Adapter. Nach 10 Sek wird ein weiteres Bild erstellt und
              // gesendet.
              // Die Speicherung der Bilder erfolgt als "Stack", d.h. das aktuellste Bild bekommt
              // immer den Suffix "0" und es werden n Bilder mit den Suffixen 1..n-1 vorgehalten
              // Uhula 2017.11
              // -------------------------------------------------------------------------
              
              // -------------------------------------------------------------------------
              // Konfiguration
              // -------------------------------------------------------------------------
                   // Objekt-ID des Bewegungsmelders
              const oidLichtBewmelderTuer = "hm-rpc.0.PEQ0xxxxx4.1.MOTION";
                   // URL zur Kamera umn ein Image (jpg) zu erhalten
              const cam_url = "http://mxe:ix8@192.168.178.211/Streaming/channels/1/picture";
                   // Pfadangabe für die Speicherung der Bilder, der Pfad muss existieren
              const dest_path = '/opt/iobroker/iobroker-data/files/_temp/garage_klein/';
                   // Anzahl der Bilder, die vorgehalten werden sollen
              const imageCountMax = 8;                
                   // Prefix für die Bildnamen
              const imageNamePre = "garage_klein_"; 
              
              // -------------------------------------------------------------------------
              // Scriptteil
              // -------------------------------------------------------------------------
              var request = require('request');
              var fs      = require('fs');
              
              // Bild an telegram schicken 
              function sendImage (path) { 
                 try {
                     var stats = fs.statSync(path);
                     var msg = formatDate(stats.birthtime,"DD.MM.YYYY hh:mm:ss") + " " + path.substring(path.lastIndexOf('/')+1);
                     sendTo('telegram.0', {
                         text:                   path,
                         caption:                msg, 
                         disable_notification:   true,
                         user: 'Mxo',
                     });
                     sendTo('telegram.0', {
                         text:                   path,
                         caption:                msg, 
                         disable_notification:   true,
                         user: 'Lxn',
                     });
                 }
                 catch(err) { if (err.code != "ENOENT") log(err); }     
              }
              
              // löscht eine Datei synchron (wartet auf das Ergebnis)
              function fsUnlinkSync(path) {
                 try {
                     var stats = fs.statSync(path);
                     try { fs.unlinkSync(path); }
                     catch(err) { if (err.code != "ENOENT") log(err); }     
                 }
                 catch(err) { if (err.code != "ENOENT") log(err); }
              }
              
              // benennt eine Datei synchron um (wartet auf das Ergebnis)
              function fsRenameSync(oldPath, newPath) {
                 try {
                     var stats = fs.statSync(oldPath);
                     try { fs.renameSync(oldPath, newPath); }
                     catch(err) { if (err.code != "ENOENT") log(err); }     
                 }
                 catch(err) { if (err.code != "ENOENT") log(err); }
              }
              
              // Bild speichern und senden
              function saveImage() {
                 // Bild imageCountMax-1 löschen
                 fsUnlinkSync( dest_path + imageNamePre + (imageCountMax-1) + ".jpg" );
                 // Bilder 0..imageCountMax-2 umbenennen
                 for (var i=imageCountMax-4; i >= 0; i-- ) { 
                     fsRenameSync(dest_path + imageNamePre + i + ".jpg", dest_path + imageNamePre + (i+1) + ".jpg"); 
                 }
                 // Bild 0 löschen
                 var fname = imageNamePre + "0.jpg";
                 fsUnlinkSync( fname );
                 // Bild holen und speichern
                 request.get({url: cam_url, encoding: 'binary'}, function (err, response, body) {
                     fs.writeFile(dest_path + fname, body, 'binary', function(err) {
                         if (err) {
                             log('Fehler beim Bild speichern: ' + err, 'warn');
                         } else {
                             // dem Filesystem 2 Sek Zeit zum Speichern lassen
                             setTimeout(function() { sendImage(dest_path + fname); }, 2000); 
                         }
                     }); 
                 });
              }
              
              // sofort ein Bild senden und nach 3 Sek erneut
              //function onEvent() {
              //    saveImage();
              //    setTimeout(function() { saveImage(); }, 10 * 300); 
              //}
              
              // sofort ein Bild senden und nach 3 Sek erneut
              function onEvent() {
              saveImage();
              setTimeout(function() { saveImage(); }, 3 * 1000);
              setTimeout(function() { saveImage(); }, 6 * 1000);
              setTimeout(function() { saveImage(); }, 9 * 1000);
              }
              
              
              // Ereignisroutine
              //on({id: oidLichtBewmelderTuer, val: true}, function (obj) {
              //    onEvent( obj );
              on({id: 'hm-rpc.0.PEQ0xxxx4.1.MOTION', change: "ne"}, function (obj) {
               var value = obj.state.val;
               var oldValue = obj.oldState.val;
               if (getState("hm-rpc.0.PEQ0xxxx4.1.MOTION").val === true)
               onEvent( obj );
              });
              
              // manuelle Ausführung (Test)
              onEvent();
              

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

                @wendy2702
                Ja, denke auch, dass eine Kamera voll funktionieren sollte, wenn man sie schon neu kauft. Bin daher auch nicht zufrieden und schicke sie vllt noch zurück.
                Haber aber noch die Hoffnung, dass noch was zu machen ist. Zumal sie ja nach deinen Hilfestellungen auch paar Tage ohne Probleme lief 😞

                # path to the configuration directory (must be writable by motionEye)
                conf_path /etc/motioneye
                
                # path to the directory where pid files go (must be writable by motionEye)
                run_path /var/run
                
                # path to the directory where log files go (must be writable by motionEye)
                log_path /var/log
                
                # default output path for media files (must be writable by motionEye)
                media_path /var/lib/motioneye
                
                # the log level (use quiet, error, warning, info or debug)
                log_level info
                
                # the IP address to listen on
                # (0.0.0.0 for all interfaces, 127.0.0.1 for localhost)
                listen 0.0.0.0
                
                # the TCP port to listen on
                port 8765
                
                # path to the motion binary to use (automatically detected if commented)
                #motion_binary /usr/bin/motion
                
                # whether motion HTTP control interface listens on
                # localhost or on all interfaces
                motion_control_localhost false
                
                # the TCP port that motion HTTP control interface listens on
                motion_control_port 7999
                
                # interval in seconds at which motionEye checks if motion is running
                motion_check_interval 10
                
                # whether to restart the motion daemon when an error occurs while communicating with it
                motion_restart_on_errors false
                
                # interval in seconds at which motionEye checks the SMB mounts
                mount_check_interval 300
                
                # interval in seconds at which the janitor is called
                # to remove old pictures and movies
                cleanup_interval 43200
                
                # timeout in seconds to wait for response from a remote motionEye server
                remote_request_timeout 10
                
                # timeout in seconds to wait for mjpg data from the motion daemon
                mjpg_client_timeout 10
                
                # timeout in seconds after which an idle mjpg client is removed
                # (set to 0 to disable)
                mjpg_client_idle_timeout 10
                
                # enable SMB shares (requires motionEye to run as root)
                smb_shares false
                
                # the directory where the SMB mount points will be created
                smb_mount_root /media
                
                # path to the wpa_supplicant.conf file
                # (enable this to configure wifi settings from the UI)
                #wpa_supplicant_conf /etc/wpa_supplicant.conf
                
                # path to the localtime file
                # (enable this to configure the system time zone from the UI)
                #local_time_file /etc/localtime
                
                # enables shutdown and rebooting after changing system settings
                # (such as wifi settings or time zone)
                enable_reboot false
                
                # timeout in seconds to use when talking to the SMTP server
                smtp_timeout 60
                
                # timeout in seconds to wait for media files list
                list_media_timeout 120
                
                # timeout in seconds to wait for media files list, when sending emails
                list_media_timeout_email 10
                
                # timeout in seconds to wait for zip file creation
                zip_timeout 500
                
                # timeout in seconds to wait for timelapse creation
                timelapse_timeout 500
                
                # enable adding and removing cameras from UI
                add_remove_cameras true
                
                # enables HTTP basic authentication scheme (in addition to, not instead of the signature mechanism)
                http_basic_auth false
                
                # overrides the hostname (useful if motionEye runs behind a reverse proxy)
                # server_name motionEye
                
                
                wendy2702 1 Reply Last reply Reply Quote 0
                • wendy2702
                  wendy2702 @smarthome2020 last edited by

                  @smarthome2020 sagte in Kamera + Bewegungsmelder kombinieren für Gartenüberwachung:

                  the log level (use quiet, error, warning, info or debug) log_level info

                  Kannst du hier das "info" mal in "debug" ersetzen und motioneye neu starten.

                  Dann mal schauen was im log kommt.

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

                    @wendy2702

                    Apr 17 12:10:58 raspberrypi motion: [1:nc2:Garten_hint] [DBG] [NET] netcam_read_first_header: Received first header ('Date: Fri, 17 Apr 2020 10:10:58 GMT')
                    Apr 17 12:10:58 raspberrypi motion: [1:nc2:Garten_hint] [DBG] [NET] netcam_check_content_length: Content-Length -1
                    Apr 17 12:10:58 raspberrypi motion: [1:nc2:Garten_hint] [DBG] [NET] netcam_read_first_header: Received first header ('Content-Type: image/jpeg')
                    Apr 17 12:10:58 raspberrypi motion: [1:nc2:Garten_hint] [DBG] [NET] netcam_check_content_type: Content-type image/jpeg
                    Apr 17 12:10:58 raspberrypi motion: [1:nc2:Garten_hint] [NTC] [NET] netcam_read_first_header: Non-streaming camera (keep-alive not set)
                    Apr 17 12:10:58 raspberrypi motion: [1:nc2:Garten_hint] [DBG] [NET] netcam_read_first_header: Received first header ('Content-Length: 559395')
                    Apr 17 12:10:58 raspberrypi motion: [1:nc2:Garten_hint] [DBG] [NET] netcam_check_content_length: Content-Length 559395
                    Apr 17 12:10:58 raspberrypi motion: [1:nc2:Garten_hint] [NTC] [NET] netcam_read_first_header: Content-length present
                    Apr 17 12:10:58 raspberrypi motion: [1:nc2:Garten_hint] [DBG] [NET] netcam_read_first_header: Received first header ('Connection: keep-alive')
                    Apr 17 12:10:58 raspberrypi motion: [1:nc2:Garten_hint] [DBG] [NET] netcam_check_content_length: Content-Length -1
                    Apr 17 12:10:58 raspberrypi motion: [1:nc2:Garten_hint] [DBG] [NET] netcam_read_first_header: Received first header ('X-Frame-Options: SAMEORIGIN')
                    Apr 17 12:10:58 raspberrypi motion: [1:nc2:Garten_hint] [DBG] [NET] netcam_check_content_length: Content-Length -1
                    Apr 17 12:10:58 raspberrypi motion: [1:nc2:Garten_hint] [DBG] [NET] netcam_read_first_header: Received first header ('Strict-Transport-Security: max-age=63072000; includeSubdomains; preload')
                    Apr 17 12:10:58 raspberrypi motion: [1:nc2:Garten_hint] [DBG] [NET] netcam_check_content_length: Content-Length -1
                    Apr 17 12:10:58 raspberrypi motion: [1:nc2:Garten_hint] [DBG] [NET] netcam_read_first_header: Received first header ('X-XSS-Protection: 1; mode=block')
                    Apr 17 12:10:58 raspberrypi motion: [1:nc2:Garten_hint] [DBG] [NET] netcam_check_content_length: Content-Length -1
                    Apr 17 12:10:58 raspberrypi motion: [1:nc2:Garten_hint] [DBG] [NET] netcam_read_first_header: Received first header ('X-Content-Type-Options: nosniff')
                    Apr 17 12:10:58 raspberrypi motion: [1:nc2:Garten_hint] [DBG] [NET] netcam_check_content_length: Content-Length -1
                    Apr 17 12:10:58 raspberrypi motion: [1:nc2:Garten_hint] [DBG] [NET] netcam_read_first_header: Received first header ('')
                    Apr 17 12:10:58 raspberrypi motion: [1:nc2:Garten_hint] [NTC] [NET] netcam_read_html_jpeg: disconnecting netcam since keep-alive not set.
                    Apr 17 12:10:58 raspberrypi motion: [1:ml1:Garten_hint] [DBG] [NET] netcam_init_jpeg: ***new pic delay successful***
                    Apr 17 12:10:58 raspberrypi motion: [1:nc2:Garten_hint] [INF] [NET] netcam_connect: disconnecting netcam since keep-alive not set.
                    Apr 17 12:10:58 raspberrypi motion: [1:nc2:Garten_hint] [INF] [NET] netcam_connect: with no keepalive, new socket created fd 8
                    Apr 17 12:10:58 raspberrypi motion: [1:nc2:Garten_hint] [INF] [NET] netcam_connect: re-using socket 8 since keepalive is set.
                    Apr 17 12:10:58 raspberrypi motion: [1:ml1:Garten_hint] [DBG] [NET] netcam_proc_jpeg: processing jpeg image - content length 560688
                    Apr 17 12:10:58 raspberrypi motion: [1:nc2:Garten_hint] [DBG] [NET] netcam_read_first_header: Received first header ('HTTP/1.1 200 OK')
                    Apr 17 12:10:58 raspberrypi motion: [1:nc2:Garten_hint] [DBG] [NET] netcam_read_first_header: Received first header ('Server: nginx/1.6.2')
                    Apr 17 12:10:58 raspberrypi motion: [1:nc2:Garten_hint] [DBG] [NET] netcam_check_content_length: Content-Length -1
                    

                    Danke dir wieder einmal für deine Hilfe 🙂

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

                      Hast du jetzt ein Bild in Motioneye?

                      Wenn ja schaue mal ins log wenn es wieder ausfällt bzw. poste es dann hier.

                      @smarthome2020 sagte in Kamera + Bewegungsmelder kombinieren für Gartenüberwachung:

                      netcam_proc_jpeg: processing jpeg image - content length 560688

                      Hast du jetzt den link für Bilder in Motioneye konfiguriert?

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

                        @wendy2702

                        Aktuell läuft der Stream. Muss eh ganzen Tag am PC arbeiten. Daher lass ich den auf nem weiteren Bildschirm laufen und kann live verfolgen, ob irgendwas aus geht und ob meine Familie hinten im Garten auch fleißig arbeitet 😄

                        Hab bei motionEye die Storage Root Directory angepasst (/var/lib/motioneye/Garten_hinten) sowie Image File Name geändert (auf "Alarm").
                        Oder was meinst du mit Link für die Bilder?

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

                          @smarthome2020 Wollte wissen welchen Stream du aktuell von der Kamera abgreifst, also was hier steht:

                          1195fc94-1eca-44e7-8eea-956f378f95f5-image.png

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

                            @wendy2702
                            Achso, entschuldige:

                            http://192.168.xxx.xx/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=wuuPhkmUCeI9WG7C&user=xxxx&password=xxxx
                            
                            1 Reply Last reply Reply Quote 0
                            • wendy2702
                              wendy2702 last edited by

                              OK.

                              Ist ja der aus dem was ich gepostet habe wenn ich das richtig sehe.

                              Wenn du einen freien Monitor hast dann lasse doch auch Zeitgleich das logfile mit laufen.

                              tail -f /var/log/motion.log
                              

                              Dann siehst du eventuell direkt wenn etwas anfängt zu mucken.

                              S 1 Reply Last reply Reply Quote 1
                              • S
                                smarthome2020 @wendy2702 last edited by

                                @wendy2702
                                Ja, gute Idee.
                                Die Kamera fällt nur sicher gleich aus, wenn ich zum Mittagessen bin 😄

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

                                  @smarthome2020 sagte in Kamera + Bewegungsmelder kombinieren für Gartenüberwachung:

                                  Mittagessen

                                  Wahrscheinlich!

                                  Essen wird eh überbewertet. 😉

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

                                    @wendy2702

                                    Also die Kamera lief den ganzen Tag nebenher... keine Abbrüche.
                                    Abends hab ich dem PC etwas Auszeit gegeben und da ist die Kamera wieder abgeschmiert.
                                    Nachfolgend ist der Übergang aus dem Log (war im Übrigen >1GB :D):

                                    [1:nc2:Garten_hint] [DBG] [NET] netcam_read_first_header: Received first header ('Date: Fri, 17 Apr 2020 18:35:18 GMT')
                                    [1:nc2:Garten_hint] [DBG] [NET] netcam_check_content_length: Content-Length -1
                                    [1:nc2:Garten_hint] [DBG] [NET] netcam_read_first_header: Received first header ('Content-Type: image/jpeg')
                                    [1:nc2:Garten_hint] [DBG] [NET] netcam_check_content_type: Content-type image/jpeg
                                    [1:nc2:Garten_hint] [NTC] [NET] netcam_read_first_header: Non-streaming camera (keep-alive not set)
                                    [1:nc2:Garten_hint] [DBG] [NET] netcam_read_first_header: Received first header ('Content-Length: 480224')
                                    [1:nc2:Garten_hint] [DBG] [NET] netcam_check_content_length: Content-Length 480224
                                    [1:nc2:Garten_hint] [NTC] [NET] netcam_read_first_header: Content-length present
                                    [1:nc2:Garten_hint] [DBG] [NET] netcam_read_first_header: Received first header ('Connection: keep-alive')
                                    [1:nc2:Garten_hint] [DBG] [NET] netcam_check_content_length: Content-Length -1
                                    [1:nc2:Garten_hint] [DBG] [NET] netcam_read_first_header: Received first header ('X-Frame-Options: SAMEORIGIN')
                                    [1:nc2:Garten_hint] [DBG] [NET] netcam_check_content_length: Content-Length -1
                                    [1:nc2:Garten_hint] [DBG] [NET] netcam_read_first_header: Received first header ('Strict-Transport-Security: max-age=63072000; includeSubdomains; preload')
                                    [1:nc2:Garten_hint] [DBG] [NET] netcam_check_content_length: Content-Length -1
                                    [1:nc2:Garten_hint] [DBG] [NET] netcam_read_first_header: Received first header ('X-XSS-Protection: 1; mode=block')
                                    [1:nc2:Garten_hint] [DBG] [NET] netcam_check_content_length: Content-Length -1
                                    [1:nc2:Garten_hint] [DBG] [NET] netcam_read_first_header: Received first header ('X-Content-Type-Options: nosniff')
                                    [1:nc2:Garten_hint] [DBG] [NET] netcam_check_content_length: Content-Length -1
                                    [1:nc2:Garten_hint] [DBG] [NET] netcam_read_first_header: Received first header ('')
                                    [1:nc2:Garten_hint] [NTC] [NET] netcam_read_html_jpeg: disconnecting netcam since keep-alive not set.
                                    [1:ml1:Garten_hint] [DBG] [NET] netcam_init_jpeg: ***new pic delay successful***
                                    [1:nc2:Garten_hint] [INF] [NET] netcam_connect: disconnecting netcam since keep-alive not set.
                                    [1:nc2:Garten_hint] [INF] [NET] netcam_connect: with no keepalive, new socket created fd 8
                                    [1:nc2:Garten_hint] [INF] [NET] netcam_connect: re-using socket 8 since keepalive is set.
                                    [1:nc2:Garten_hint] [DBG] [NET] netcam_read_first_header: Received first header ('HTTP/1.1 502 Bad Gateway')
                                    [1:nc2:Garten_hint] [DBG] [NET] netcam_read_first_header: HTTP Result code 502
                                    [1:nc2:Garten_hint] [ERR] [NET] netcam_handler_loop: Unrecognized image header (502)
                                    [1:nc2:Garten_hint] [INF] [NET] netcam_connect: disconnecting netcam since keep-alive not set.
                                    [1:nc2:Garten_hint] [INF] [NET] netcam_connect: with no keepalive, new socket created fd 8
                                    [1:nc2:Garten_hint] [INF] [NET] netcam_connect: re-using socket 8 since keepalive is set.
                                    [1:nc2:Garten_hint] [DBG] [NET] netcam_read_first_header: Received first header ('HTTP/1.1 502 Bad Gateway')
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • wendy2702
                                      wendy2702 last edited by

                                      @smarthome2020 sagte in Kamera + Bewegungsmelder kombinieren für Gartenüberwachung:

                                      disconnecting netcam since keep-alive not set.

                                      Vielleicht mal in der Motion.conf mit diesem Wert spielen:

                                      # The setting for keep-alive of network socket, should improve performance on compatible net cameras.
                                      # 1.0:         The historical implementation using HTTP/1.0, closing the socket after each http request.
                                      # keep_alive:  Use HTTP/1.0 requests with keep alive header to reuse the same connection.
                                      # 1.1:         Use HTTP/1.1 requests that support keep alive as default.
                                      # Default: 1.0
                                      # CHANGED
                                      netcam_http 1.1
                                      
                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        smarthome2020 @wendy2702 last edited by

                                        @wendy2702
                                        OK. Probiere das nachher. Ist aber interessant, dass sie abschmiert, wenn man den Stream nicht auf nem Monitor laufen hat.

                                        S 1 Reply Last reply Reply Quote 0
                                        • S
                                          smarthome2020 @smarthome2020 last edited by smarthome2020

                                          @wendy2702
                                          Ich finde in keiner motion.conf diese Einstellungsmöglichkeiten. Oder wo hast du die her?

                                          Glaube auch nciht, dass es daran liegt. Kann wieder nicht auf die Kamera zugreifen per Browser. "Bad Gateway". Kann die Kamera nicht bei motionEye einrichten "Bad Gateway".
                                          WLAN-Steckdose habe ich beim Switch installiert. Die Kamera hierüber aus und angeschaltet und dann gehts wieder mit der Einrichtung.

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

                                            https://linuxwiki.de/motion

                                            S 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            734
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            bewegungsmelder kamera überwachung
                                            11
                                            197
                                            15847
                                            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