IP Sinocam Überwachungskamera Live Bilder in FHEM

Begonnen von Heinzi, 24 Januar 2017, 21:54:54

Vorheriges Thema - Nächstes Thema

KernSani

Vielleicht mal ein anderer Ansatz... Zumindest in meinem Fall ist ein Livebild eher uninteressant. Was interessant ist, ist wenn die Kamera eine Bewegung erkennt. In diesem Fall kann meine Kamera:
a) Eine Email schicken: Diese hole ich mit dem MAILCHECK-Modul ab und kann dann in FHEM machen, was immer ich will (z.B. eine Pushmsg schicken)
b) Bilder auf einen FTP-Server legen: Bei mir liegen die Images dann auf einem externen Server. Mittels eines PHP Scripts (auf dem Server) kann ich mir die in FHEM als weblink anzeigen lassen...

RasPi: RFXTRX, HM, zigbee2mqtt, mySensors, JeeLink, miLight, squeezbox, Alexa, Siri, ...

stefanru

Hi KernSani,

ja genau. Im Prinzip benutze ich ja den Weg 2.
Ob ich es nun nur bei Bewegung ein File schreibe und über das at aktualisieren lasse oder alle 10 Sekunden ein File schreibe ändert am Ablauf nichts.
Das funtioniert auf jedenfall wunderbar und belastet die CAM nicht.

Klar den Weg per E-Mail kann man auch gehen.
Hier hatte ich bisher etwas Probleme das richtig auf dem Raspberry einzurichten.
An Postfix bekomme ich die Kamera nicht angebunden wegen protokoll problemen denke ich.
An einen anderen Mailserver schon dann kann ich aber kein Shellskript ausführen.

Gruß,
Stefan


eddso

Ja den Ansatz verfolge ich auch. Das 15 Sekunden intervall kann man mit Bild bei Alarm erweitern. FTP Verzeichnis ins tmpfs legen und zeitig sauber machen.
MfG Ed

sash.sc

#18
@stefanru

Wäre nett, wenn Du deine Codeschnippsel mal einstellen könntest.

Für mich wäre es auch interessant, die Bewegungsüberwac hung über einen Schalter/Dummy etc. ein- bzw auszuschalten.
Bei INSTAR auf der deutschen Seite gibt es eine Liste von den ganzen CGI Kommandos.

Habe zu der szsinocam leider noch nix gefunden, aber mal den Verkäufer auf Amazon angeschrieben.

Mal schauen was da so kommt !

Gruß und Danke
Sascha
Raspi 4B+ Bullseye ;LaCrosse; HomeMatic; MapleCUL; ZigBee; Signalduino ESP32 ; Shellys; MQTT2; Grafana mit Influxdb

stefanru

Hi Sascha,

mit der szinocam konnte ich bisher nur per ONIVF ordentlich komunizieren.
Bin auch schon an dei Motion Daten gekommen. Das ganze war aber in node.js und nicht in perl. Und dazu war leider auch ein pull nötig. Push gabs da nicht.
Macht das ganze etwas unhandlich und schlecht in FHEM einzubauen.
Trotzdem wäre wohl eine ONIVF Implementierung das sinnigste wenn jemand viel Zeit hat.
Dann könnte man alle neueren Camera Modelle Steuern.

Codeschnipsel kann ich dir geben.
Ich habe meine CAM noch per Sysmon angebunden, das geht auch wunderbar.

Hier zuerst die Definition in FEHM:
Ich lasse die Camera alle 10 Sekunden ein Bild auf eine SD Karte am Raspberry schreiben. Den aktuellen Filename hole ich mir in das reading "newestpic".
Dieses Benutze ich wiederum zur Anzeige im FHEM Tablet UI.
Ach ja ein Trick ist noch dabei. Damit das Bild auch im Tablet UI angezeigt werden kann, habe ich den SD-Karten mount per symbolischen Link in ein Unterverzeichniss des Tablet UI gelinkt.
So dass diese auch vom Tablet UI Webserver bereitgestllet werden können.

Die SD Karte lasse ich per Cronjob jede woche auf eine HDD speichern.
Somit habe ich eine saubere historie mit alle 10 sekunden ein Bild auf der HDD. (Flas mal was nachzuschauen wäre)



