TORSDAG
2026-07-30

Too many projects, too many ideas, too few hours — one learning a day anyway

Sightglass

part of Maracaibo

A camera that reads the diesel sight glass, because the tanks predate sensors.

The boat’s fuel tanks are older than the idea of a fuel sensor — but they have a sight glass, and a sight glass can be looked at. So a small camera watches it, a vision model reads the level off the image, and the result publishes as an ordinary MQTT sensor. One safeguard worth stealing: a reading is never shown if the camera and the tank sensors disagree — out-of-sync data is worse than no data.

CODE
POSTS