Characteristics

The table below contains a list of allowed characteristics. This will be extended over time. The philosophy has been to keep the app-adaptor API simple, so, for example, temperature is always in degrees Celsius and is a floating-point number. Apps and adaptors can easily make any conversions that are required for their own purposes.

CharacteristicUnit/TypeDescription
temperatureCelcius/floatTemperature
humidityPercent/floatRelative humidity
pressureBar/floatAtmospheric pressure
luminanceLux/floatLuminance
batteryPercent/floatBattery status as a percentage of fully-charged
binary_sensor-/stringCan take the values “on” and “off”
switch-/stringCan take the values “on” and “off”
connected-/BooleanIndicates whether a device is currently connected
voltageVolt/floatVoltage
currentAmpere/floatCurrent
powerWatt/floatPower
energyKJ/floatEnergy
buttons-/dictThe states of a group of buttons in the form:
{
"1": "string",
"2": "string"
}
The string can take the values "on" or "off". There may be one or more buttons.

Next ...