Interface TemperatureSensor

All Superinterfaces:
Sensor

public interface TemperatureSensor
extends Sensor
A sensor measuring the room temperature. Most often found as an additional feature in a Philips Hue motion detector.
  • Method Details

    • getDegreesCelsius

      BigDecimal getDegreesCelsius()
      Returns the detected temperature in degrees Celsius.
      Returns:
      A BigDecimal with two decimal places, indicating the current temperature. May also return null if the sensor is disabled in the Hue app.