Temp check in emulation station?
-
Greetings,
Is there a way to check the ARM temp without quiting emulation station? I know there's a thermostat warning that shows up on the top right of my screen. And if I quit emulation station, I get a temp readout on the command prompt.
But just looking for a quick way to check temps while still in emulationstation. Let me know. Thanks.
-
Have you SSH'd into your Pi before? If so, you can check the temperature with
/opt/vc/bin/vcgencmd measure_temp
OR, if you want an auto-updating temperature reading (think every 2 seconds?)
watch /opt/vc/bin/vcgencmd measure_temp
-
@edm203 It can only be done via SSH or VNC, ie a remote connection You have no way of getting at this info whilst RetroPie is running. Try this command
watch -n 5 vcgencmd measure_temp
replace the 5 with the number of seconds you want to use. CTRL & C will end it. -
Thanks for the reply, everyone. I know I can ssh into my pi to get a temp reading. Still wish there is a way to check the temp in emulation station. All well. Thanks again.
-
Still wish there is a way to check the temp in emulation station.
You could do this by launching a script from a menu in Emulation Station that will list shell scripts, such as the RetroPie menu. You can try this and if you don't like it, I'll also include the command to delete it.
If in RetroPie, drop to the command line (F4) and type:
nano /home/pi/RetroPie/retropiemenu/Check\ Temperature.sh
This will open a text editor where you will then type:
#!/bin/sh vcgencmd measure_temp sleep 5
Then press 'ctrl+o' to save, 'enter' to confirm and 'ctrl+x' to exit back to the command line.
Now you make the script executable by typing:
chmod +x /home/pi/RetroPie/retropiemenu/Check\ Temperature.sh
All that's left is to restart Emulation Station by typing:
emulationstation
After it loads, there will be a new listing in the RetroPie menu of Emulation Station that reads 'Check Temperature'. Select it and the current temperature will be displayed for five seconds and then return to Emulation Station.
If you find you don't like this approach after all, drop back to the command line and type the following line to delete the script:
rm /home/pi/RetroPie/retropiemenu/Check\ Temperature.sh
-
@mediamogul wow, thanks. I'll try that tonight. Can I do it from ssh? I don't have a spare usb keyboard for my raspberry pi.
-
-
@mediamogul Sweet. I just tried it and it works like a charm! Thanks fo your help mediamogul!
-
Not a problem. Glad it worked for you.
-
Just wanted to add my thanks to @mediamogul for this script, works great, thanks for sharing!
-
echo -e "CPU => $(echo "scale=1; $(cat /sys/class/thermal/thermal_zone0/temp)/1000" | bc)'C\nGPU => $(/opt/vc/bin/vcgencmd measure_temp | sed "s/^.....//g")"
This is an alternate script that will show both GPU and CPU Temps that you could use in place of the one listed above.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.