Skip to content

Naming your metrics ​

The IoT Dashboard works out what each reading is from its name, and from its unit when the name doesn't say. That's how it knows a power factor should stay high, that energy is a running total, and which checks to run on a motor. A clear name gets you better analytics and better answers in Ask Your Data. A vague name still gets charts and alerts, but fewer insights.

This applies when you add metrics to a device (Add Device → Metrics), map a gateway's payload (Dashboard Field), or send data from an API device.

Seven rules ​

  1. Use a standard name when one fits. See the table below, and copy the spelling exactly.
  2. Always set the unit. Ia with unit A is recognised as current; Ia alone is not.
  3. Name what is measured, not where it's wired. AI0, ch1 and reg_40001 tell the dashboard nothing. Use temperature, current_l1, oil_pressure.
  4. Add the place as a suffix. motor_temp_de and ambient_temperature are both still understood as temperature, and your team can tell them apart.
  5. One meaning per name. Don't reuse a name for a different reading, and don't change what an existing name measures. Add a new metric instead.
  6. Keep electrical quantities apart. kW, kVA and kvar are three different metrics, and so are kWh and kVAh.
  7. Check the suggestions when mapping a gateway. The wizard suggests a Dashboard Field for each value. Change any suggestion that doesn't mean the same thing (see below).

Choose names carefully the first time

Your history, alerts, thresholds and favorites are all tied to the metric name. Renaming a metric later starts a new history.

Standard names ​

ReadingNameUnit
Temperaturetemperature, or with a place: ambient_temperature, motor_temp_de°C
Humidityhumidity%RH
Pressurepressure, oil_pressure, air_pressurekPa, bar, psi
CO₂co2ppm
Particulatespm2_5, pm10µg/m³
VOCvocppb
Soundsound_leveldB
Lightlight_levellux
Voltagevoltage, or per phase voltage_l1, voltage_l2, voltage_l3V
Currentcurrent, or per phase current_l1, current_l2, current_l3A
Active poweractive_power or wattW, kW
Power factorpower_factornone
Energyenergy_kwhkWh
FrequencyfrequencyHz
Vibrationvibration or vibration_velocitymm/s
Accelerationaccelerometerg
Shaft speedmotor_rpmrpm
TorquetorqueNm
Flowflow_rateL/min
Tank leveltank_level%
Water qualityph, tds, turbiditypH, ppm, NTU
Soilsoil_moisture%
Batterybattery_percent, battery_voltage%, V
SignalrssidBm
Room / outdoor temperatureambient_temperature, room_temperature°C
Apparent powerapparent_power_kvakVA
Reactive powerreactive_power_kvarkvar
Apparent energyenergy_kvahkVAh
Harmonic distortionthd_voltage_pct, thd_current_pct%
Running / stoppedrun_status (1 = running, 0 = stopped)state
Production count (running total)production_countpcs
Production rateproduction_ratepcs/min
Loadload_percent%
Windwind_speedm/s
Rainrainfallmm
Air quality indexaqiAQI
Weightweightkg

Names that need more detail ​

These names could mean two different things, so the dashboard doesn't guess. Readings under them are still stored, charted and can raise alerts, but get fewer insights. Use the name on the right.

If you were going to use…It could mean…Use instead
loadkW or a percentageactive_power or load_percent
count, productiona running total or a rateproduction_count or production_rate
AI0, ch1, reg_40001anythinga name from the table above
any name with unit ppmCO₂ or dissolved solidsco2 or tds

The unit decides for two names

vrms in mm/s is vibration; with no unit, or in V, it's voltage. A plain energy or power in kVAh, kVA or kvar is apparent or reactive; in kWh or kW it's active.

When you map a gateway ​

The mapping wizard suggests a Dashboard Field for each value, and has its own field for each reading above, including kvar, kVA, kVAh, harmonics, tank level, load, room temperature, run status and production count. Still check each suggestion before saving: whatever you save is the name the reading keeps.

Check what the dashboard understood ​

Once readings are arriving:

  1. Open Analytics → Fleet Analytics.
  2. Under Device health, open the device.
  3. The panel shows what kind of equipment the device was recognised as, and which metric it used for each reading type. Any name it didn't understand is listed under Unrecognised metrics.

Rename an unrecognised metric using the table above, or contact support with its name and unit.

In a machine or group ​

If a device is part of a machine or group (Machines & Groups in the sidebar), you don't have to rename anything. Open the group and use What each reading is to choose what each reading measures. For example, when two devices both send temperature, mark the one in the room as Room / Ambient Temperature so the machine is judged against its room. Readings the dashboard didn't recognise are highlighted there.

Firmcraft Technologies (OPC) Private Limited