List of functions
The float
property has functions. Functions have parameters that let you describe the properties for the device.
Function | Description |
---|---|
amperage | Displays the current amperage. |
battery_level | Displays the battery level. |
co2_level | Displays the carbon dioxide level readings. |
electricity_meter | Displays the current electricity meter readings. |
food_level | Displays the food level readings. |
gas_meter | Displays the current gas meter readings. |
heat_meter | Displays the current heat meter readings. |
humidity | Displays the humidity readings. |
illumination | Displays the illumination level. |
meter | Displays the current universal meter readings. |
pm1_density | Displays the level of air pollution with PM1 particles. |
pm2.5_density | Displays the level of air pollution with PM2.5 particles. |
pm10_density | Displays the level of air pollution with PM10 particles. |
power | Displays the current power consumption. |
pressure | Pressure display. |
temperature | Displays the temperature readings. |
tvoc | Displays the level of organic compounds in the air. |
voltage | Displays the current voltage. |
water_level | Displays the water level readings. |
water_meter | Displays the current water meter readings. |
Function | Description |
---|---|
amperage | Displays the current amperage. |
battery_level | Displays the battery level. |
co2_level | Displays the carbon dioxide level readings. |
electricity_meter | Displays the current electricity meter readings. |
food_level | Displays the food level readings. |
gas_meter | Displays the current gas meter readings. |
heat_meter | Displays the current heat meter readings. |
humidity | Displays the humidity readings. |
illumination | Displays the illumination level. |
meter | Displays the current universal meter readings. |
pm1_density | Displays the level of air pollution with PM1 particles. |
pm2.5_density | Displays the level of air pollution with PM2.5 particles. |
pm10_density | Displays the level of air pollution with PM10 particles. |
power | Displays the current power consumption. |
pressure | Pressure display. |
temperature | Displays the temperature readings. |
tvoc | Displays the level of organic compounds in the air. |
voltage | Displays the current voltage. |
water_level | Displays the water level readings. |
water_meter | Displays the current water meter readings. |
amperage
Displays the current amperage.
Below is the description of the parameters
object from the Property description section.
The current amperage value must be greater than 0.
Use this function to describe the features of various devices:
- Example of the
parameters
object -
See the full example in Example of use.
{ ... "parameters": { "instance": "amperage", "unit": "unit.ampere" } ... }
- Examples of devices with the amperage function
-
battery_level
Displays the battery level.
Below is the description of the parameters
object from the Property description section.
The value of the current battery level must be in the range [0; 100].
Use this function to describe the features of various devices:
- Example of the
parameters
object -
See the full example in Example of use.
{ ... "parameters": { "instance": "battery_level", "unit": "unit.percent" } ... }
- Examples of devices with the battery_level function
-
co2_level
Displays the carbon dioxide level readings.
Below is the description of the parameters
object from the Property description section.
The value of the current carbon dioxide reading must be greater than 0.
Use this function to describe the features of various devices:
- Example of the
parameters
object -
See the full example in Example of use.
{ ... "parameters": { "instance": "co2_level", "unit": "unit.ppm" } ... }
- Examples of devices with the co2_level function
-
electricity_meter
Displays the current electricity meter readings.
Below is the description of the parameters
object from the Property description section.
Use this function to describe the features of various devices:
- Example of the
parameters
object -
See the full example in Example of use.
{ ... "parameters": { "instance": "electricity_meter", "unit": "unit.kilowatt_hour" } ... }
- Examples of devices with the electricity_meter function
-
food_level
Displays the food level readings.
Below is the description of the parameters
object from the Property description section.
The value of the food level reading must be in the range [0; 100].
Use this function to describe the features of various devices:
- Example of the
parameters
object -
See the full example in Example of use.
{ ... "parameters": { "instance": "food_level", "unit": "unit.percent" } ... }
- Examples of devices with the food_level function
-
gas_meter
Displays the current gas meter readings.
Below is the description of the parameters
object from the Property description section.
Use this function to describe the features of various devices:
- Example of the
parameters
object -
See the full example in Example of use.
{ ... "parameters": { "instance": "gas_meter", "unit": "unit.cubic_meter" } ... }
- Examples of devices with the gas_meter function
-
heat_meter
Displays the current heat meter readings.
Below is the description of the parameters
object from the Property description section.
Use this function to describe the features of various devices:
- Example of the
parameters
object -
See the full example in Example of use.
{ ... "parameters": { "instance": "heat_meter", "unit": "unit.gigacalorie" } ... }
- Examples of devices with the heat_meter function
-
humidity
Displays the humidity readings.
Below is the description of the parameters
object from the Property description section.
The value of the current humidity reading must be in the range [0; 100].
Use this function to describe the features of various devices:
- Example of the
parameters
object -
See the full example in Example of use.
{ ... "parameters": { "instance": "humidity", "unit": "unit.percent" } ... }
- Examples of devices with the humidity function
-
illumination
Displays the illumination level.
Below is the description of the parameters
object from the Property description section.
The illumination value must be greater than 0.
Use this function to describe the features of various devices:
- Example of the
parameters
object -
See the full example in Example of use.
{ ... "parameters": { "instance": "illumination", "unit": "unit.illumination.lux" } ... }
- Examples of devices with the illumination function
-
meter
Displays the current universal meter readings.
Below is the description of the parameters
object from the Property description section.
Use this function to describe the features of various devices:
- Example of the
parameters
object -
See the full example in Example of use.
{ ... "parameters": { "instance": "meter" } ... }
- Examples of devices with the meter function
-
pm1_density
Displays the level of air pollution with PM1 particles.
Below is the description of the parameters
object from the Property description section.
The current reading of PM1 particle pollution must be greater than 0.
Use this function to describe the features of various devices:
- Example of the
parameters
object -
See the full example in Example of use.
{ ... "parameters": { "instance": "pm1_density", "unit": "unit.density.mcg_m3" } ... }
- Examples of devices with the pm1_density function
-
pm2.5_density
Displays the level of air pollution with PM2.5 particles.
Below is the description of the parameters
object from the Property description section.
The current reading of PM2.5 particle pollution must be greater than 0.
Use this function to describe the features of various devices:
- Example of the
parameters
object -
See the full example in Example of use.
{ ... "parameters": { "instance": "pm2.5_density", "unit": "unit.density.mcg_m3" } ... }
- Examples of devices with the pm2.5_density function
-
pm10_density
Displays the level of air pollution with PM10 particles.
Below is the description of the parameters
object from the Property description section.
The current reading of PM10 particle pollution must be greater than 0.
Use this function to describe the features of various devices:
- Example of the
parameters
object -
See the full example in Example of use.
{ ... "parameters": { "instance": "pm10_density", "unit": "unit.density.mcg_m3" } ... }
- Examples of devices with the pm10_density function
-
power
Displays the current power consumption.
Below is the description of the parameters
object from the Property description section.
The current power consumption must be greater than 0.
Use this function to describe the features of various devices:
- Example of the
parameters
object -
See the full example in Example of use.
{ ... "parameters": { "instance": "power", "unit": "unit.watt" } ... }
- Examples of devices with the power function
-
pressure
Pressure display.
Below is the description of the parameters
object from the Property description section.
The pressure value must be greater than 0.
parameters object | ||
---|---|---|
Parameter | Type | Description |
instance | String | Function name for a property. Acceptable values: pressure . |
unit | String | Function value units. Acceptable values:
|
parameters object | ||
---|---|---|
Parameter | Type | Description |
instance | String | Function name for a property. Acceptable values: pressure . |
unit | String | Function value units. Acceptable values:
|
Use this function to describe the features of various devices:
- Example of the
parameters
object -
See the full example in Example of use.
{ ... "parameters": { "instance": "pressure", "unit": "unit.pressure.mmhg" } ... }
- Examples of devices with the pressure function
-
temperature
Displays the temperature readings.
Below is the description of the parameters
object from the Property description section.
Use this function to describe the features of various devices:
- Example of the
parameters
object -
See the full example in Example of use.
{ ... "parameters": { "instance": "temperature", "unit": "unit.temperature.celsius" } ... }
- Examples of devices with the temperature function
-
tvoc
Displays the level of organic compounds in the air.
Below is the description of the parameters
object from the Property description section.
The current reading of organic compounds in the air must be greater than 0.
Use this function to describe the features of various devices:
- Example of the
parameters
object -
See the full example in Example of use.
{ ... "parameters": { "instance": "tvoc", "unit": "unit.density.mcg_m3" } ... }
- Examples of devices with the tvoc function
-
voltage
Displays the current voltage.
Below is the description of the parameters
object from the Property description section.
The current voltage value must be greater than 0.
Use this function to describe the features of various devices:
- Example of the
parameters
object -
See the full example in Example of use.
{ ... "parameters": { "instance": "voltage", "unit": "unit.volt" } ... }
- Examples of devices with the voltage function
-
water_level
Displays the water level readings.
Below is the description of the parameters
object from the Property description section.
The value of the water level reading must be in the range [0; 100].
Use this function to describe the features of various devices:
- Example of the
parameters
object -
See the full example in Example of use.
{ ... "parameters": { "instance": "water_level", "unit": "unit.percent" } ... }
- Examples of devices with the water_level function
-
water_meter
Displays the current water meter readings.
Below is the description of the parameters
object from the Property description section.
Use this function to describe the features of various devices:
- Example of the
parameters
object -
See the full example in Example of use.
{ ... "parameters": { "instance": "water_meter", "unit": "unit.cubic_meter" } ... }
- Examples of devices with the water_meter function
-