Skip to main content


I built a temperature logger for the raised bed in my garden with a #RaspberryPi and #Rust.
A raised bed with a water-proof plastic box mounted on the outside of its wooden frame, and some cables coming out of the plastic box. The cable of a temperature sensor coming out of the earth inside the raised bed
A plot showing temperature curves for air and earth temperatures The raised bed with several cables leading to different temperature sensors
Interessting - which software do you use to store aund display the data?
These are onewire sensors. For now, I just dump the readings of the sensors from `/sys/bus/w1/devices/*/w1_slave` into folders named by the reading timestamp triggered by a systemd timer every 10 minutes. Then a small #rust program I wrote gets started to generate the charts for different timeframes (1h, 1d, 1w, 1m, 1y) using the plotters crate. Performance will degrade over time with more data present, but I'll rework it then. https://gitlab.com/silwol/gardentemp https://docs.rs/plotters/
#rust
been a fun weekend with Rust for me as well. Did a bunch with warp, tera, and pulldown-cmark today. Going to get some Rust-powered systems going on my BBBlacks soon. I’ve finally reached the point where I can write Rust just as fast as I can write Python. Not mad about that one bit.
For those with IPv6, the generated web data is now exposed to the public on https://garten.silwol.net/