A ZimaOS Homelab with a Limited AI Photo-Sorting Workflow

Eva Wong is the Technical Writer and resident tinkerer at ZimaSpace. A lifelong geek with a passion for homelabs and open-source software, she specializes in translating complex technical concepts into accessible, hands-on guides. Eva believes that self-hosting should be fun, not intimidating. Through her tutorials, she empowers the community to demystify hardware setups, from building their first NAS to mastering Docker containers.

Thank you to u/LilTea23 for sharing a first homelab built from school-surplus computers and a thoughtful photo-sorting experiment. ZimaOS holds the files and everyday services, while a Raspberry Pi helps classify incoming material without being handed unrestricted control of the collection.

The original Reddit story connects reused hardware with a specific design decision: keep the model’s suggestions separate from the program allowed to move files. It describes a learning project, rather than a published security audit or a complete implementation guide.

Two Reused Dell Computers Have Different Jobs

The creator received two Dell OptiPlex 9020 SFF machines, four 500GB drives and several smaller SSDs when school equipment was being replaced. Two Raspberry Pi 5 boards with 4GB of memory were also available.

LilTea23’s reused home-lab computers and associated cabling in the original equipment photograph
The creator’s original equipment photograph shows the reused computers and associated cabling in the physical homelab. Photograph: u/LilTea23.

One Dell runs ZimaOS with two 500GB drives, Immich, Navidrome and Home Assistant. The other runs Ubuntu Server and Crafty Controller for Minecraft. The division makes the jobs understandable before the AI experiment is added.

Part of the lab Reported responsibility
First OptiPlex 9020 SFF ZimaOS, photo storage, music and home services
Second OptiPlex Ubuntu Server and Crafty Controller
Raspberry Pi in the sorting workflow Hermes Agent and a small model
Python folder watcher Observes incoming folders and sends selected metadata
Model response Returns a proposed classification as JSON
File-moving program Performs the limited operation described by the creator

Our Pi-hole-to-family-server story provides another example of identifying useful roles as a home installation grows.

The Sorting Request Contains Context, Not the Entire Library

LilTea23’s original ZimaOS dashboard on the reused Dell storage and application host
The original ZimaOS dashboard documents the storage-and-services side of the project. Screenshot: u/LilTea23.

The owner describes a Python script watching an ingest folder. When a new folder arrives, it collects the folder name, the first filename and selected metadata, such as camera or location information when available.

That information is sent as JSON to the Raspberry Pi. The agent uses the supplied context together with recent Telegram messages and calendar information to decide what kind of material arrived, then returns a suggested destination.

This is a more specific account than simply saying that AI organizes files. There is an input, a decision and an action, and the owner explains which component handles each part. The post does not identify the model, publish an exact schema or provide performance measurements.

Names and metadata can themselves reveal information about a collection, even when original photos stay on the storage host. For a similar project, decide which context is necessary for classification and keep the request limited to that purpose. The post does not establish a general privacy guarantee for every messaging, calendar or model integration.

For readers, separating those stages makes the system easier to inspect. A mistaken category and an unexpected filesystem operation should be distinguishable events, rather than hidden together behind one automation.

The Program Keeps a Smaller Set of Actions Than the Model Can Describe

The creator intentionally limited the script’s behavior and says an instruction to delete material would produce an error instead of being carried out. That decision follows from the value of the stored files.

OWASP’s excessive-agency guidance explains why giving an AI system more functions or permissions than its task needs increases the potential impact of a mistake or manipulated output.

The practical connection is the location of enforcement. A prompt can ask a model to behave, but the program receiving its answer determines which operations are actually available. Keeping unnecessary operations out of that program reduces what a response can request successfully.

A separate Raspberry Pi does not by itself prove network isolation or correct permissions. The source does not publish firewall rules, credentials or a complete filesystem-permission design, so none are assumed here.

A JSON Reply Still Needs Independent Validation

LilTea23’s Immich settings screenshot from the photo-storage side of the homelab
The creator’s Immich settings screenshot illustrates the photo application in the lab. It is separate from the described Raspberry Pi sorting agent.

OWASP’s output-handling guidance describes risks when model output reaches downstream functions without adequate checks, including cases involving constructed file paths.

For someone adapting this idea, structured output is a starting point, not a permission grant. Validate the accepted fields, allowed destinations and actual resolved path before a move. Keep the operation within the intended area and reject responses that do not match the supported task.

Begin with disposable copies and record the proposed and resulting locations. Test what happens when a folder name is ambiguous, a response is incomplete or the destination already exists. These are reader considerations, not tests the original post claims to have passed.

The source’s account supports a useful design intention. It does not provide enough code to establish that every edge case or hostile input has been handled.

Game Hosting and Photo Storage Have Different Maintenance Needs

LilTea23’s Crafty Controller view documenting the separate Minecraft server role
The original Crafty Controller view documents the separate game-server role on the Ubuntu host. Screenshot: u/LilTea23.

The owner also plans to repurpose the Crafty computer for a music-festival stream, after backing it up and erasing it. That is a future change in the original account, rather than an already documented migration.

For readers making a similar change, preserve the service’s required data before replacing its environment and verify a separate copy. The Crafty backup manager documentation explains backup locations and restoration options for the game-server role.

The family photo server troubleshooting account offers a related reminder that valuable files and application state need identifiable protection. Readers comparing dedicated storage hardware can also explore ZimaCube 2; the reported storage host here is a reused Dell.

FAQ

Does the sorting agent receive every photo and video file?

The owner describes sending names and selected metadata as JSON. The post does not describe transferring the whole collection to the model.

Which model runs on the Raspberry Pi?

The creator only identifies a small model. No exact model name, quantization or measured processing rate is supplied.

Does JSON make the model’s response safe to execute?

No. The receiving program must independently validate the response and restrict the operations and destinations it accepts.

Is this a formally verified security architecture?

No audit or full implementation is provided. The post documents the creator’s reasoning and reported division of responsibilities.

Conclusion

This reused-hardware homelab has a clear lesson beyond its application list: let a model help make a decision while keeping actual file operations limited and understandable. The useful starting point is the separation of storage, classification and action, followed by careful testing before valuable originals depend on the workflow.

Welcome to the ZimaSpace community! Share your setup, ask questions, and explore practical build guides, real user stories, and product updates with fellow self-hosters.

Zima Campaign Hub

More to Read

Get More Builds Like This

Stay in the Loop

Get updates from Zima - new products, exclusive deals, and real builds from the community.

Stay in the Loop preferences

We respect your inbox. Unsubscribe anytime.