TORSDAG
2026-06-11

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

TIL: SignalK tank levels are 0..1 ratios, not liters

What I learned. SignalK’s tanks.fuel.{0,1}.currentLevel is a ratio (0..1), not a volume — and .capacity is in m³, so liters = currentLevel × capacity × 1000.

Why it matters / where it bit me — it bit me in Maracaibo’s fuel estimator: early calibration was off by the whole tank capacity until I stopped treating the level as liters. Tiny example: a half-full 0.4 m³ tank reads currentLevel = 0.50.5 × 0.4 × 1000 = 200 L, not “0.5 L”.

#SignalK #NMEA2000