RAGS - v1.10.0
    Preparing search index...

    Function temperature

    • 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