Plugin MotionEye - Kamera Surveillance System für den LoxBerry
Einklappen
X
-
Vielleicht deine rtsp Adresse ist nicht richtig.
Hast Du versucht das Stream in z.B. VLC Player zu abspielen?Zuletzt geändert von Prof.Mobilux; 07.04.2023, 15:19.Kommentar
-
Ich habe eine Antwort von Abus erhalten zwecks der AdressenLivebild - Zugriff Befehl Ergebnis / Wert Single JPG http://username assword@<servername>:<HTTP-Port>/ISAPI/Streaming/channels/1/picture
JPG-Bild immer von Stream1 H.264 Stream rtsp://username assword@<servername>:<rtsp-port>/ch1/main
Stream1 rtsp://username assword@<servername>:<rtsp-port>/ch1/sub
Stream2 MPEG-4 Stream N/A MJPEG-Stream rtsp://username assword@<servername>:<rtsp-port>/ch1/main
Stream1 rtsp://username assword@<servername>:<rtsp-port>/ch1/sub
Stream2 HTTP- Stream (Nur von Stream 2) http://username assword@<IP-adress>/ISAPI/Streaming/channels/102/httppreview
Stream 2 muss auf MJPEG gestellt werden
Wenn ich die Adresse im Browser eingebe erhalten ich ein Bild wenn ich Sie in Loxone einbinden will bekomme ich keine Funktion obwohl es ein Http-Stream ist!
????
Kommentar
-
Sehr gutes Plugin, ich nutze es auch um die Kamera an der Tür in die Loxone Türsteuerung zu integrieren. Mit der alten Lösung über Camstream, konnte ich die transcodierung von der Loxone aktivieren bzw. deaktivieren und so ressourcen sparen.
Das heißt es wäre eine Option sinnvoll, dass ich beim Klingeln über Loxone einen Http request absetze der wiederrum die Transcodierung startet und für 2-3 minuten laufen lässt damit ich das Standbild und den Stream in der Loxone app hab.Kommentar
-
hey mir ist aufgefallen das nach einem neustart das plugin nicht mehr läuft über das WebUI kann ich es dann Problemlos wieder starten. Loxberry 3.0.0.6Loxone: so ziemlich alles was es gibt
Loxberry: Alexa<->Lox, CamStream4Lox, FHEM, MQTT Gateway, Weather4Loxone, Zigbee2Mqtt
Other: Node-Red, IObroker, Zehnder Comfoair 350, Tasmota, usw.Kommentar
-
Was sagt folgender Befehl:
Code:sudo systemctl status cron | tee
🇺🇦 Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine
LoxBerry - Beyond the Limits
Kommentar
-
● cron.service - Regular background program processing daemon
Loaded: loaded (/lib/systemd/system/cron.service; enabled; vendor preset: e nabled)
Active: active (running) since Tue 2023-06-06 08:37:20 CEST; 11h ago
Docs: man:cron(8)
Main PID: 450 (cron)
Tasks: 2 (limit: 4915)
CPU: 2min 29.019s
CGroup: /system.slice/cron.service
├─ 450 /usr/sbin/cron -f
└─1069 /usr/bin/php /opt/loxberry/bin/plugins/stats4lox/mqtt/mqttli ve.php
Jun 06 20:00:02 loxberry CRON[10867]: pam_unix(cron:session): session closed for user loxberry
Jun 06 20:00:02 loxberry CRON[10864]: pam_unix(cron:session): session closed for user loxberry
Jun 06 20:00:02 loxberry CRON[10862]: pam_unix(cron:session): session closed for user loxberry
Jun 06 20:00:02 loxberry CRON[10872]: (loxberry) CMD (cd / && for f in /opt/loxb erry/system/cron/cron.15min/*; do ($f cron=15min > /dev/null 2>&1 &); done)
Jun 06 20:00:02 loxberry CRON[10877]: (loxberry) CMD (cd / && for f in /opt/loxb erry/system/cron/cron.05min/*; do ($f cron=05min > /dev/null 2>&1 &); done)
Jun 06 20:00:02 loxberry CRON[10863]: pam_unix(cron:session): session closed for user loxberry
Jun 06 20:00:02 loxberry CRON[10865]: pam_unix(cron:session): session closed for user loxberry
Jun 06 20:01:01 loxberry CRON[10890]: pam_unix(cron:session): session opened for user loxberry(uid=1001) by (uid=0)
Jun 06 20:01:01 loxberry CRON[10891]: (loxberry) CMD (cd / && for f in /opt/loxb erry/system/cron/cron.01min/*; do ($f cron=01min > /dev/null 2>&1 &); done)
Jun 06 20:01:01 loxberry CRON[10890]: pam_unix(cron:session): session closed for user loxberry
Loxone: so ziemlich alles was es gibt
Loxberry: Alexa<->Lox, CamStream4Lox, FHEM, MQTT Gateway, Weather4Loxone, Zigbee2Mqtt
Other: Node-Red, IObroker, Zehnder Comfoair 350, Tasmota, usw.Kommentar
-
Sieht gut aus. Und das hier? Befehl direkt nach dem Booten ausführen, wenn MotionEye noch nicht gestartet wurde.
Code:sudo systemctl status motioneye | tee
🇺🇦 Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine
LoxBerry - Beyond the Limits
Kommentar
-
● motioneye.service - motionEye Server
Loaded: loaded (/etc/systemd/system/motioneye.service; enabled; vendor pres et: enabled)
Active: failed (Result: exit-code) since Wed 2023-06-07 06:27:13 CEST; 49s ago
Process: 248 ExecStart=/usr/local/bin/meyectl startserver -c /etc/motioneye/ motioneye.conf (code=exited, status=255/EXCEPTION)
Main PID: 248 (code=exited, status=255/EXCEPTION)
CPU: 914ms
Jun 07 06:27:11 loxberry systemd[1]: Started motionEye Server.
Jun 07 06:27:13 loxberry meyectl[248]: INFO: hello! this is motionEye server 0.42.1
Jun 07 06:27:13 loxberry meyectl[248]: CRITICAL: pid directory "/opt/loxberry/lo g/plugins/motioneye" does not exist or is not writable
Jun 07 06:27:13 loxberry systemd[1]: motioneye.service: Main process exited, cod e=exited, status=255/EXCEPTION
Jun 07 06:27:13 loxberry systemd[1]: motioneye.service: Failed with result 'exit -code'.
Da kommt das..Loxone: so ziemlich alles was es gibt
Loxberry: Alexa<->Lox, CamStream4Lox, FHEM, MQTT Gateway, Weather4Loxone, Zigbee2Mqtt
Other: Node-Red, IObroker, Zehnder Comfoair 350, Tasmota, usw.Kommentar
-
Ah, ok. MontionEye started eher als unsere Services und findet dann das Logverzeichnis nicht. Das muss ich mir anschauen und umbauen.🇺🇦 Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine
LoxBerry - Beyond the Limits
Kommentar
-
Moin,
was muss ich denn tun wenn ich die Locale MMAL Camera, also die Raspi Cam Module 2 verwenden möchte?
Bisher bekomme ich immer eine Fehlermeldung wenn ich das bei Add-Camera auswähle.
Viele Grüße
DocKommentar
-
Funktioniert das Plugin denn noch? Ich habe Loxberry frisch aufgesetzt und MotionEye frisch installiert - ohne Fehlermeldung.
Leider startet es nicht , der Zustand steht immer auf stopped und lässt sich nicht starten.
systemctl status motioneye auf der Konsole ergibt:
● motioneye.service - motionEye Server
Loaded: loaded (/etc/systemd/system/motioneye.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2023-10-18 09:11:06 CEST; 14s ago
Process: 2221 ExecStart=/usr/local/bin/meyectl startserver -c /etc/motioneye/motioneye.conf (code=exited,>
Main PID: 2221 (code=exited, status=1/FAILURE)
CPU: 48ms
Oct 18 09:11:05 loxberry systemd[1]: Started motionEye Server.
Oct 18 09:11:06 loxberry meyectl[2221]: Traceback (most recent call last):
Oct 18 09:11:06 loxberry meyectl[2221]: File "/usr/local/bin/meyectl", line 5, in <module>
Oct 18 09:11:06 loxberry meyectl[2221]: from motioneye.meyectl import main
Oct 18 09:11:06 loxberry meyectl[2221]: ImportError: cannot import name main
Oct 18 09:11:06 loxberry systemd[1]: motioneye.service: Main process exited, code=exited, status=1/FAILURE
Oct 18 09:11:06 loxberry systemd[1]: motioneye.service: Failed with result 'exit-code'.
Weiss jemand, was da los ist?
Kommentar
-
Welche LoxBerry-Version? 3.0? Dann mal diese Version installieren: https://github.com/mschlenstedt/LoxB...heads/main.zip🇺🇦 Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine
LoxBerry - Beyond the Limits
Kommentar
-
Komisch, bei mir LB3.0 funktionierte das Plugin ohne Probleme. Log Dich bitte mal per SSH ein, werde mit "su -" zu root und starte mal manuell:
Code:/usr/local/bin/meyectl startserver -c /etc/motioneye/motioneye.conf
Und dann nochmal:
Code:python3 -V
🇺🇦 Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine
LoxBerry - Beyond the Limits
Kommentar
Kommentar