RAGS - v1.10.0
    Preparing search index...

    Variable temperature

    temperature: (sensor?: string) => number

    Type Declaration

      • (sensor?: string): number
      • Reads a thermal sensor temperature in degrees Celsius.

        Parameters

        • Optionalsensor: string

          Path to a temp*_input file under /sys/class/hwmon/. Defaults to the first temp1_input found.

        Returns number

        Temperature in °C, or -1 if unavailable