Login
You're viewing the ruby.social public feed.
  • Nov 29, 2026, 6:07 AM

    Heck, yeah.

    Just whipped up a little program to convert the stream from `rtl_433` into something Prometheus can parse, in Rust.

    My first time using `serde_json` and `std::thread`.

    I've worked on production Rust in the past, but I've written very few things from "scratch", and this was pleasant.

    I had to tamp down my frustration that I could have dashed it out in Python in like 5 minutes (because I am experienced in Python, not because it's like ... better).

    worktree.ca/insom/tempura/src/

    Grafana screenshot showing some temperature readings from my house.
    💬 2🔄 1⭐ 0

Replies

  • Nov 29, 2026, 6:09 AM

    It's pretty brutal (including the string interpolation 😬) but it only has to work on exactly one machine in the world, and it lets me decide if I need to heat my basement now that I've replaced the gas furnace with mini-splits throughout the house.

    (There is no direct heat to the basement as all the mini-splits are above-ground -- seeing if a combination of radiation just plain "leaking" heat is sufficient for the winter).

    💬 0🔄 0⭐ 1
  • 💬 0🔄 0⭐ 0