Skip to content

General notes

General Notes

Stress testing the Raspberry Pi

In order to stress test the Raspberry Pi, open two terminals and run stress -c 4 -t 240s in one window, and monitor the temperatures in another window by running watch vcgencmd measure_temp

Monitor temperature

  • Run the following command to monitor the temperature: watch vcgencmd measure_temp
  • Run the following command to get a one time temperature reading: /opt/vc/bin/vcgencmd measure_temp

Set Temp Threshold for PoE Fan

To set the temperature thresholds for the PoE fan speed, add the following code to the file /boot/firmware/config.txt and reboot the Raspberry Pi.

# PoE Hat Fan Speeds
dtoverlay=rpi-poe
dtparam=poe_fan_temp0=57000
dtparam=poe_fan_temp1=60000
dtparam=poe_fan_temp2=63000
dtparam=poe_fan_temp3=66000

Shut down Raspberry Pi

  • Run sudo shutdown -h now