NEWS
Motion eye startet nicht
-
Hallo,
Ich wollte heute Motion Eye auf meinem Raspi installieren. Aber er startet mit dem Port 8756 nicht.
Mit systemctl status motioneyemotioneye.service - motionEye Server Loaded: loaded (/etc/systemd/system/motioneye.service; enabled; vendor preset: enabled) Active: active (running) since Sun 2024-10-13 13:07:22 CEST; 1h 12min ago Main PID: 385 (meyectl) Tasks: 5 (limit: 4915) CPU: 7.958s CGroup: /system.slice/motioneye.service ├─385 /usr/bin/python2 /usr/local/bin/meyectl startserver -c /etc/motioneye/motioneye.conf └─564 /usr/bin/python2 /usr/local/bin/meyectl startserver -c /etc/motioneye/motioneye.conf Oct 13 13:07:22 iobroker-pi systemd[1]: Started motionEye Server. Oct 13 13:07:25 iobroker-pi meyectl[385]: INFO: hello! this is motionEye server 0.42.1 Oct 13 13:07:27 iobroker-pi meyectl[385]: INFO: main config file /etc/motioneye/motion.conf does not exist, using default values Oct 13 13:07:27 iobroker-pi meyectl[385]: INFO: cleanup started Oct 13 13:07:27 iobroker-pi meyectl[385]: INFO: wsswitch started Oct 13 13:07:27 iobroker-pi meyectl[385]: INFO: tasks started Oct 13 13:07:27 iobroker-pi meyectl[385]: INFO: mjpg client garbage collector started Oct 13 13:07:27 iobroker-pi meyectl[385]: INFO: server started
Mit sudo systemctl status motion
motion.service - Motion - Security camera monitoring software. Loaded: loaded (/lib/systemd/system/motion.service; disabled; vendor preset: enabled) Active: inactive (dead) Docs: man:motion(1) Oct 13 13:34:50 iobroker-pi motion[3038]: [1:ml1] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1 Oct 13 13:34:50 iobroker-pi motion[3038]: [1:ml1] [ALR] [VID] v4l2_device_open: Failed to open video device /dev/video0: No such file or directo> Oct 13 13:34:50 iobroker-pi motion[3038]: [1:ml1] [ERR] [VID] vid_start: V4L2 device failed to open Oct 13 13:34:52 iobroker-pi motion[3038]: [0:motion] [NTC] [ALL] sig_handler: Received signal 15. Oct 13 13:34:52 iobroker-pi systemd[1]: Stopping Motion - Security camera monitoring software.... Oct 13 13:34:52 iobroker-pi motion[3038]: [1:ml1] [NTC] [ALL] motion_loop: Thread exiting Oct 13 13:34:52 iobroker-pi motion[3038]: [0:motion] [NTC] [ALL] main: Threads finished Oct 13 13:34:52 iobroker-pi motion[3038]: [0:motion] [NTC] [ALL] main: Motion terminating Oct 13 13:34:52 iobroker-pi systemd[1]: motion.service: Succeeded. Oct 13 13:34:52 iobroker-pi systemd[1]: Stopped Motion - Security camera monitoring software..
Wisst ihr was fehlt oder was hier nicht geklappt hat?
-
Wie wurde das auf welchem System installiert?
Ich würde mir auch eher eine andere Software suchen, motioneye ist ein 'wenig' eingeschlafen.
python2 ist auch schon seit Jahren abgekündigt. -
@thomas-braun bullseye Version 11
-
@thomas-braun sagte in Motion eye startet nicht:
python2
gäbe es auch schon mit version 3
@line sagte in Motion eye startet nicht:
bullseye Version 11
aktuell ist V12
-
@crunchip
Ist dies gleich zu setzten mit Motion Eye? Ich habe eine ip Kamara die ich gerne in die Iqontrol einbinden will. -
-
Hast Du Dich verschrieben bei dem Port?
Er ist 8765 und nicht , wie Du geschrieben hast 8756.
"Öffnen Sie die MotionEye-Benutzeroberfläche mit Ihren Webbrowsern, indem Sie die IP-Adresse Ihres Raspberry Pi gefolgt von Port 8765 eingeben"
-
@haselchen
Sowas doofes. Du hast recht! Ich dachte es wäre 8756. Danke dir, jetzt gehts -
@line ok Kamara konnte ich nun einbinden.
Der Status zeigt folgenden Fehler
Oct 13 16:49:12 iobroker-pi meyectl[385]: ERROR: rtsp client error: Connection refused Oct 13 16:49:23 iobroker-pi meyectl[385]: INFO: adding new netcam camera with id 1... Oct 13 16:49:23 iobroker-pi motion[11559]: [0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file /etc/motioneye/motion.conf Oct 13 16:49:23 iobroker-pi motion[11559]: [0:motion] [NTC] [ALL] config_camera: Processing camera config file camera-1.conf Oct 13 16:49:23 iobroker-pi motion[11559]: [0:motion] [ALR] [ALL] conf_cmdparse: "netcam_keepalive" replaced with "netcam_params" after version > Oct 13 16:49:23 iobroker-pi motion[11559]: [0:motion] [ALR] [ALL] conf_cmdparse: "netcam_tolerant_check" replaced with "netcam_params" after ver> Oct 13 16:49:23 iobroker-pi motion[11559]: [0:motion] [NTC] [ALL] motion_startup: Logging to syslog Oct 13 16:49:23 iobroker-pi motion[11559]: [0:motion] [NTC] [ALL] motion_startup: Motion 4.7.0 Started Oct 13 16:49:23 iobroker-pi motion[11559]: [0:motion] [NTC] [ALL] motion_startup: Using default log type (ALL) Oct 13 16:49:23 iobroker-pi motion[11559]: [0:motion] [NTC] [ALL] motion_startup: Using log type (ALL) log level (WRN)
-
-
Connection refused deutet auf ein Problem mit der Verbindung zur Kamera hin.
Wie lautet deine RTSP URL?
Und wo haste die her ?
Hersteller oder aus dem Netz ? -
@haselchen
Vom Gerät hab ich die rtsp. Sie lautet rtsp://ip:554/live/ch1Ich bekomm auch ein Bild, jedoch wundert mich die Fehlermeldung
-
@line welche Fehlermeldung?
Sehe im log fitzel keinen Error
-
Oct 13 16:53:47 iobroker-pi motion[11715]: [0:motion] [NTC] [ALL] motion_startup: Using log type (ALL) log level (WRN) Oct 13 16:54:32 iobroker-pi motion[11792]: [0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file /etc/motioneye/motion.conf Oct 13 16:54:32 iobroker-pi motion[11792]: [0:motion] [NTC] [ALL] config_camera: Processing camera config file camera-1.conf Oct 13 16:54:32 iobroker-pi motion[11792]: [0:motion] [ALR] [ALL] conf_cmdparse: "netcam_keepalive" replaced with "netcam_params" after version > Oct 13 16:54:32 iobroker-pi motion[11792]: [0:motion] [ALR] [ALL] conf_cmdparse: "netcam_tolerant_check" replaced with "netcam_params" after ver> Oct 13 16:54:32 iobroker-pi motion[11792]: [0:motion] [NTC] [ALL] motion_startup: Logging to syslog Oct 13 16:54:32 iobroker-pi motion[11792]: [0:motion] [NTC] [ALL] motion_startup: Motion 4.7.0 Started Oct 13 16:54:32 iobroker-pi motion[11792]: [0:motion] [NTC] [ALL] motion_startup: Using default log type (ALL) Oct 13 16:54:32 iobroker-pi motion[11792]: [0:motion] [NTC] [ALL] motion_startup: Using log type (ALL) log level (WRN) Oct 13 17:25:38 iobroker-pi motion[11792]: [2:nc2:Hausgang] [ERR] [NET] netcam_rtsp_handler_reconnect: norm: Reconnecting with camera....
-
Also, korrigiert mich , aber meine Streams haben entweder einen Token oder ich muss Benutzername und Passwort mit in die URL packen.
Hast Du mal den ONVIF Manager ausprobiert (Windows). Der liefert dir die genaue Stream URL. -
@haselchen der obere RTSP habe ich im Motion Eye eingegeben. Dieser ist ja dann mit User und PW.
Laut der Einstellung in meiner Kamara ist die RTSP wie folgt:
rtsp://User:PW@IP_Nummer:544/live/ch1Aber wie gesagt, den User/PW gebe ich ja in der Motion Eye Setup ein
-
@line sagte in Motion eye startet nicht:
rtsp://User:PW@IP_Nummer:544/live/ch1
Aber wie gesagt, den User/PW gebe ich ja in der Motion Eye Setup einDann musst du auch die von ME zur Verfügung gestellte url eingeben; und nicht die rtsp
-
Vermutlich ein Kommunikationsfehler.
Also beim Anlegen der Kamera gibst Du ja Network Kamera an.
Da kommt dann die RTSP URL rein OHNE Benutzername und Passwort.
Und in den Feldern darunter, da gibst Du dann Benutzername und Passwort ein.
Vorausgesetzt, so ist das bei Deiner Kamera vorgesehen.
Bei meiner Wansview muss ich nen Token mit angeben (herausgefunden über ONVIF Manager).
Bei meiner Tapo muss ich das so eingeben, wie oben beschrieben. -
In ME hier den rtsp:
Und hier erhälts du die Streaming url:
Bei mir:
Und diesen dann in vis.
-
@haselchen ich musste den motion eye nochmals deinstallieren und neu aufsetzten, weil er zu viele Fehler hatte.
Nun konnte ich meinen Iobroker nicht mehr wie gewohnt auf dem Port 8081 erreichen, sondern auf dem 8082.
in der Iobroker list instance zeigt er mir jedoch den 8081 an:system.adapter.admin.0 : admin : iobroker-pi - enabled, compact disabled, port: 8081, bind: 0.0.0.0, run as: admin
Die Ports von motion und motion eye sind in der config auf 8765 gesetzt. Das passt.
Jedoch hab ich unternetstart -n -a -p TCP
so viele Dienste drin - teilweise auch doppelt. Kann das zusammenhängen mit dem neuen Iobroker Port 8082?