Creating a bug report/issue
I have searched the existing open and closed issues
Required Information
- DietPi version | G_DIETPI_VERSION_CORE=10
G_DIETPI_VERSION_SUB=6
G_DIETPI_VERSION_RC=2
G_GITBRANCH=‘master’
G_GITOWNER=‘MichaIng’ - Distro version | trixie
- Kernel version | Linux RockPi 6.18.37-current-rockchip64 #1 SMP PREEMPT Sat Jun 27 10:06:50 UTC 2026 aarch64 GNU/Linux
- Architecture | arm64
- SBC model | ROCK 4 (aarch64)
- Power supply used | Manufacturer default
- SD card used | Lexar
Additional Information (if applicable)
- I was previously running Dietpi v10.5 without the problem
Expected behaviour
- No unexplainable temperature spikes.
Actual behaviour
- After installing the update at 3:20pm local time, I’m seeing spikes at:
- 8pm
- 11pm
- 3am (next day)
- 10am
- 1pm (now)
Extra details
- I try to check journalctl at those times, but there is nothing of interest at those times.
- My script which I run via cron every 20 minutes is below
#!/bin/bash
output_file="/mnt/dietpi_userdata/caddy/tempmonitor/data/cpu_temp.csv"
# write header
if [ ! -f "$output_file" ]; then
echo "Date,Temperature" > "$output_file"
fi
# Path to the hwmon0 temperature input file
HWMON0_TEMP_FILE="/sys/class/hwmon/hwmon0/temp1_input"
TEMP_CELSIUS='0'
# Check if the file exists
if [ -f "$HWMON0_TEMP_FILE" ]; then
# Read the temperature value in millidegrees Celsius
TEMP_MILLICELSIUS=$(cat "$HWMON0_TEMP_FILE")
# Convert to degrees Celsius using awk for floating-point division
TEMP_CELSIUS=$(awk "BEGIN {printf \"%.3f\", $TEMP_MILLICELSIUS / 1000}")
else
# echo "Error: Temperature file not found."
TEMP_CELSIUS='N/A'
fi
# write temp
timestamp=$(date +"%Y-%m-%d %H:%M:%S")
echo "$timestamp,$TEMP_CELSIUS" >> "$output_file"
