Closed monza258 closed 4 years ago
I do plan to add authentication, in its current state it is a VERY quick and dirty solution. The FTP port can be any value you want, as long as you configure it the same as whatever is uploading to this. Keep in mind that running a server below port 1024 requires root, so probably stay above that.
I’m not sure what you mean by being allowed to set the IP. The IP would be that of whatever device it is installed on.
My camera has the ip 48. My Fritzbox the 01. My Pi the 126.
The plugin tries to get the pictures from the PI. Or am I wrong? I cannot get access without specifying the user and password.
And I would have to tell the plugin on which device and folder the pictures are on the network.
The way I was writing the plugin, it would basically act as a proxy for the FTP traffic. Your cameras would upload the images to the server created by this.
I haven’t yet written the functionality to then either upload the images to another FTP server or save them locally, but that is my next step.
I tried to save the pictures on the pi using the camera setup. Unfortunately does not work. I would be dependent on the functionality of uploading to another server. The plugin would only help me in this way. Thanks for your work.
I plan to add that this week.
Currently the FTP server exposed by the plugin just triggers the motion alert and discards the image.
I am following it very curiously and am looking forward to this solution / extension.
FTP upload support has been added to this plugin. The information on configuration is on the main page.
Config like this:
{
"cameras": [
{
"name": "Haustür",
"path": "CAMS/Haustuer",
"server": "192.168.0.1",
"port": "21",
"username": "fromfritzlogin",
"password": "loginpasswort",
"tls": false
},
{
"name": "Eingang2"
}
],
"name": "FTP Motion",
"ftp_port": 5000,
"http_port": 8080,
"platform": "ftpMotion"
}
]
Looks good, as long as you configure your camera properly to upload to the server exposed by this plugin.
I can't set the Server Address: PI of running pi (192.168.0.126) Server Port: (21)
on my Camera FTP setting.
I get error to login:
😬
According to your config, the server is running on port 5000, not port 21.
Even if I take port 5000 the error comes.
Cam can't connection sftp:// ??
I’m sorry I’m not sure I understand your question.
I mean that the camera can't save Pictures to raspberry pi as server. After set the options in camera I get an error.
I have contact you also by email. 😉
So the issue seemed to be some minor configuration errors as well as the ü in your camera name, which seems to be a limitation of FTP.
Best way I can “fix” this is probably just some improved documentation.
Hi, thanks for your Plugin.
Can you tell me what I set to get the images from my fritzbox?
Which port I must set? I use four cameras in four folders. Like: CAMS/Garten CAMS/Haustuer CAMS/Eingang CAMS/Terrasse
Or can you include a option so set the ip and the folder name in fields?
Think we need also login check See image about login data.