Skip to main content

2 posts tagged with "quartz"

View All Tags

Continued Adventures in CheapML for IoT

· One min read
Nick Lange
Someone at 5L Labs

I have probably bit off more than I can chew with this project.

What is hard (or time consuming) about this?

  • Generating the testing/training data set. I ended up using a VLM to do the initial labelling, with manual overrides possible
  • As I'm trying to run this with limited resources on a (RPI 4 with 4GB RAM) that means starting the ML models from scratch.
  • Trying to leave something that is generalizable enough for other cameras in the house - or just give up and pay the $20/mo for Frigate/Scrypted Cloud.

New Things

  • PyTorch -> ONNX -> TFLite -> Latest

Adventures in CheapML

· One min read
Nick Lange
Someone at 5L Labs

With Scrypted / Thingino up and stable, the next goal is to replace my janky garage door sensor with a camera-based sensor. With some luck, I can extend this to every camera in the house cheaper and more accurately than Frigate, but let's not get ahead of ourselves.

  1. What I have:

    • Wyze Cam v3
    • Scrypted
    • Thingino
    • HomeKit
    • RPI 4 that isn't melting
  2. What I need:

    • A way to detect when the garage door is open or closed
    • A way to update MQTT with the state of the garage door
    • A way to update MQTT with the state of the car

So far: I've vibe coded up a script to use OVNIF Snapshot protocol to take a snapshot of the camera every 60 seconds.