HclX / WyzeHacks

Hacks I discovered allowing Wyze camera owners to do customizations
MIT License
786 stars 75 forks source link

Question: Does wyzehacks keep deleting oldest recordings on low NFS space? #136

Open ashjas opened 2 years ago

ashjas commented 2 years ago

I have been seeing this behaviour. Is that correct? I havent enabled ARCHIVE_OLDER_THAN flag in config. I observer that slowly the oldest folders are reducing in size as the space left reaches below something 1GB. Looks to be intentional, and not a bad thing, but its not documented. Please confirm.

HclX commented 2 years ago

The hack doesn't do it. Deleting old recordings is a feature of wyze's firmware. Your NFS is mounted as an SD card so it behaves like an SD card.

However, if you enabled auto archive, archived recordings should not be deleted.

BiatuAutMiahn commented 2 years ago

Can we set a quota on the hack?

HclX commented 2 years ago

It's possible, but you can easily do that with nfs quota I guess.