define cam SYSMON telnet:root@192.168.69.93:99 5 10 10 60
attr cam room Cam
attr cam stateFormat uptime_text
# Log
define FileLog_cam_sysmon FileLog ./log/cam_sysmon-%Y-%m.log cam
attr FileLog_cam_sysmon group Cam
attr FileLog_cam_sysmon logtype SM_CPUTemp:Plot,text
attr FileLog_cam_sysmon room Cam
   
# Visualisierung: CPU-Auslastung (load average)
define wl_cam_sysmon_load SVG FileLog_cam_sysmon:SM_Load:CURRENT
attr wl_cam_sysmon_load group Cam
attr wl_cam_sysmon_load label "Load Min: $data{min1}, Max: $data{max1}, Aktuell: $data{currval1}"
attr wl_cam_sysmon_load room Cam

# Visualisierung: RAM-Nutzung
define wl_cam_sysmon_ram SVG FileLog_cam_sysmon:SM_RAM:CURRENT
attr wl_cam_sysmon_ram group Cam
attr wl_cam_sysmon_ram label "RAM-Nutzung Total: $data{max1}, Min: $data{min2}, Max: $data{max2}, Aktuell: $data{currval2}"
attr wl_cam_sysmon_ram room Cam

define newestpic dummy
attr newestpic readingList pic
attr newestpic room Cam
attr newestpic stateFormat pic
define setnewestpic at +*00:00:10 {newestpic()}
attr setnewestpic room Cam


Coding in 99_myUtils.pm für newestpic:

sub newestpic {
my $date = strftime '%Y-%m-%d', localtime;
#my $befehl = "ls -t '/opt/fhem/www/tablet/cam/pics/$date/Capture/IPCAM/Channel01' | head -1";
my $befehl = "find '/opt/fhem/www/tablet/cam/pics/$date/Capture/IPCAM/Channel01/' -type f -cmin -1 -printf '%f\n' | sort -rn | head -1";
my $latest = `$befehl`;
my $pic = "/fhem/ftui/cam/pics/".$date."/Capture/IPCAM/Channel01/".$latest;
sleep 2;
fhem("set newestpic pic $pic");
}


Gruß,
Stefan

Mariomgn

hi stefanru,

wie genau hast du das mit dem ftp Server gelöst?

ich habe eine Sinocam 720P Waterproof  IP Cam und ich versuche schon seit zwei Tagen das ganze ans laufen zu bekommen.

Die ONIVF Funktion steht bei mir nicht zur Debatte, da die Cam nur im Lokalen Netzwerk erreichbar sein soll.

Ftp Server auf dem RSPI habe ich proftp verwendet, dieser läuft aber nicht so richtig...


MfG Mario

stefanru

Hi Mario, habe auch proftp benutzt.
Habe auch etwas fummeln müssen bis der connect ging. Hilft dir meine config etwas?
Dann stelle ich sie dir ein?

Mariomgn

Ja das wäre schön.

Kannst du mir auch ein Screenshot von den Einstellungen (Ftp)deiner Cam machen?

MfG Mario

stefanru

Ok,
hier mal meine proftp.conf und ein screenshot.

Gruß,
Stefan

Mariomgn

Bei mir sieht das ein bisschen anders aus (Bild  Ftp):o

Also...

Wenn ich über IE auf CAPTURE drücke wird ein Bild in "opt/fhem/Bilder\Snap\17_11_18\192.168.0.21-80-1" abgelegt.

In der Cam ist eingestellt, dass alle 5 Sekunden (kleinster Wert) ein Bild gemacht werden soll was aber nicht funktioniert.

Desweiteren wenn ich über IE sehe dass Bewegung erkannt wurde wird ebenfalls kein Bild gespeichert.


stefanru

Hi,

na wenn er über Capture speichert scheints ja prinzipiell mal zu gehen.
Was passiert denn wenn du bei den FTP Einstellungen auf Test drückst?

Gibts ne Möglichkeit bei der Einstellung das alle 5 sek ein Bild gemacht werden soll anzugeben wo es abgelegt werden soll?
Ich kann da zwischen FTp / NFS und local auswählen.

Gruß,
Stefan

Mariomgn

Habe ich auf FTP gestellt (Bild auto snap)

Wenn ich bei FTP auf Test gehe kommt "Test......Success." .

