← Projects

Side project, IoT + AI

Puppy Cam Alerts

Raspberry PiPythonRTSPVision APIntfy

We recently adopted a puppy, and house-training has a smelly catch: clean fast or the scent sticks and she returns to the same spot. I wanted to know when to clean without chasing her around.

I bought a cheap webcam and wanted to connect it to a home server. The first AI assistant I asked suggested flashing hacked firmware onto the camera, which is over-engineering (and an irony given how much the industry talks about guardrails). I switched assistants, proposed a much simpler idea myself, pulling video over RTSP, and it worked within ten minutes.

The setup: a small Python script runs all the time on a Raspberry Pi, grabs one frame per minute (configurable) and sends it to a light vision API, which is faster and cheaper than a general LLM. For phone alerts I did not want to build an app or sign up for a paid push service, so I used ntfy: define a topic, subscribe, and the phone gets a push notification, free and without a heavy app.

Two takeaways. AI is a great tool but sometimes complicates simple things (and forgets its own safety limits). And we are still the ones who need to steer the architecture, or at least understand it, rather than accept everything blindly. A few years ago this meant collecting data and training models; today it fits in a morning coffee.

LinkedIn post
Puppy Cam Alerts screenshotPuppy Cam Alerts screenshotPuppy Cam Alerts screenshot