Sensor Measurement Lists (SenML)

Created
2018-06-01
Last Updated
2018-09-04
Available Formats

XML

HTML

Plain text

Registries included below

SenML Units

Registration Procedure(s)
Expert Review
Expert(s)
Ari Keränen
Reference
[RFC8428]
Note
Units marked with an asterisk are NOT RECOMMENDED to be 
produced by new implementations but are in active use and 
SHOULD be implemented by consumers that can use the 
corresponding SenML units that are closer to the unscaled SI
units.
    
Available Formats

CSV
Symbol Description Type Reference
m meter float [RFC8428]
kg kilogram float [RFC8428]
g gram* float [RFC8428]
s second float [RFC8428]
A ampere float [RFC8428]
K kelvin float [RFC8428]
cd candela float [RFC8428]
mol mole float [RFC8428]
Hz hertz float [RFC8428]
rad radian float [RFC8428]
sr steradian float [RFC8428]
N newton float [RFC8428]
Pa pascal float [RFC8428]
J joule float [RFC8428]
W watt float [RFC8428]
C coulomb float [RFC8428]
V volt float [RFC8428]
F farad float [RFC8428]
Ohm ohm float [RFC8428]
S siemens float [RFC8428]
Wb weber float [RFC8428]
T tesla float [RFC8428]
H henry float [RFC8428]
Cel degrees Celsius float [RFC8428]
lm lumen float [RFC8428]
lx lux float [RFC8428]
Bq becquerel float [RFC8428]
Gy gray float [RFC8428]
Sv sievert float [RFC8428]
kat katal float [RFC8428]
m2 square meter (area) float [RFC8428]
m3 cubic meter (volume) float [RFC8428]
l liter (volume)* float [RFC8428]
m/s meter per second (velocity) float [RFC8428]
m/s2 meter per square second (acceleration) float [RFC8428]
m3/s cubic meter per second (flow rate) float [RFC8428]
l/s liter per second (flow rate)* float [RFC8428]
W/m2 watt per square meter (irradiance) float [RFC8428]
cd/m2 candela per square meter (luminance) float [RFC8428]
bit bit (information content) float [RFC8428]
bit/s bit per second (data rate) float [RFC8428]
lat degrees latitude[1] float [RFC8428]
lon degrees longitude[1] float [RFC8428]
pH pH value (acidity; logarithmic quantity) float [RFC8428]
dB decibel (logarithmic quantity) float [RFC8428]
dBW decibel relative to 1 W (power level) float [RFC8428]
Bspl bel (sound pressure level; logarithmic quantity)* float [RFC8428]
count 1 (counter value) float [RFC8428]
/ 1 (ratio e.g., value of a switch; [2]) float [RFC8428]
% 1 (ratio e.g., value of a switch; [2])* float [RFC8428]
%RH Percentage (Relative Humidity) float [RFC8428]
%EL Percentage (remaining battery energy level) float [RFC8428]
EL seconds (remaining battery energy level) float [RFC8428]
1/s 1 per second (event rate) float [RFC8428]
1/min 1 per minute (event rate, "rpm")* float [RFC8428]
beat/min 1 per minute (heart rate in beats per minute)* float [RFC8428]
beats 1 (Cumulative number of heart beats)* float [RFC8428]
S/m Siemens per meter (conductivity) float [RFC8428]

SenML Labels

Registration Procedure(s)
Expert Review
Expert(s)
Ari Keränen
Reference
[RFC8428]
Available Formats

CSV
Name Label CBOR Label JSON Type XML Type EXI ID Reference Note
Base Name bn -2 String string a [RFC8428]
Base Time bt -3 Number double a [RFC8428]
Base Unit bu -4 String string a [RFC8428]
Base Value bv -5 Number double a [RFC8428]
Base Sum bs -6 Number double a [RFC8428]
Base Version bver -1 Number int a [RFC8428]
Name n 0 String string a [RFC8428]
Unit u 1 String string a [RFC8428]
Value v 2 Number double a [RFC8428]
String Value vs 3 String string a [RFC8428]
Boolean Value vb 4 Boolean boolean a [RFC8428]
Data Value vd 8 String (*) string (*) a [RFC8428] (*) Data Value is a base64-encoded string with the URL-safe alphabet as defined in Section 5 of [RFC4648], with padding omitted. (In CBOR, the octets in the Data Value are encoded using a definite-length byte string, major type 2.)
Sum s 5 Number double a [RFC8428]
Time t 6 Number double a [RFC8428]
Update Time ut 7 Number double a [RFC8428]

Footnotes

[1]
Assumed to be in World Geodetic System 1984 (WGS84),
unless another reference frame is known for the sensor.
[2]
A value of 0.0 indicates the switch is off, 1.0 indicates
on, and 0.5 indicates half on. The preferred name of this unit is
"/". For historical reasons, the name "%" is also provided for
the same unit, but note that while that name strongly suggests a
percentage (0..100), it is NOT a percentage but the absolute
ratio!