Open source · IoT & Edge

Sensor Unit Normalizer

Convert sensor units with explicit precision, range and invalid-value rules.

v0.1.0 · Node.js 22+ · MIT

Browse the public repository · View releases

Two failures show up again and again in telemetry pipelines.

This walkthrough uses the tool's public README and checked-in example files. Run the command from a repository checkout with Node.js 22+.

Run the checked-in example

node bin/sensor-unit-normalizer.mjs convert 20 degC degF --precision 2   # 68
node bin/sensor-unit-normalizer.mjs normalize examples/readings.json --precision 3
node bin/sensor-unit-normalizer.mjs units

Read the result

A single bad sample in a telemetry export should not cost you the whole file.