Changeset 16801 in niluje


Ignore:
Timestamp:
Jan 29, 2020, 6:06:31 AM (4 weeks ago)
Author:
NiLuJe
Message:

Oops, wrong NVME sensor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Bash/trunk/tempinfo.sh

    r16800 r16801  
    2626                # We parse temperatures from smartctl instead of HDDTemp because it can read the temps from my standby WDs without waking them up...
    2727                # There are multiple sensors on the NVME one, pick up the main/first one
    28                 NVM_TEMP="$(( $(< /sys/class/nvme/nvme0/device/hwmon/hwmon1/temp3_input) / 1000 ))"
     28                NVM_TEMP="$(( $(< /sys/class/nvme/nvme0/device/hwmon/hwmon1/temp1_input) / 1000 ))"
    2929                # The Samsung only reports Airflow temps
    3030                SSD_TEMP="$(sudo /usr/sbin/smartctl -A /dev/disk/by-id/ata-Samsung_SSD_850_EVO_M.2_500GB_S24CNXAG808442E | grep '^190' | sed -re 's/[[:blank:]]+/ /g' | cut -d ' ' -f 10)"
Note: See TracChangeset for help on using the changeset viewer.