Skip to main content

Supported Datatypes

In order to process data appropriately, Cayenne needs to know both data type and unit. This can be configured from the dashboard or directly set when sending data. Despite setting type and unit are optional when sending data, doing that will allow to automatically configure the dashboard as soon as data is received.

Actuators

Data TypeType Constant & ValueUnitUnit Constant & ValueWidgets
Analog ActuatorANALOG_ACTUATORanalog_actuatorAnalogANALOGnullSlider
Digital ActuatorDIGITAL_ACTUATORdigital_actuatorDigital (0/1)DIGITALnullButton
HVAC.Change StateHVAC_CHANGE_STATEhvac_stateStateUser definednullHVAC (coming Soon), Slider
HVAC.Change TemperatureHVAC_CHANGE_TEMPhvac_tempFahrenheitFAHRENHEITfHVAC (coming Soon), Slider
* CelsiusCELSIUSc
HVAC.Off/OnHVAC_OFF_ONhvac_off_onOff/OnOFF_ONnullHVAC (coming Soon), Button
Light SwitchLIGHT_SWITCH_ACTlt_switch_act* Off/OnOFF_ONnullLighting (coming soon), Button, Switch (coming soon)
Digital (0/1)DIGITALd
Low/HighLOW_HIGHnull
Lighting.ColorLIGHTING_COLORlt_colorHexadecimalHEXnullLighting (coming soon), Slider
Lighting.LuminosityLIGHTING_LUMINOSITYlt_lum* % (0 to 100)PERCENTpLighting (coming soon), Slider
LuxLUXlux
VoltsVOLTSv
RatioRATIOr
MotorMOTORmotor* Off/OnOFF_ONnullButton, Slider, Switch (coming soon)
Low/HighLOW_HIGHnull
Degree AngleDEGREEdeg
RelayRELAYrelay* Off/OnOFF_ONnullButton
Low/HighLOW_HIGHnull
SwitchSWITCHswitch* Off/OnOFF_ONnullSwitch (coming soon), Button
Low/HighLOW_HIGHnull
Digital (0/1)DIGITALd
ValveVALVEvalve* Off/OnOFF_ONnullSwitch (coming soon), Button
Low/HighLOW_HIGHnull
Digital (0/1)DIGITALd

Sensors

