Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Motioneye Zeitliche Video Aufnahme

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.1k

Motioneye Zeitliche Video Aufnahme

Geplant Angeheftet Gesperrt Verschoben Skripten / Logik
blocklymonitoringjavascript
16 Beiträge 3 Kommentatoren 2.6k Aufrufe 3 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • YodaY Offline
    YodaY Offline
    Yoda
    schrieb am zuletzt editiert von
    #1

    Hallo,

    ich habe bei mir MotionEye am laufen, nun möchte ich ein Video Aufzeichnen wenn ein Alarm über einen Variablen Daten Punkt /Objekt (Shelly+ Bewegungsmelder) geschaltet wird.

    Vereinfacht:
    Shelly Objekt = True = Start Videoaufzeichnung für eine Zeit von 40 sec.

    Meine Konfiguration:

    • IP Kamera Wansview W6
    • Über Raspi4 = Läuft der iobroker IP ...53:8081
    • Über Raspi3 = Läuft Motioneye IP ...47

    Folgende Adressen sind Aktiv und funktionsfähig über Browser Eingabe am Raspi 3 und 4:

    Bild-Snapshot:
    http://xxx.168.178.47:8765/picture/1/current/
    Live Stream:
    http://xxx.168.178.47:8081
    Frame pro 1sec
    http://xxx.168.178.47:8765/picture/1/frame/

    Für meine Lösung habe ich noch nichts passendes gefunden.
    Ein Ansatz über direkten Trigger per GPIO wäre hier:
    https://github.com/avanc/motioneye-pir/blob/master/README.md
    Ich benötige aber eine Steuerung über einem Datenpunkt / Objekt.

    @wendy2702 hier hatte ich auch schon rumgeschaut.
    https://github.com/ccrisan/motioneyeos/issues/842

    Ich sehe zwei Mögliche Ansetzte:

    1. Über einen Befehl, eine Bewegung oder Motion an Motioneye Kamera Einstellung Aktivieren / Deaktivieren.
    2. Einen Direkten Befehl das Kamera Bild für einige sec. aufzuzeichnen.

    Kann mir hier jemand weiterhelfen?
    LG

    Gruß Yoda
    Stand 05.2025
    Raspberry5,linux,arm64,CPUs:4,Geschwindigkeit:2400 MHz,Modell:Cortex-A76,RAM:15.8 GB,Node.js:v20.19.2

    wendy2702W 1 Antwort Letzte Antwort
    0
    • YodaY Yoda

      Hallo,

      ich habe bei mir MotionEye am laufen, nun möchte ich ein Video Aufzeichnen wenn ein Alarm über einen Variablen Daten Punkt /Objekt (Shelly+ Bewegungsmelder) geschaltet wird.

      Vereinfacht:
      Shelly Objekt = True = Start Videoaufzeichnung für eine Zeit von 40 sec.

      Meine Konfiguration:

      • IP Kamera Wansview W6
      • Über Raspi4 = Läuft der iobroker IP ...53:8081
      • Über Raspi3 = Läuft Motioneye IP ...47

      Folgende Adressen sind Aktiv und funktionsfähig über Browser Eingabe am Raspi 3 und 4:

      Bild-Snapshot:
      http://xxx.168.178.47:8765/picture/1/current/
      Live Stream:
      http://xxx.168.178.47:8081
      Frame pro 1sec
      http://xxx.168.178.47:8765/picture/1/frame/

      Für meine Lösung habe ich noch nichts passendes gefunden.
      Ein Ansatz über direkten Trigger per GPIO wäre hier:
      https://github.com/avanc/motioneye-pir/blob/master/README.md
      Ich benötige aber eine Steuerung über einem Datenpunkt / Objekt.

      @wendy2702 hier hatte ich auch schon rumgeschaut.
      https://github.com/ccrisan/motioneyeos/issues/842

      Ich sehe zwei Mögliche Ansetzte:

      1. Über einen Befehl, eine Bewegung oder Motion an Motioneye Kamera Einstellung Aktivieren / Deaktivieren.
      2. Einen Direkten Befehl das Kamera Bild für einige sec. aufzuzeichnen.

      Kann mir hier jemand weiterhelfen?
      LG

      wendy2702W Online
      wendy2702W Online
      wendy2702
      schrieb am zuletzt editiert von
      #2

      @yoda Und das funktioniert nicht?

      another possibility could be that the PIR set the camera to active processing the video stream
      (http://192.168.1.14:7999/1/detection/start)
      and then back to "pause"
      (http://192.168.1.14:7999/1/detection/pause)

      Bitte keine Fragen per PN, die gehören ins Forum!

      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

      YodaY 1 Antwort Letzte Antwort
      0
      • wendy2702W wendy2702

        @yoda Und das funktioniert nicht?

        another possibility could be that the PIR set the camera to active processing the video stream
        (http://192.168.1.14:7999/1/detection/start)
        and then back to "pause"
        (http://192.168.1.14:7999/1/detection/pause)

        YodaY Offline
        YodaY Offline
        Yoda
        schrieb am zuletzt editiert von
        #3

        @wendy2702

        leider Nein, gebe ich das Im Browser ein:
        http://192.168.178.47:7999/1/detection/start

        Es Folgt:

        10-1.jpg

        ein einfache Blocky über Manuellen schalter , mit dem Aufruf - sehe hier keine Aufnahme zu:

        10-2.jpg

        <xml xmlns="https://developers.google.com/blockly/xml">
          <variables>
            <variable type="timeout" id="timeout2">timeout2</variable>
          </variables>
          <block type="on_ext" id="ie!o(`},y!W_nQm2O}qM" x="-1012" y="-637">
            <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <value name="OID0">
              <shadow type="field_oid" id="UUp`wRVA;u40;DDch#qV">
                <field name="oid">kamera.0.Live_Bild_Hof_2_Trigger</field>
              </shadow>
            </value>
            <statement name="STATEMENT">
              <block type="controls_if" id="p{O+wRg0V(;3U_SM?w38">
                <value name="IF0">
                  <block type="logic_compare" id="fsEVLCKjDeTnXQO4viQs">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="get_value" id="G2%KCoV,9q)w;P-cWe8F">
                        <field name="ATTR">val</field>
                        <field name="OID">kamera.0.Live_Bild_Hof_2_Trigger</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_boolean" id="T#4?AUYpx3)^tR)foJe(">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="exec" id="B;y`eUpK`M_d-J[@K-kh">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                    <field name="WITH_STATEMENT">FALSE</field>
                    <field name="LOG"></field>
                    <value name="COMMAND">
                      <shadow type="text" id="%p5lCWbiD@9Kp!5M:]/c">
                        <field name="TEXT">http://192.168.178.47:7999/1/detection/start</field>
                      </shadow>
                    </value>
                    <next>
                      <block type="timeouts_settimeout" id="bIgf1C?htO;:KWC+7tw*">
                        <field name="NAME">timeout2</field>
                        <field name="DELAY">20</field>
                        <field name="UNIT">sec</field>
                        <statement name="STATEMENT">
                          <block type="exec" id="ir_q:VuI2|g:+9XUnucv">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                            <field name="WITH_STATEMENT">FALSE</field>
                            <field name="LOG"></field>
                            <value name="COMMAND">
                              <shadow type="text" id="-5BZ^ScbAQx7})(J:rTO">
                                <field name="TEXT">http://192.168.178.47:7999/1/detection/pause</field>
                              </shadow>
                            </value>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </statement>
                <next>
                  <block type="control" id="Irj+AdQe](/s{qwwY9.*">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                    <field name="OID">kamera.0.Live_Bild_Hof_2_Trigger</field>
                    <field name="WITH_DELAY">TRUE</field>
                    <field name="DELAY_MS">25</field>
                    <field name="UNIT">sec</field>
                    <field name="CLEAR_RUNNING">FALSE</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="#LR7R{hJpO8gK-7^_G0T">
                        <field name="BOOL">FALSE</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </statement>
          </block>
        </xml>
        

        Gruß Yoda
        Stand 05.2025
        Raspberry5,linux,arm64,CPUs:4,Geschwindigkeit:2400 MHz,Modell:Cortex-A76,RAM:15.8 GB,Node.js:v20.19.2

        wendy2702W 1 Antwort Letzte Antwort
        0
        • YodaY Yoda

          @wendy2702

          leider Nein, gebe ich das Im Browser ein:
          http://192.168.178.47:7999/1/detection/start

          Es Folgt:

          10-1.jpg

          ein einfache Blocky über Manuellen schalter , mit dem Aufruf - sehe hier keine Aufnahme zu:

          10-2.jpg

          <xml xmlns="https://developers.google.com/blockly/xml">
            <variables>
              <variable type="timeout" id="timeout2">timeout2</variable>
            </variables>
            <block type="on_ext" id="ie!o(`},y!W_nQm2O}qM" x="-1012" y="-637">
              <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
              <field name="CONDITION">ne</field>
              <field name="ACK_CONDITION"></field>
              <value name="OID0">
                <shadow type="field_oid" id="UUp`wRVA;u40;DDch#qV">
                  <field name="oid">kamera.0.Live_Bild_Hof_2_Trigger</field>
                </shadow>
              </value>
              <statement name="STATEMENT">
                <block type="controls_if" id="p{O+wRg0V(;3U_SM?w38">
                  <value name="IF0">
                    <block type="logic_compare" id="fsEVLCKjDeTnXQO4viQs">
                      <field name="OP">EQ</field>
                      <value name="A">
                        <block type="get_value" id="G2%KCoV,9q)w;P-cWe8F">
                          <field name="ATTR">val</field>
                          <field name="OID">kamera.0.Live_Bild_Hof_2_Trigger</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_boolean" id="T#4?AUYpx3)^tR)foJe(">
                          <field name="BOOL">TRUE</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO0">
                    <block type="exec" id="B;y`eUpK`M_d-J[@K-kh">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                      <field name="WITH_STATEMENT">FALSE</field>
                      <field name="LOG"></field>
                      <value name="COMMAND">
                        <shadow type="text" id="%p5lCWbiD@9Kp!5M:]/c">
                          <field name="TEXT">http://192.168.178.47:7999/1/detection/start</field>
                        </shadow>
                      </value>
                      <next>
                        <block type="timeouts_settimeout" id="bIgf1C?htO;:KWC+7tw*">
                          <field name="NAME">timeout2</field>
                          <field name="DELAY">20</field>
                          <field name="UNIT">sec</field>
                          <statement name="STATEMENT">
                            <block type="exec" id="ir_q:VuI2|g:+9XUnucv">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                              <field name="WITH_STATEMENT">FALSE</field>
                              <field name="LOG"></field>
                              <value name="COMMAND">
                                <shadow type="text" id="-5BZ^ScbAQx7})(J:rTO">
                                  <field name="TEXT">http://192.168.178.47:7999/1/detection/pause</field>
                                </shadow>
                              </value>
                            </block>
                          </statement>
                        </block>
                      </next>
                    </block>
                  </statement>
                  <next>
                    <block type="control" id="Irj+AdQe](/s{qwwY9.*">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                      <field name="OID">kamera.0.Live_Bild_Hof_2_Trigger</field>
                      <field name="WITH_DELAY">TRUE</field>
                      <field name="DELAY_MS">25</field>
                      <field name="UNIT">sec</field>
                      <field name="CLEAR_RUNNING">FALSE</field>
                      <value name="VALUE">
                        <block type="logic_boolean" id="#LR7R{hJpO8gK-7^_G0T">
                          <field name="BOOL">FALSE</field>
                        </block>
                      </value>
                    </block>
                  </next>
                </block>
              </statement>
            </block>
          </xml>
          
          wendy2702W Online
          wendy2702W Online
          wendy2702
          schrieb am zuletzt editiert von
          #4

          @yoda Die IP Adresse an sich ist aber erreichbar?

          Das mal umgestellt:

          motion_control_localhost
          Set this to false to restrict the motion daemon's HTTP control server to listen on all interfaces. Defaults to true.
          

          Bitte keine Fragen per PN, die gehören ins Forum!

          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

          YodaY 1 Antwort Letzte Antwort
          0
          • wendy2702W wendy2702

            @yoda Die IP Adresse an sich ist aber erreichbar?

            Das mal umgestellt:

            motion_control_localhost
            Set this to false to restrict the motion daemon's HTTP control server to listen on all interfaces. Defaults to true.
            
            YodaY Offline
            YodaY Offline
            Yoda
            schrieb am zuletzt editiert von
            #5

            @wendy2702
            Ja die Ip Adressen sind erreichbar über den Browser am Raspi 3
            Hier die Eingabe über Port 8765 (Motioneye)

            10-3.jpg

            Hier die Eingabe über Port 8081

            10-4.jpg

            Wo sollte ich das genau umsetllen - falls noch notwenig?
            
            motion_control_localhost
            Set this to false to restrict the motion daemon's HTTP control server to listen on all interfaces. Defaults to true.
            

            Gruß Yoda
            Stand 05.2025
            Raspberry5,linux,arm64,CPUs:4,Geschwindigkeit:2400 MHz,Modell:Cortex-A76,RAM:15.8 GB,Node.js:v20.19.2

            wendy2702W 1 Antwort Letzte Antwort
            0
            • YodaY Yoda

              @wendy2702
              Ja die Ip Adressen sind erreichbar über den Browser am Raspi 3
              Hier die Eingabe über Port 8765 (Motioneye)

              10-3.jpg

              Hier die Eingabe über Port 8081

              10-4.jpg

              Wo sollte ich das genau umsetllen - falls noch notwenig?
              
              motion_control_localhost
              Set this to false to restrict the motion daemon's HTTP control server to listen on all interfaces. Defaults to true.
              
              wendy2702W Online
              wendy2702W Online
              wendy2702
              schrieb am zuletzt editiert von
              #6

              @yoda

              Hier:

              motioneye.conf
              motionEye uses a configuration file (usually called motioneye.conf) that allows customizing your setup (including paths, logging, various timeouts and other options that cannot be modified through the UI). The default location for this file is /etc/motioneye/motioneye.conf and can be changed using the -c command line switch.
              

              Bitte keine Fragen per PN, die gehören ins Forum!

              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

              YodaY 1 Antwort Letzte Antwort
              0
              • wendy2702W wendy2702

                @yoda

                Hier:

                motioneye.conf
                motionEye uses a configuration file (usually called motioneye.conf) that allows customizing your setup (including paths, logging, various timeouts and other options that cannot be modified through the UI). The default location for this file is /etc/motioneye/motioneye.conf and can be changed using the -c command line switch.
                
                YodaY Offline
                YodaY Offline
                Yoda
                schrieb am zuletzt editiert von
                #7

                @wendy2702
                Eingabe am Raspi3 / Terminal wo Motioneye läuft:

                10-5.jpg

                Gruß Yoda
                Stand 05.2025
                Raspberry5,linux,arm64,CPUs:4,Geschwindigkeit:2400 MHz,Modell:Cortex-A76,RAM:15.8 GB,Node.js:v20.19.2

                wendy2702W 1 Antwort Letzte Antwort
                0
                • YodaY Yoda

                  @wendy2702
                  Eingabe am Raspi3 / Terminal wo Motioneye läuft:

                  10-5.jpg

                  wendy2702W Online
                  wendy2702W Online
                  wendy2702
                  schrieb am zuletzt editiert von
                  #8

                  @yoda so geht das auch nicht.

                  Das file muss mit einem Editor geöffnet und bearbeitet werden.

                  z.B.

                  sudo nano /etc/motioneye/motioneye.conf
                  

                  Bitte keine Fragen per PN, die gehören ins Forum!

                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                  YodaY 1 Antwort Letzte Antwort
                  0
                  • wendy2702W wendy2702

                    @yoda so geht das auch nicht.

                    Das file muss mit einem Editor geöffnet und bearbeitet werden.

                    z.B.

                    sudo nano /etc/motioneye/motioneye.conf
                    
                    YodaY Offline
                    YodaY Offline
                    Yoda
                    schrieb am zuletzt editiert von
                    #9

                    @wendy2702 soory aber die Befehle über das Terminal sind mir grade mal zu 1 % Bekannt :-(

                    habe die conf. nun aufgerufen - möchte da nun aber auch nichts falsch machen - wie geht es da weiter?

                    10-6.jpg

                    
                    # 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
                    
                    

                    Gruß Yoda
                    Stand 05.2025
                    Raspberry5,linux,arm64,CPUs:4,Geschwindigkeit:2400 MHz,Modell:Cortex-A76,RAM:15.8 GB,Node.js:v20.19.2

                    YodaY 1 Antwort Letzte Antwort
                    0
                    • YodaY Yoda

                      @wendy2702 soory aber die Befehle über das Terminal sind mir grade mal zu 1 % Bekannt :-(

                      habe die conf. nun aufgerufen - möchte da nun aber auch nichts falsch machen - wie geht es da weiter?

                      10-6.jpg

                      
                      # 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
                      
                      
                      YodaY Offline
                      YodaY Offline
                      Yoda
                      schrieb am zuletzt editiert von Yoda
                      #10

                      ich habe über WinCSP mal die Datei gesucht und gefunden:

                      10-7.jpg

                      
                      # 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 true
                      
                      # 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
                      
                      

                      Wenn ich das Richtig lese wäre das doch ok auf True:
                      10-8.jpg

                      Gruß Yoda
                      Stand 05.2025
                      Raspberry5,linux,arm64,CPUs:4,Geschwindigkeit:2400 MHz,Modell:Cortex-A76,RAM:15.8 GB,Node.js:v20.19.2

                      wendy2702W 1 Antwort Letzte Antwort
                      0
                      • YodaY Yoda

                        ich habe über WinCSP mal die Datei gesucht und gefunden:

                        10-7.jpg

                        
                        # 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 true
                        
                        # 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
                        
                        

                        Wenn ich das Richtig lese wäre das doch ok auf True:
                        10-8.jpg

                        wendy2702W Online
                        wendy2702W Online
                        wendy2702
                        schrieb am zuletzt editiert von
                        #11

                        @yoda Ja.

                        Und damit lauscht er nur auf dem eigenen Interface. Wohl aber nicht auf denen die von extern kommen.

                        Stell den mal auf "false" und starte Motioneye neu und teste dann mal das http kommando.

                        Bitte keine Fragen per PN, die gehören ins Forum!

                        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                        YodaY 1 Antwort Letzte Antwort
                        1
                        • wendy2702W wendy2702

                          @yoda Ja.

                          Und damit lauscht er nur auf dem eigenen Interface. Wohl aber nicht auf denen die von extern kommen.

                          Stell den mal auf "false" und starte Motioneye neu und teste dann mal das http kommando.

                          YodaY Offline
                          YodaY Offline
                          Yoda
                          schrieb am zuletzt editiert von
                          #12

                          @wendy2702
                          ok habe es gemacht -

                          • Wert steht nun auf False.
                          • Neustart vom ganzen Raspi3 zur Sicherheit
                          • Befehl im Blocky und auch mal im Browser ausgeführt : http://192.168.178.47:7999/1/detection/start

                          x Eine Video Datei wird allerdings nicht auf dem Raspi angelegt.

                          Was mich nun aber grade etwas verwundert, bisschen konfus:
                          Bei einer Bewegung wird über die Kamera eigene Software ein Video (per Handy zugriff - cloud) erzeugt.
                          Dieses sollte aber eigentlich auch auf dem Raspi angelegt werden. - Tut es heute aber nicht mehr.

                          Ich habe hier gestern noch etwas mit der Kamera Einstellungen von Motion eye rumgespielt,
                          und nie Aufnahmen gesehen.
                          Heute sehe ich die von Gestern - aber nicht die von grade Aktuell.

                          Vielleicht macht er also den Befehl - nur wird die Video Datei nicht angelegt?...
                          Oh man was für ein durcheinander....

                          Aufnahmen nur von Gestern bzw. die Nacht auf dem Raspi:
                          10-10.jpg

                          @wendy2702 Danke schon mal, das du dir die Zeit für mich genommen hast!
                          LG

                          Gruß Yoda
                          Stand 05.2025
                          Raspberry5,linux,arm64,CPUs:4,Geschwindigkeit:2400 MHz,Modell:Cortex-A76,RAM:15.8 GB,Node.js:v20.19.2

                          YodaY 1 Antwort Letzte Antwort
                          0
                          • YodaY Yoda

                            @wendy2702
                            ok habe es gemacht -

                            • Wert steht nun auf False.
                            • Neustart vom ganzen Raspi3 zur Sicherheit
                            • Befehl im Blocky und auch mal im Browser ausgeführt : http://192.168.178.47:7999/1/detection/start

                            x Eine Video Datei wird allerdings nicht auf dem Raspi angelegt.

                            Was mich nun aber grade etwas verwundert, bisschen konfus:
                            Bei einer Bewegung wird über die Kamera eigene Software ein Video (per Handy zugriff - cloud) erzeugt.
                            Dieses sollte aber eigentlich auch auf dem Raspi angelegt werden. - Tut es heute aber nicht mehr.

                            Ich habe hier gestern noch etwas mit der Kamera Einstellungen von Motion eye rumgespielt,
                            und nie Aufnahmen gesehen.
                            Heute sehe ich die von Gestern - aber nicht die von grade Aktuell.

                            Vielleicht macht er also den Befehl - nur wird die Video Datei nicht angelegt?...
                            Oh man was für ein durcheinander....

                            Aufnahmen nur von Gestern bzw. die Nacht auf dem Raspi:
                            10-10.jpg

                            @wendy2702 Danke schon mal, das du dir die Zeit für mich genommen hast!
                            LG

                            YodaY Offline
                            YodaY Offline
                            Yoda
                            schrieb am zuletzt editiert von Yoda
                            #13

                            ich habe hier nun noch folgendes rausgefunden.

                            Stelle ich in der Motion Software den "Recording Mode" auf "Motion Trigger"

                            • wird keine Datei angelegt.

                            Stelle ich auf " Continuous Recording"

                            • werden dauerhaft Dateien erzeugt.

                            10-11.jpg

                            10-12.jpg

                            Wenn man nun die zwei Einstellungen per Befehl (idealerweise im Blocky) wechseln könnte - wäre es doch die Lösung...

                            Zumindest zeigt es ja schon mal das die Berechtigungen und Pfade wie ich sie habe in Ordnung wären.

                            Gruß Yoda
                            Stand 05.2025
                            Raspberry5,linux,arm64,CPUs:4,Geschwindigkeit:2400 MHz,Modell:Cortex-A76,RAM:15.8 GB,Node.js:v20.19.2

                            FredFF 1 Antwort Letzte Antwort
                            0
                            • YodaY Yoda

                              ich habe hier nun noch folgendes rausgefunden.

                              Stelle ich in der Motion Software den "Recording Mode" auf "Motion Trigger"

                              • wird keine Datei angelegt.

                              Stelle ich auf " Continuous Recording"

                              • werden dauerhaft Dateien erzeugt.

                              10-11.jpg

                              10-12.jpg

                              Wenn man nun die zwei Einstellungen per Befehl (idealerweise im Blocky) wechseln könnte - wäre es doch die Lösung...

                              Zumindest zeigt es ja schon mal das die Berechtigungen und Pfade wie ich sie habe in Ordnung wären.

                              FredFF Online
                              FredFF Online
                              FredF
                              Most Active Forum Testing
                              schrieb am zuletzt editiert von
                              #14

                              @yoda Ich habs selber noch nicht umgesetzt, nur den Link mir gemerkt. Hier hat das jemand mit Blockly beschrieben.

                              YodaY 1 Antwort Letzte Antwort
                              1
                              • wendy2702W Online
                                wendy2702W Online
                                wendy2702
                                schrieb am zuletzt editiert von
                                #15

                                Mit der velinkten Anleitung sollte es ja eigentlich klappen.

                                Zu Datum und Uhrzeit, sicherheitshalber auch mal die Systemzeiten der Rechner prüfen falls die noch nie gestellt worden sind.

                                Bitte keine Fragen per PN, die gehören ins Forum!

                                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                1 Antwort Letzte Antwort
                                1
                                • FredFF FredF

                                  @yoda Ich habs selber noch nicht umgesetzt, nur den Link mir gemerkt. Hier hat das jemand mit Blockly beschrieben.

                                  YodaY Offline
                                  YodaY Offline
                                  Yoda
                                  schrieb am zuletzt editiert von
                                  #16

                                  @fredf Danke für den Link, das ist sehr passend.
                                  @wendy2702 Danke auch nochmal für deine Hilfe.

                                  Ich habe das soweit nun auch nachgebaut. Die Position wäre dann wohl für mich Interessant
                                  Run A Command: ON .........curl <IP-Adresse ....tEventStart
                                  Run An End Command: ON .......curl <IP-Adresse tEventStop

                                  Im Combination mit den beiden Datenpunkten
                                  javascript.0.motioneye.getEventStart
                                  javascript.0.motioneye.getEventStop

                                  Ist für für die externe Triggerung wohl der Richtige weg, klappt aber noch nicht bei mir- ich frage dort einmal nach.
                                  https://forum.iobroker.net/topic/40016/bewegungserkennung-mit-motioneye-lösung-komplett-in-blockly

                                  LG

                                  Gruß Yoda
                                  Stand 05.2025
                                  Raspberry5,linux,arm64,CPUs:4,Geschwindigkeit:2400 MHz,Modell:Cortex-A76,RAM:15.8 GB,Node.js:v20.19.2

                                  1 Antwort Letzte Antwort
                                  0
                                  Antworten
                                  • In einem neuen Thema antworten
                                  Anmelden zum Antworten
                                  • Älteste zuerst
                                  • Neuste zuerst
                                  • Meiste Stimmen


                                  Support us

                                  ioBroker
                                  Community Adapters
                                  Donate

                                  724

                                  Online

                                  32.6k

                                  Benutzer

                                  82.1k

                                  Themen

                                  1.3m

                                  Beiträge
                                  Community
                                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                  ioBroker Community 2014-2025
                                  logo
                                  • Anmelden

                                  • Du hast noch kein Konto? Registrieren

                                  • Anmelden oder registrieren, um zu suchen
                                  • Erster Beitrag
                                    Letzter Beitrag
                                  0
                                  • Home
                                  • Aktuell
                                  • Tags
                                  • Ungelesen 0
                                  • Kategorien
                                  • Unreplied
                                  • Beliebt
                                  • GitHub
                                  • Docu
                                  • Hilfe