znetsixe e50be2ee66 feat: permissive unit check for user-defined measurement types + measurement digital-mode schema
MeasurementContainer.isUnitCompatible now short-circuits to accept any unit
when the measurement type is not in the built-in measureMap. Known types
(pressure, flow, power, temperature, volume, length, mass, energy) still
validate strictly. This unblocks user-defined types in the measurement
node's new digital/MQTT mode — e.g. 'humidity' with unit '%', 'co2' with
'ppm' — without forcing those units into the convert-module unit system.

measurement.json schema: add 'mode.current' (analog | digital) and
'channels' (array) so the validator stops stripping them from the runtime
config. Ignored in analog mode.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 13:42:31 +02:00
2025-09-22 16:02:04 +02:00
2026-03-31 18:07:57 +02:00
2026-03-31 18:07:57 +02:00
2026-03-11 11:13:05 +01:00
2025-06-10 09:52:44 +02:00

convert

Makes unit conversions

#need to make an index to fetch the helper functions properly without destroying all the links.

Description
No description provided
Readme 1.7 MiB
Languages
JavaScript 100%