All base units should be International System (SI) units. Where the unit diverges from SI units it must be put into the message payload.
Measurement | Unit Name | Unit Symbol |
---|---|---|
Electrical Power | Watt | W |
Electrical Energy | Watt Hour | Wh |
Voltage | Volt | V |
Current | Ampere | A |
Temperature | Degree Celsius | °C |
Flow | Cubic Metre per hour | m³/h |
Speed | Metre per second | m/s |
Numerical: discussion
Proposal 1: all float (IEEE754 single precision)
98.5 (float)
350.0 (float)
Proposal 2: auto-detect based on radix point (JSON compliant)
98.5 (float)
350 (integer)
Strings:
UTF-8
Double quotes “this is a string”
Booleans:
true/false
No value
null
Power is positive when:
Power is negative when: