Yi Home 1080p Camera YiHack-Allwinner Firmware FTP Upload

Hello Community,

I would like to browse my recorded camera videos from Home Assistant new Media Browser.

I have a Yi Home 1080p Camera what I updated with YiHack-AllWinner firmware.

Installed FTP Addon to Home Assistant and used the Camera’s in-built FTP upload to this HA FTP Server. In the FTP settings on the Camera you can define username password and host. There is no way to select directory on the server.
On the FTP Server side you cannot define default DIR of the FTP Server, you can enable permissions to a few folder like share,ssl,media,addon etc…

FTP Server configuration ( SHARE folder permission enabled )

Yi Home 1080p Home Camera Firmware FTP Upload settings:

FTP with Total Commander ( you can see share folder, where the records should been, but its outside)
image

In that case the videos are not shown up in the server, you cannot reach it, I made a full search on my server, but not found anywhere, If I copy one to the share folder inside the FTP server, It will shop up in the share folder on my Server, that would be the perfect solution if it would work automaticly.

You can see browser inside HA, this is totally empty:
image

Created Issue on both FTP addon and YiHackAllWinner Github page.

If you have any Idea please tell me, make me happy :slight_smile:

Thank you very much,

Best regards,

That is the solution: Edit the files with ssh on your camera.

Can you explain a bit more how you got this to work please?

I have two cameras and so I created new users for each camera. I have media: true for each camera, as well as allow_upload.

It is now possible to add a FTP directory on the Allwinner Motion Events page. I left it blank but your link to the solution seems to suggest I should set a different directory. If that is so, could you suggest what the directory path should be please?

If I’ve misunderstood, then can you tell me where I should expect to find uploaded files by default please? I saw on Discord that you had similar problems to me but you seem to have resolved this but I’m struggling to make sense of it.

Hope you can shed some light on this, thanks.

I finally found the solution.

Although I’m not using the Yi Camera Integration, I still need to SSH into the camera and perform ln -s /tmp tmp

Files are now uploaded to /media by default.

Edit: I was just being impatient! I checked and the files were uploaded yesterday, before I made the above change. I could see the upload info in FTP server logs but I obviously hadn’t waited long enough for the upload to complete and show in my local /media directory :man_facepalming:t2: