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+; inspect the source before using it on your own files.

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.

Where this check stops

This local walkthrough does not establish the state of a live production system or replace the limits documented in the repository.

Before adapting the command to your own workflow, review the accepted inputs, exit codes and safety boundaries in the README.

Compiled with AI assistance from checked-in public documentation and example scripts. Run the example and review the repository's current documentation before relying on its result.