Eigentlich alles I.O. aber warum macht das Ding keine Auto Bilder :-[

Mariomgn

Hallo,

Mein FTP Server läuft immer noch nicht ...

Ich hatte die falsche Adresse angegeben, deshalb hat die Cam auch gesagt "Test.....Success".
Das war die Adresse von dem SFTP Server...

Die Funktion "Schnappschuss" und "Aufnahme" speichert direkt auf einem angegebenen Pfad ohne FTP was aber bei Motion Detektion nicht geht.

Ich habe nochmal alles mir mögliche versucht den proftp Server zum laufen zu bekommen und ihn dabei anscheinend vor die Wand gefahren :-\

Das sind die Aktuellen Fehlermeldungen:
pi@raspberrypi:~ $ /etc/init.d/proftpd restart
[....] Restarting proftpd (via systemctl): proftpd.serviceFailed to restart proftpd.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
See system logs and 'systemctl status proftpd.service' for details.
failed!
   

und in der Log Datei :
Checking syntax of configuration file
2017-11-19 14:43:28,745 raspberrypi proftpd[813]: using PCRE 8.39 2016-06-14
2017-11-19 14:43:28,748 raspberrypi proftpd[813]: using TCP receive buffer size of 87380 bytes
2017-11-19 14:43:28,748 raspberrypi proftpd[813]: using TCP send buffer size of 16384 bytes
2017-11-19 14:43:28,749 raspberrypi proftpd[813]: unable to bind to Unix domain socket at '/run/test.sock': Permission denied
2017-11-19 14:43:28,752 raspberrypi proftpd[813]: mod_memcache/0.1: using libmemcached-1.0.18
2017-11-19 14:43:28,753 raspberrypi proftpd[813]: using 'UTF-8' as local charset for UTF-8 conversion
2017-11-19 14:43:28,755 raspberrypi proftpd[813]: mod_dso/0.5: loading 'mod_ctrls_admin.c'
2017-11-19 14:43:28,756 raspberrypi proftpd[813]: mod_dso/0.5: loaded module 'mod_ctrls_admin' (from '/usr/lib/proftpd/mod_ctrls_admin.so', last modified on Wed Apr 05 15:57:53 2017)
2017-11-19 14:43:28,757 raspberrypi proftpd[813]: mod_dso/0.5: loading 'mod_tls.c'
2017-11-19 14:43:28,757 raspberrypi proftpd[813]: mod_dso/0.5: loaded module 'mod_tls' (from '/usr/lib/proftpd/mod_tls.so', last modified on Wed Apr 05 15:57:53 2017)
2017-11-19 14:43:28,757 raspberrypi proftpd[813]: mod_tls/2.6: using OpenSSL 1.0.2k  26 Jan 2017
2017-11-19 14:43:28,772 raspberrypi proftpd[813]: mod_dso/0.5: loading 'mod_radius.c'
2017-11-19 14:43:28,773 raspberrypi proftpd[813]: mod_dso/0.5: loaded module 'mod_radius' (from '/usr/lib/proftpd/mod_radius.so', last modified on Wed Apr 05 15:57:53 2017)
2017-11-19 14:43:28,773 raspberrypi proftpd[813]: mod_dso/0.5: loading 'mod_quotatab.c'
2017-11-19 14:43:28,774 raspberrypi proftpd[813]: mod_dso/0.5: loaded module 'mod_quotatab' (from '/usr/lib/proftpd/mod_quotatab.so', last modified on Wed Apr 05 15:57:53 2017)
2017-11-19 14:43:28,774 raspberrypi proftpd[813]: mod_dso/0.5: loading 'mod_quotatab_file.c'
2017-11-19 14:43:28,775 raspberrypi proftpd[813]: mod_dso/0.5: loaded module 'mod_quotatab_file' (from '/usr/lib/proftpd/mod_quotatab_file.so', last modified on Wed Apr 05 15:57:53 2017)
2017-11-19 14:43:28,775 raspberrypi proftpd[813]: mod_dso/0.5: loading 'mod_quotatab_radius.c'
2017-11-19 14:43:28,776 raspberrypi proftpd[813]: mod_dso/0.5: loaded module 'mod_quotatab_radius' (from '/usr/lib/proftpd/mod_quotatab_radius.so', last modified on Wed Apr 05 15:57:53 2017)
2017-11-19 14:43:28,776 raspberrypi proftpd[813]: mod_dso/0.5: loading 'mod_wrap.c'
2017-11-19 14:43:28,777 raspberrypi proftpd[813]: mod_dso/0.5: loaded module 'mod_wrap' (from '/usr/lib/proftpd/mod_wrap.so', last modified on Wed Apr 05 15:57:53 2017)
2017-11-19 14:43:28,778 raspberrypi proftpd[813]: mod_dso/0.5: loading 'mod_rewrite.c'
2017-11-19 14:43:28,778 raspberrypi proftpd[813]: mod_dso/0.5: loaded module 'mod_rewrite' (from '/usr/lib/proftpd/mod_rewrite.so', last modified on Wed Apr 05 15:57:53 2017)
2017-11-19 14:43:28,778 raspberrypi proftpd[813]: mod_dso/0.5: loading 'mod_load.c'
2017-11-19 14:43:28,779 raspberrypi proftpd[813]: mod_dso/0.5: loaded module 'mod_load' (from '/usr/lib/proftpd/mod_load.so', last modified on Wed Apr 05 15:57:53 2017)
2017-11-19 14:43:28,779 raspberrypi proftpd[813]: mod_dso/0.5: loading 'mod_ban.c'
2017-11-19 14:43:28,780 raspberrypi proftpd[813]: mod_dso/0.5: loaded module 'mod_ban' (from '/usr/lib/proftpd/mod_ban.so', last modified on Wed Apr 05 15:57:53 2017)
2017-11-19 14:43:28,780 raspberrypi proftpd[813]: mod_dso/0.5: loading 'mod_wrap2.c'
2017-11-19 14:43:28,780 raspberrypi proftpd[813]: mod_dso/0.5: loaded module 'mod_wrap2' (from '/usr/lib/proftpd/mod_wrap2.so', last modified on Wed Apr 05 15:57:53 2017)
2017-11-19 14:43:28,781 raspberrypi proftpd[813]: mod_dso/0.5: loading 'mod_wrap2_file.c'
2017-11-19 14:43:28,781 raspberrypi proftpd[813]: mod_dso/0.5: loaded module 'mod_wrap2_file' (from '/usr/lib/proftpd/mod_wrap2_file.so', last modified on Wed Apr 05 15:57:53 2017)
2017-11-19 14:43:28,781 raspberrypi proftpd[813]: mod_dso/0.5: loading 'mod_dynmasq.c'
2017-11-19 14:43:28,782 raspberrypi proftpd[813]: mod_dso/0.5: loaded module 'mod_dynmasq' (from '/usr/lib/proftpd/mod_dynmasq.so', last modified on Wed Apr 05 15:57:53 2017)
2017-11-19 14:43:28,782 raspberrypi proftpd[813]: mod_dso/0.5: loading 'mod_exec.c'
2017-11-19 14:43:28,783 raspberrypi proftpd[813]: mod_dso/0.5: loaded module 'mod_exec' (from '/usr/lib/proftpd/mod_exec.so', last modified on Wed Apr 05 15:57:53 2017)
2017-11-19 14:43:28,783 raspberrypi proftpd[813]: mod_dso/0.5: loading 'mod_shaper.c'
2017-11-19 14:43:28,783 raspberrypi proftpd[813]: mod_dso/0.5: loaded module 'mod_shaper' (from '/usr/lib/proftpd/mod_shaper.so', last modified on Wed Apr 05 15:57:53 2017)
2017-11-19 14:43:28,784 raspberrypi proftpd[813]: mod_dso/0.5: loading 'mod_ratio.c'
2017-11-19 14:43:28,784 raspberrypi proftpd[813]: mod_dso/0.5: loaded module 'mod_ratio' (from '/usr/lib/proftpd/mod_ratio.so', last modified on Wed Apr 05 15:57:53 2017)
2017-11-19 14:43:28,784 raspberrypi proftpd[813]: mod_dso/0.5: loading 'mod_site_misc.c'
2017-11-19 14:43:28,785 raspberrypi proftpd[813]: mod_dso/0.5: loaded module 'mod_site_misc' (from '/usr/lib/proftpd/mod_site_misc.so', last modified on Wed Apr 05 15:57:53 2017)
2017-11-19 14:43:28,785 raspberrypi proftpd[813]: mod_dso/0.5: loading 'mod_sftp.c'
2017-11-19 14:43:28,786 raspberrypi proftpd[813]: mod_dso/0.5: loaded module 'mod_sftp' (from '/usr/lib/proftpd/mod_sftp.so', last modified on Wed Apr 05 15:57:53 2017)
2017-11-19 14:43:28,787 raspberrypi proftpd[813]: mod_sftp/0.9.9: using OpenSSL 1.0.2k  26 Jan 2017
2017-11-19 14:43:28,787 raspberrypi proftpd[813]: mod_dso/0.5: loading 'mod_sftp_pam.c'
2017-11-19 14:43:28,788 raspberrypi proftpd[813]: mod_dso/0.5: loaded module 'mod_sftp_pam' (from '/usr/lib/proftpd/mod_sftp_pam.so', last modified on Wed Apr 05 15:57:53 2017)
2017-11-19 14:43:28,788 raspberrypi proftpd[813]: mod_dso/0.5: loading 'mod_facl.c'
2017-11-19 14:43:28,789 raspberrypi proftpd[813]: mod_dso/0.5: loaded module 'mod_facl' (from '/usr/lib/proftpd/mod_facl.so', last modified on Wed Apr 05 15:57:53 2017)
2017-11-19 14:43:28,789 raspberrypi proftpd[813]: mod_facl/0.4: registered 'facl' FS
2017-11-19 14:43:28,789 raspberrypi proftpd[813]: mod_dso/0.5: loading 'mod_unique_id.c'
2017-11-19 14:43:28,790 raspberrypi proftpd[813]: mod_dso/0.5: loaded module 'mod_unique_id' (from '/usr/lib/proftpd/mod_unique_id.so', last modified on Wed Apr 05 15:57:53 2017)
2017-11-19 14:43:28,790 raspberrypi proftpd[813]: mod_dso/0.5: loading 'mod_copy.c'
2017-11-19 14:43:28,790 raspberrypi proftpd[813]: mod_dso/0.5: loaded module 'mod_copy' (from '/usr/lib/proftpd/mod_copy.so', last modified on Wed Apr 05 15:57:53 2017)
2017-11-19 14:43:28,791 raspberrypi proftpd[813]: mod_dso/0.5: loading 'mod_deflate.c'
2017-11-19 14:43:28,791 raspberrypi proftpd[813]: mod_dso/0.5: loaded module 'mod_deflate' (from '/usr/lib/proftpd/mod_deflate.so', last modified on Wed Apr 05 15:57:53 2017)
2017-11-19 14:43:28,791 raspberrypi proftpd[813]: mod_deflate/0.5.7: using zlib 1.2.8
2017-11-19 14:43:28,791 raspberrypi proftpd[813]: mod_dso/0.5: loading 'mod_ifversion.c'
2017-11-19 14:43:28,792 raspberrypi proftpd[813]: mod_dso/0.5: loaded module 'mod_ifversion' (from '/usr/lib/proftpd/mod_ifversion.so', last modified on Wed Apr 05 15:57:53 2017)
2017-11-19 14:43:28,792 raspberrypi proftpd[813]: mod_dso/0.5: loading 'mod_tls_memcache.c'
2017-11-19 14:43:28,793 raspberrypi proftpd[813]: mod_dso/0.5: loaded module 'mod_tls_memcache' (from '/usr/lib/proftpd/mod_tls_memcache.so', last modified on Wed Apr 05 15:57:53 2017)
2017-11-19 14:43:28,793 raspberrypi proftpd[813]: mod_dso/0.5: loading 'mod_ifsession.c'
2017-11-19 14:43:28,793 raspberrypi proftpd[813]: mod_dso/0.5: loaded module 'mod_ifsession' (from '/usr/lib/proftpd/mod_ifsession.so', last modified on Wed Apr 05 15:57:53 2017)
2017-11-19 14:43:28,794 raspberrypi proftpd[813]: disabling runtime support for IPv6 connections
2017-11-19 14:43:28,794 raspberrypi proftpd[813]: DenyFilter: compiling regex '\*.*/'
2017-11-19 14:43:28,795 raspberrypi proftpd[813]: <IfModule>: using 'mod_dynmasq.c' section at line 67
2017-11-19 14:43:28,795 raspberrypi proftpd[813]: retrieved UID 109 for user 'proftpd'
2017-11-19 14:43:28,796 raspberrypi proftpd[813]: retrieved GID 65534 for group 'nogroup'
2017-11-19 14:43:28,796 raspberrypi proftpd[813]: <IfModule>: using 'mod_quotatab.c' section at line 115
2017-11-19 14:43:28,796 raspberrypi proftpd[813]: <IfModule>: using 'mod_ratio.c' section at line 119
2017-11-19 14:43:28,797 raspberrypi proftpd[813]: <IfModule>: using 'mod_delay.c' section at line 127
2017-11-19 14:43:28,797 raspberrypi proftpd[813]: <IfModule>: using 'mod_ctrls.c' section at line 131
2017-11-19 14:43:28,797 raspberrypi proftpd[813]: <IfModule>: using 'mod_ctrls_admin.c' section at line 139
2017-11-19 14:43:28,798 raspberrypi proftpd[813]: error: unable to open parse file '/etc/proftpd/conf.d/.custom.conf.swp': Permission denied
2017-11-19 14:43:28,799 raspberrypi proftpd[813] raspberrypi:
2017-11-19 14:43:28,799 raspberrypi proftpd[813] raspberrypi: Config for 192.168.0.150:
2017-11-19 14:43:28,799 raspberrypi proftpd[813] raspberrypi: DefaultRoot
2017-11-19 14:43:28,799 raspberrypi proftpd[813] raspberrypi: AuthOrder
2017-11-19 14:43:28,799 raspberrypi proftpd[813] raspberrypi: AuthUserFile
2017-11-19 14:43:28,799 raspberrypi proftpd[813] raspberrypi: AuthPAM
2017-11-19 14:43:28,799 raspberrypi proftpd[813] raspberrypi: RequireValidShell
2017-11-19 14:43:28,799 raspberrypi proftpd[813] raspberrypi: IdentLookups
2017-11-19 14:43:28,799 raspberrypi proftpd[813] raspberrypi: DeferWelcome
2017-11-19 14:43:28,799 raspberrypi proftpd[813] raspberrypi: AllowOverwrite
2017-11-19 14:43:28,799 raspberrypi proftpd[813] raspberrypi: MultilineRFC2228
2017-11-19 14:43:28,799 raspberrypi proftpd[813] raspberrypi: DefaultServer
2017-11-19 14:43:28,799 raspberrypi proftpd[813] raspberrypi: ShowSymlinks
2017-11-19 14:43:28,799 raspberrypi proftpd[813] raspberrypi: TimeoutNoTransfer
2017-11-19 14:43:28,800 raspberrypi proftpd[813] raspberrypi: TimeoutStalled
2017-11-19 14:43:28,800 raspberrypi proftpd[813] raspberrypi: TimeoutIdle
2017-11-19 14:43:28,800 raspberrypi proftpd[813] raspberrypi: DisplayLogin
2017-11-19 14:43:28,800 raspberrypi proftpd[813] raspberrypi: DisplayChdir
2017-11-19 14:43:28,800 raspberrypi proftpd[813] raspberrypi: ListOptions
2017-11-19 14:43:28,800 raspberrypi proftpd[813] raspberrypi: DenyFilter
2017-11-19 14:43:28,800 raspberrypi proftpd[813] raspberrypi: RLimitCPU
2017-11-19 14:43:28,800 raspberrypi proftpd[813] raspberrypi: RLimitMemory
2017-11-19 14:43:28,800 raspberrypi proftpd[813] raspberrypi: UserID
2017-11-19 14:43:28,800 raspberrypi proftpd[813] raspberrypi: UserName
2017-11-19 14:43:28,800 raspberrypi proftpd[813] raspberrypi: GroupID
2017-11-19 14:43:28,800 raspberrypi proftpd[813] raspberrypi: GroupName
2017-11-19 14:43:28,800 raspberrypi proftpd[813] raspberrypi: Umask
2017-11-19 14:43:28,800 raspberrypi proftpd[813] raspberrypi: DirUmask
2017-11-19 14:43:28,800 raspberrypi proftpd[813] raspberrypi: AllowOverwrite
2017-11-19 14:43:28,800 raspberrypi proftpd[813] raspberrypi: TransferLog
2017-11-19 14:43:28,800 raspberrypi proftpd[813] raspberrypi: SystemLog
2017-11-19 14:43:28,800 raspberrypi proftpd[813] raspberrypi: QuotaEngine
2017-11-19 14:43:28,801 raspberrypi proftpd[813] raspberrypi: Ratios
2017-11-19 14:43:28,801 raspberrypi proftpd[813] raspberrypi: DelayEngine
2017-11-19 14:43:28,803 raspberrypi proftpd[813] raspberrypi: mod_lang/1.0: binding to text domain 'proftpd' using locale path '/usr/share/locale'
2017-11-19 14:43:28,803 raspberrypi proftpd[813] raspberrypi: mod_lang/1.0: using locale files in '/usr/share/locale'
2017-11-19 14:43:28,804 raspberrypi proftpd[813] raspberrypi: mod_lang/1.0: skipping possible language 'bg_BG': not supported by setlocale(3); see `locale -a'
2017-11-19 14:43:28,804 raspberrypi proftpd[813] raspberrypi: mod_lang/1.0: skipping possible language 'ko_KR': not supported by setlocale(3); see `locale -a'
2017-11-19 14:43:28,805 raspberrypi proftpd[813] raspberrypi: mod_lang/1.0: skipping possible language 'zh_TW': not supported by setlocale(3); see `locale -a'
2017-11-19 14:43:28,805 raspberrypi proftpd[813] raspberrypi: mod_lang/1.0: skipping possible language 'it_IT': not supported by setlocale(3); see `locale -a'
2017-11-19 14:43:28,806 raspberrypi proftpd[813] raspberrypi: mod_lang/1.0: skipping possible language 'ja_JP': not supported by setlocale(3); see `locale -a'
2017-11-19 14:43:28,806 raspberrypi proftpd[813] raspberrypi: mod_lang/1.0: skipping possible language 'ru_RU': not supported by setlocale(3); see `locale -a'
2017-11-19 14:43:28,807 raspberrypi proftpd[813] raspberrypi: mod_lang/1.0: skipping possible language 'en_US': not supported by setlocale(3); see `locale -a'
2017-11-19 14:43:28,807 raspberrypi proftpd[813] raspberrypi: mod_lang/1.0: skipping possible language 'es_ES': not supported by setlocale(3); see `locale -a'
2017-11-19 14:43:28,808 raspberrypi proftpd[813] raspberrypi: mod_lang/1.0: skipping possible language 'fr_FR': not supported by setlocale(3); see `locale -a'
2017-11-19 14:43:28,808 raspberrypi proftpd[813] raspberrypi: mod_lang/1.0: skipping possible language 'zh_CN': not supported by setlocale(3); see `locale -a'
2017-11-19 14:43:28,809 raspberrypi proftpd[813] raspberrypi: mod_delay/0.7: error opening DelayTable '/run/proftpd.delay': Permission denied
2017-11-19 14:43:28,809 raspberrypi proftpd[813] raspberrypi: set core resource limits for daemon
Syntax check complete.


Ich habe nach dem Fehler gesucht und habe auf der proftp Seite etwas gefunden was aber auch nicht funktioniert:

Intensive use of CPU and/or memory by FTP sessions can be restricted by use of RLimitCPU and RLimitMemory. Here's an example:

  RLimitCPU session 10
  RLimitMemory session 4096

kann mir bitte jemand helfen?

MfG Mario

stefanru

Hi Mario,

was mir auffällt sind die 3 Zeilen mit Permission denied.
Z.B.:
2017-11-19 14:43:28,749 raspberrypi proftpd[813]: unable to bind to Unix domain socket at '/run/test.sock': Permission denied

Startest du ihn mit dem falschen user?

Gruß,
Stefan

sash.sc

bei mir läuft proftp auch nicht so wie es soll.

Habe auch eine SinoCam.
Habe die CAM in fhemdefiniert, die snapshotfunktion geht auch.
Kann man per cgi Befehl den Bewegungsalarm einschalten sowie auschalten ????

Kann man die CAM in das /opt/fhem/www/ Verzeichniss die Bilder ablegen lassen, bei einem Bewegungsalarm ??
Wenn ja, wie ??

Danke
Sascha

Raspi 4B+ Bullseye ;LaCrosse; HomeMatic; MapleCUL; ZigBee; Signalduino ESP32 ; Shellys; MQTT2; Grafana mit Influxdb