Type

sealed class Type

Type of the measurement.

Inheritors

Types

Link copied to clipboard

Alarm state reported by the sensor.

Link copied to clipboard

Several alarm states reported together, for periods in which the state changed more than once.

Link copied to clipboard

Ambient light level.

Link copied to clipboard

Ammonia (NH3).

Link copied to clipboard

Atmospheric pressure.

Link copied to clipboard

Type whose value is either on or off.

Link copied to clipboard

Breath volatile organic compound equivalent.

Link copied to clipboard

Carbon dioxide (CO2).

Link copied to clipboard

Carbon dioxide equivalent, derived from the volatile organic compounds the sensor detects.

Link copied to clipboard

Carbon monoxide (CO).

Link copied to clipboard

Type whose value is a number taken from a range.

Link copied to clipboard

Electrical current. See CURRENT_PRECISE for the variant that also reports negative values.

Link copied to clipboard

Electrical current to three decimal places. Unlike CURRENT it also reports negative values, over a narrower range.

Link copied to clipboard

Dew point, the temperature at which the air becomes saturated.

Link copied to clipboard

Differential pressure.

Link copied to clipboard

Distance to the nearest object in front of the sensor.

Link copied to clipboard

Electricity used over one measurement period. See ELECTRICITY_USAGE_ACCUMULATED for the running total.

Link copied to clipboard

Running total of electricity used, counted by the sensor since its counter was last set.

Complementary channel of the accumulated electricity usage.

Link copied to clipboard

Heat index, the apparent temperature derived from temperature and humidity.

Link copied to clipboard

Pressure on a high-pressure scale, for ranges beyond what ATMOSPHERIC_PRESSURE covers.

Link copied to clipboard

Humidity as a whole percentage. See HUMIDITY_ACCURATE for the variant with one decimal place.

Link copied to clipboard

Humidity to one decimal place. See HUMIDITY for the whole-percentage variant.

Link copied to clipboard

Hydrogen sulfide (H2S).

Link copied to clipboard

Air quality index. See INTERNAL_AIR_QUALITY_STATIC for the variant on a wider scale.

Link copied to clipboard

Air quality index on a wider scale than INTERNAL_AIR_QUALITY.

Link copied to clipboard

Whether a leak is detected.

Link copied to clipboard

Several leak states reported together, for periods in which the state changed more than once.

Link copied to clipboard

Methane (CH4).

Link copied to clipboard

Nitrogen dioxide (NO2).

Link copied to clipboard
Link copied to clipboard

State of the sensor's controllable output.

Link copied to clipboard

Several output states reported together, for periods in which the state changed more than once.

Link copied to clipboard

Percentage, for channels that report a proportion rather than a named quantity.

Link copied to clipboard

Mass concentration of particles up to 1 µm across.

Link copied to clipboard

Mass concentration of particles up to 10 µm across.

Link copied to clipboard

Mass concentration of particles up to 2.5 µm across.

Link copied to clipboard

Pulses counted over one measurement period. See PULSES_ACCUMULATED for the running total.

Link copied to clipboard

Running total of pulses counted since the sensor's counter was last set. See PULSES_ACCUMULATED_WIDE for the variant that counts far higher.

Link copied to clipboard

Complementary channel of the accumulated pulse count.

Link copied to clipboard

Running total of pulses over a far wider range than PULSES_ACCUMULATED.

Link copied to clipboard

Complementary channel of the wide-range accumulated pulse count.

Link copied to clipboard
Link copied to clipboard

RMS current measured non-invasively by a current clamp. The measurement's accuracy is Accuracy.LOW_ACCURACY when the reading exceeds the clamp's rated range and Accuracy.HIGH_ACCURACY otherwise.

Link copied to clipboard

Soil moisture, reported as a negative pressure, so values closer to zero mean wetter soil.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Water used over one measurement period. See WATER_USAGE_ACCUMULATED for the running total.

Link copied to clipboard

Running total of water used, counted by the sensor since its counter was last set.

Link copied to clipboard

Complementary channel of the accumulated water usage.

Properties

Link copied to clipboard

True if channels of this type are hidden from the caller. Set for the complementary channels of accumulating counters, which the library reads but does not report on their own.

Link copied to clipboard
open val isBinary: Boolean

True if type is considered binary or false otherwise.