VIM3 fan control

You can install netdata via entware (there’s a thread about it)
Or you can run cputemp from ssh.
And of course in Kodi GUI you can see temperature in Hardware tab under system information

Thanks TheCoolest. I’ll look into those options.

Further option using docker

SSH and run command below which continually monitors Temp. When Fan Kicks in
you can see the temp live in your SSH session.

echo "cat /sys/class/thermal/thermal_zone0/temp" > temp 
chmod +x temp 
watch ./temp

Thanks, kostaman.
I was thinking SSH would be the easiest way look into it. I’m not near a PC when I watch something though, so I’d have to get up and look. I’ll have a look at this though. Or maybe map a key to Kodi’s info if that’s possible so I can just open that while watching.

Nice, thanks.
btw, I posted on another issue some weeks ago and it was moved to the Hardware thread and had no responses.

Any suggestions on that?

running this now. V3 is idle. it shows 40000-40500. Started a vid and it’s averaging at about 41700-41900 at the beginning and now climbing towards 43000.
I’m not sure what sort of temp metric this is. I’ll check it out if/when the fan kicks in.

Create the file temp using vi or nano and insert this commands:
cpuTemp0=$(cat /sys/class/thermal/thermal_zone0/temp)
cpuTemp1=$(($cpuTemp0/1000))
cpuTemp2=$(($cpuTemp0/100))
cpuTempM=$(($cpuTemp2 %$cpuTemp1))
gpuTemp0=$(cat /sys/class/thermal/thermal_zone1/temp)
gpuTemp1=$(($gpuTemp0/1000))
gpuTemp2=$(($gpuTemp0/100))
gpuTempM=$(($gpuTemp2 %$gpuTemp1))
echo CPU Temperatur “= “$cpuTemp1”.”$cpuTempM"°C"
echo GPU Temperatur “= “$gpuTemp1”.”$gpuTempM"°C"

save the file
chmod +x temp
watch -t -n 5 ./temp
Shoes temperatur from CPU and GPU in celsius

Thank you. I will try it.
So 43000 is 43c (43.000)?

No, it´s not only division by 1.000

OK.

GPU Temperatur “= “46”.”7°C

looks like it’s running with your code. I think you left out a slash so I changed it to watch -t -n 5 ./temp.

Sorry, I edit my post

Ran the script for a few hours while watching last night. Did not notice any sudden fan action. It stayed on those values most of the time:

CPU Temperatur “= “44”.”9°C
GPU Temperatur “= “46”.”3°C
CPU Temperatur “= “45”.”0°C
GPU Temperatur “= “47”.”3°C
CPU Temperatur “= “44”.”8°C
GPU Temperatur “= “46”.”1°C

Hello, i have installed the 3705 fan on khadas vim3 with coreelec OS, but it not work. How can i active it?

also bought the 3705 FAN… but its not working…
seems i2c-tools are not installed…

i can activate the Fan on Kodi… how this works without i2c-tools?
i want to use this on emuelec as well… :slight_smile:

i2c-tools are part of system-tools addon.

Maybe this could help too: service.coreelec.settings/hardware.py at coreelec-19 · CoreELEC/service.coreelec.settings · GitHub
seems it writes some values to /sys/class/fan nodes.

Ahh. CoolMaybe this works for emuelec… j

Yes it works…

1 Like