roleoroleo / yi-hack-Allwinner-v2

Custom firmware for Yi 1080p camera based on Allwinner platform
MIT License
866 stars 98 forks source link

Save files on Shinobi FTP #874

Closed DivineJimmi closed 6 months ago

DivineJimmi commented 6 months ago

Hi, maybe this isnt the right place to ask this question. But i have some problems when trying to save videos to Shinobis FTP Server.

I setup a raspberry pi with shinobi and can easily see all of my 3 Yi Dome U 2K SFUS. But i cannot get my cameras to send autorecorded video files to shinobis FTP.

I activated the FTP-server in shinobi using https://hub.shinobi.video/articles/view/LyCI3yQsUTouSAJ

Enabling the Drop-In Event server and FTP server

  1. Add the following options to your conf.json. "dropInEventServer":true, "ftpServer":true,

Run these commands to do so. cd /home/Shinobi node tools/modifyConfiguration.js addToConfig='{"dropInEventServer":true, "ftpServer":true}'

  1. Now restart Shinobi pm2 restart camera

Then i added everything i know about that FTP server in my yihack camera. Screenshot 2024-05-08 183343

As FTP-Host i tried:

ftp://<IP>
ftp://<IP>:21
<IP>
<IP>:21

i named the FTP-Directory /<MONITOR-ID> like the docs said

Nothing seems to work.

DivineJimmi commented 6 months ago

https://hub.shinobi.video/articles/view/LyCI3yQsUTouSAJ Thats not working. Editing the file manually via putty worked. Now the cameras send to the ftp server. Stupid docs.