Hddtemp provides no reading, fan control goes to max

Hi

hddtemp provides no reading for my WD Red Plus (8 TB, 3.5", CMR):

fips@eon:~ $ sudo hddtemp /dev/sdb1
/dev/sdb1: Pinas sata:  drive supported, but it doesn't have a temperature sensor.

It looks like argoned does not like that and cranks up the fan. Anything I can do here?

Running a Pi 4 B 8GB with Raspberry OS Bullseye 64bit.

Thx!

If you are using the scripts as provided by argon40, i.e. you ran the following command:

curl https://download.argon40.com/argoneon.sh | bash

The code will automatically set the fan speed to 25% if a value of 0 is provided. You can fix this one of two ways:

  1. edit /etc/argononed.py, find the function get_fanspeed, and comment out the following:
         if fancfg < 25:
             return 25

To comment out lines in python use the ‘#’ character…

#         if fancfg < 25:
#            return 25
  1. Uninstall and download from
curl -L https://raw.githubusercontent.com/JeffCurless/argoneon/main/argoneon.sh | bash

Extending the OLED screens

I know that hddtemp will provide temperature readings for the Western Digital Red Plus, because I’ve a Western Digital Red Plus in my Eon as well.

However, because it’s sat on the other side of a USB-SATA bridge you need to address it differently. If you take a shufti at my fork of the Python scripts, you’ll see you need to prefix the device with sata: first. You also need to address the drive, not the partition.

So instead of:

sudo hddtemp /dev/sdb1

you need:

sudo hddtemp sata:/dev/sdb

Which will work fine. However, you should get into the habit of using /dev/disk/by-id or /dev/disk/by-uuid instead, 'cos then they’re guaranteed to be the same drive each time you reboot.

2 Likes

That fixed it. Thank you very much for the quick reply, the noise was driving me nuts :slightly_smiling_face:

1 Like

Nice, thank you @ghalfacree. Indeed, with the sata: prefix I do get a temperature reading.

2 Likes