Data TypeType Constant & ValueUnitUnit Constant & ValueWidgets
Digital SensorDIGITAL_SENSORdigital_sensorDigital (0/1)DIGITAL
Analog SensorANALOG_SENSORanalog_sensorAnalogANALOG
Absolute HumidityABSOLUTE_HUMIDITYabs_humGrams per cubic meterGRAMS_PER_METER3
Absorbed RadiationABSORBED_RADIATIONabsrb_rad* RadRAD
GrayGRAYgy
Acceleration.gx axisACCELERATION_GXgxMeters per second squaredMETER_PER_SEC_SQ
Acceleration.gy axisACCELERATION_GYgyMeters per second squaredMETER_PER_SEC_SQ
Acceleration.gz axisACCELERATION_GZgzMeters per second squaredMETER_PER_SEC_SQ
AltitudeALTITUDEalt* Meters above sea levelMETER
Feet above sea levelFEETft
Amount of substanceAMOUNT_SUBSTANCEamountMoleMOLE
AreaAREAareaSquare meterMETER2
Barometric pressureBAROMETRIC_PRESSUREbpPascalPASCAL
* Hecto PascalHECTOPASCALhpa
BatteryBATTERYbatt* % (0 to 100)PERCENT
RatioRATIOr
VoltsVOLTSv
BiometricBIOMETRICbioByte ArrayBYTE_ARRAY
Blood CountBLOODblood* Cells by cubic millimeterCELLS_MM3
% (0 to 100)PERCENTp
BytesBYTESbytesBitsBIT
* BytesBYTEbyte
KilobytesKB_BYTEkb
MegabytesMB_BYTEmb
GigabytesGB_BYTEgb
TerabytesTB_BYTEtb
CapacitanceCAPACITANCEcapFaradFARAD
Carbon DioxideCO2co2* Parts per milliionPPM
Units of MicromoleUNITS_MICROMOLEwmoco2
ChargeCHARGEchargeCoulombCOULOMB
CholesterolCHOLESTEROLcholMillimoles/literMMOL_L
* Milligrams/deciliterMG_DLmgdl
ColorCOLORcolor* RGBRGB
CYMKCYMKnull
HexadecimalHEXnull
ConductanceCONDUCTANCEconductSiemenSIEMEN
CounterCOUNTERcounterAnalogANALOG
CPUCPUcpu% (0 to 100)PERCENT
CurrentCURRENTcurrentAmpereAMP
Current densityCURRENT_DENSITYcurrent_densityAmpere per squre meterAMP_2_METER
DensityDENSITYdensityKilograms per cubic meterKGM3
Effective RadiationEFFECTIVE_RADATIONeff_radRoentgenROENTGEN
SievertSIEVERTsv
SieVert per HourSIEVERT_HOURsvph
EnergyENERGYenergyKillowatts per hourKW_PER_H
External WaterleakEXT_WATERLEAKext_wleakAnalogANALOG
ForceFORCEforce* NewtonsNEWTON
MetricMETRIC_FORCEforce
FrequencyFREQUENCYfreqHertzHERTZ
GasGASgas* PascalPASCAL
Cubic metersMETER3m3
Kilograms per cubic meterKGM3kgm3
GlucoseGLUCOSEglucoseMillimoles/literMMOL_L
* Milligrams/deciliterMG_DLmgdl
GPSGPSgps* Global Positioning SystemGPS
Universal Transverse MercatorUTMutm
Gravity.x axisGRAVITY_Xgrav_xNewtons per kilogramNEWTON_PER_KG
* Meters per second squaredMETER_PER_SEC_SQms2
Gravity.y axisGRAVITY_Ygrav_yNewtons per kilogramNEWTON_PER_KG
* Meters per second squaredMETER_PER_SEC_SQms2
Gravity.z axisGRAVITY_Zgrav_zNewtons per kilogramNEWTON_PER_KG
* Meters per second squaredMETER_PER_SEC_SQms2
Gyroscope.rate of rotation around x axisGYRO_Xgyro_x* Rotation speedROTATION
Meters per second squaredMETER_PER_SEC_SQmps2
Gyroscope.rate of rotation around y axisGYRO_Ygyro_y* Rotation speedROTATION
Meters per second squaredMETER_PER_SEC_SQmps2
Gyroscope.rate of rotation around z axisGYRO_Zgyro_z* Rotation speedROTATION
Meters per second squaredMETER_PER_SEC_SQmps2
HVAC.HumdityHVAC_HUMIDITYhvac_hum% (0 to 100)PERCENT
ImageIMAGEimageByte ArrayBYTE_ARRAY
ImpedanceIMPEDANCEimpedOhmOHM
InductanceINDUCTANCEinductHenryHENRY
Ink Levels.BlackINK_BLACKink_blk% (0 to 100)PERCENT
Ink Levels.CyanINK_CYANink_cya% (0 to 100)PERCENT
Ink Levels.MagentaINK_MEGENTAink_mag% (0 to 100)PERCENT
Ink Levels.YellowINK_YELLOWink_yel% (0 to 100)PERCENT
IntrusionINTRUSIONintrusionDigital (0/1)DIGITAL
Ionizing RadiationIONIZING_RADIATIONion_rad* Electron VoltsELECTRON_VOLT
ErgsERGSerg
JoulesJOULEj
LengthLENGTHlen* MeterMETER
Digital (0/1)DIGITALd
Low/HighLOW_HIGHnull
LightingLIGHTING_SENSElighting_sense% (0 to 100)PERCENT
* LuxLUXlux
VoltsVOLTSv
RatioRATIOr
Linear Acceleration.x axisLINEAR_ACCEL_Xlin_acc_xMeters per second squaredMETER_PER_SEC_SQ
Linear Acceleration.y axisLINEAR_ACCEL_Ylin_acc_yMeters per second squaredMETER_PER_SEC_SQ
Linear Acceleration.z axisLINEAR_ACCEL_Zlin_acc_zMeters per second squaredMETER_PER_SEC_SQ
LiquidLIQUIDliquid* LiterLITER
GallonGALLONgal
OunceOUNCEoz
Cubic centimeterCUBIC_CENTcc
Location.LatitudeLOCATION_LATloc_latLatitudeLATITUDE
Location.LongitudeLOCATION_LONGloc_lonLongitudeLONGITUDE
LuminosityLUMINOSITYlum* LuxLUX
VoltsVOLTSv
% (0 to 100)PERCENTp
RatioRATIOr
Magnetic field strength HMAGNETIC_STRENGTHmag_strAmperes per meterAMP_METER
Magnetic field.x axisMAGNETIC_AXIS_Xmag_xTeslaTESLA
Magnetic field.y axisMAGNETIC_AXIS_Ymag_yTeslaTESLA
Magnetic field.z axisMAGNETIC_AXIS_Zmag_zTeslaTESLA
Magnetic flux density BMAGNETIC_FLUX_DENSITYmag_fluxNewton-meters per ampereNEWTON_METERS_AMP
MassMASSmassKilogramKILOGRAM
MemoryMEMORYmemKilobytesKB_BYTE
* MegabytesMB_BYTEmb
% (0 to 100)PERCENTp
MotionMOTIONmotionDigital (0/1)DIGITAL
OilOILoilOil BarrelBARREL
* gallonGALLONgal
literLITERl
Orientation.AzimuthORIENT_AZIMUTHori_azimDegree AngleDEGREE
Orientation.PitchORIENT_PITCHori_pitchDegree AngleDEGREE
Orientation.RollORIENT_ROLLori_rollDegree AngleDEGREE
pH-AcidityACIDITYacidAcidityACIDITY
PowerPOWERpowWattsWATT
Pollution.NitrogenPOLLUTION_NO2no2Nitrogen dioxideNO2
Pollution.OzonePOLLUTION_O3o3OzoneO3
PressurePRESSUREpress* PascalPASCAL
Hecto PascalHECTOPASCALhpa
BarBARbar
Technical atmosphereTECH_ATMOat
Standard atmosphereSTD_ATMOatm
TorrTORRtorr
Pounds per square inchPSIpsi
ProximityPROXIMITYprox* CentimeterCENTIMETER
MeterMETERm
Digital (0/1)DIGITALd
RadioactivityRADIOACTIVITYradBecquerelBECQUEREL
* CurieCURIEci
Radiation ExposureEXPOSURE_RADIATIONexpo_rad* RoentgenROENTGEN
Coulomb/KilogramCOULOMB_PER_KGckg
Rain LevelRAIN_LEVELrain_levelCentimeterCENTIMETER
* MillimeterMILLIMETERmm
Relative HumidityRELATIVE_HUMIDITYrel_hum* % (0 to 100)PERCENT
RatioRATIOr
ResistanceRESISTANCEresOhmOHM
RotationROTATIONrotRevolutions per minuteRPM
* Revolutions per secondRPMSrpms
Radians per secondrad/sradianps
Rotation Vector.scalarROTATION_SCALARrot_scalCos(0/2)ROT_SCAL
Rotation Vector.x axisROTATION_Xrot_xX * sin (0/2)ROT_X
Rotation Vector.y axisROTATION_Yrot_yY * sin (0/2)ROT_Y
Rotation Vector.z axisROTATION_Zrot_zZ * sin (0/2)ROT_Z
SeismometerSEISMOMETERseisMicrons (micrometers) /second,MICROS_PER_SEC
* VoltsVOLTSv
Spectral Amplitudecm/hertzcmhz
Signal Noise RatioSNRsnrDecibelsDB
Signal StrengthSIGNAL_STRENGTHsig_strDecibels per milliwattDBM
SmokeSMOKEsmoke% (0 to 100)PERCENT
PhotodiodePHOTODIODEpz
* Kiloelectron VoltsKILOELEC_VOLTkev
Soil MoistureSOIL_MOISTUREsoil_moist% (0 to 100)PERCENT
Soil pHSOIL_PHsoil_phAnalogANALOG
Soil Water TensionSOIL_WATER_TENSIONsoil_w_ten* KilopascalKILOPASCAL
PascalPASCALpa
Solid VolumeSOLID_VOLUMEsolid_volCubic meterCUBIC_METER
SoundSOUNDsoundDecibels per milliwattDBM
Specific HumiditySPECIFIC_HUMIDITYspec_humGrams/KilogramsG_PER_KG
SpeedSPEEDspeedKilometer per hourKM_PER_H
* Miles per hourMPHmph
StepsSTEPSstepsStepsSTEPS
StorageSTORAGEstorageBytesBYTE
KilobytesKB_BYTEkb
* MegabytesMB_BYTEmb
GigabytesGB_BYTEgb
TerabytesTB_BYTEtb
StressSTRESSstressPascalPASCAL
* Hecto PascalHECTOPASCALhpa
Pounds per square inchPSIpsi
Tank LevelTANK_LEVELtlAnalogANALOG
TemperatureTEMPERATUREtempFahrenheitFAHRENHEIT
* CelsiusCELSIUSc
KelvinKELVINk
TimeTIMEtime* Seconds
Millisecondsmsmsec
minutembmin
hourhhour
daydday
monthmmonth
yearyyear
TorqueTORQUEtorq* Newton-meternm
Joulejj
TurbidityTURBIDITYturbNephelometric Turbidity Unitntu
* Formazin Turbidity Unitftuftu
UltrasonicULTRASONICultraKilohertzkhz
VelocityVELOCITYveloMeters per second squaredMETER_PER_SEC
ViscosityVISCOSITYviscoMillipascal-secondMILLIPASCAL_SEC
VoltageVOLTAGEvoltage* VoltsVOLTS
MillivoltsMILLIVOLTSmv
VolumeVOLUMEvolCubic meterCUBIC_METER
WaterWATERh20* Gallons per minuteGPM
Cubic feet per secondCUBIC_FEET_SECcfs
WavelengthWAVELENGTHwaveMetersMETER
WeightWEIGHTweight* PoundsPOUND
KilogramKILOGRAMkg
Received signal strength indicatorRSSIrssiRSSIDBM
Wind SpeedWIND_SPEEDwind_speedKilometer per hourKM_PER_H

* Denotes default value for Unit.