Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I exclude LLMVision from backing up? #1152

Open
soubhik-khan opened this issue Feb 28, 2025 · 3 comments
Open

How do I exclude LLMVision from backing up? #1152

soubhik-khan opened this issue Feb 28, 2025 · 3 comments

Comments

@soubhik-khan
Copy link

After installing LLMVision integration, my backup size significantly increased although Im doing a partial back up, LLM vision doesn't show up to unselect from partial backup! Even after excluding all of these my backup size went to 30GB and unable to upload on gDrive!

Image

Image

@valentinfrlch
Copy link

Hi, LLM Vision shouldn't take up that much storage. I assume those are not just snapshots of events. One user has reported the tmp folder isn't deleted properly. The folder is in /custom_components/llmvision and called tmp_frames or tmp_clips. If one of these folders exist, you can safely delete them.

@soubhik-khan
Copy link
Author

Hi, LLM Vision shouldn't take up that much storage. I assume those are not just snapshots of events. One user has reported the tmp folder isn't deleted properly. The folder is in /custom_components/llmvision and called tmp_frames or tmp_clips. If one of these folders exist, you can safely delete them.

Thanks so much for the suggestion! You were spot on – the tmp_frames folder was the issue, ballooning to over 30GB. I've cleared it, and the backup size is now back under 1GB. Any ideas on how to prevent this folder from growing so large again?

@valentinfrlch
Copy link

The next update may fix this issue (I can't verify because it doesn't happen to me).

I suspect it happens when the root folder for the Home Assistant config is not named /config. Previously the path was hard coded, now hass.config.path is used to construct the file path.

See this issue: valentinfrlch/ha-llmvision#214

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants