RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Temp check in emulation station?

    Scheduled Pinned Locked Moved Help and Support
    temperatureemulation stati
    11 Posts 6 Posters 14.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • edm203E
      edm203
      last edited by

      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.

      Pi Model or other hardware: Pi3B
      Power Supply used: 2.5 amp power supply
      RetroPie Version Used: 4.2.10
      Built From: Premade from Retropie website
      USB Devices connected: 4x ibuffalo snes controllers

      D AlexMurphyA 2 Replies Last reply Reply Quote 0
      • D
        Dochartaigh @edm203
        last edited by

        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

        1 Reply Last reply Reply Quote 1
        • AlexMurphyA
          AlexMurphy Banned @edm203
          last edited by

          @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.

          1 Reply Last reply Reply Quote 1
          • edm203E
            edm203
            last edited by

            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.

            Pi Model or other hardware: Pi3B
            Power Supply used: 2.5 amp power supply
            RetroPie Version Used: 4.2.10
            Built From: Premade from Retropie website
            USB Devices connected: 4x ibuffalo snes controllers

            mediamogulM 1 Reply Last reply Reply Quote 0
            • mediamogulM
              mediamogul Global Moderator @edm203
              last edited by mediamogul

              @edm203

              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
              

              RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

              edm203E 1 Reply Last reply Reply Quote 4
              • edm203E
                edm203 @mediamogul
                last edited by

                @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.

                Pi Model or other hardware: Pi3B
                Power Supply used: 2.5 amp power supply
                RetroPie Version Used: 4.2.10
                Built From: Premade from Retropie website
                USB Devices connected: 4x ibuffalo snes controllers

                mediamogulM 1 Reply Last reply Reply Quote 0
                • mediamogulM
                  mediamogul Global Moderator @edm203
                  last edited by mediamogul

                  @edm203

                  Can I do it from ssh?

                  You can indeed.

                  RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                  edm203E 1 Reply Last reply Reply Quote 1
                  • edm203E
                    edm203 @mediamogul
                    last edited by

                    @mediamogul Sweet. I just tried it and it works like a charm! Thanks fo your help mediamogul!

                    Pi Model or other hardware: Pi3B
                    Power Supply used: 2.5 amp power supply
                    RetroPie Version Used: 4.2.10
                    Built From: Premade from Retropie website
                    USB Devices connected: 4x ibuffalo snes controllers

                    mediamogulM 1 Reply Last reply Reply Quote 0
                    • mediamogulM
                      mediamogul Global Moderator @edm203
                      last edited by

                      @edm203

                      Not a problem. Glad it worked for you.

                      RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                      1 Reply Last reply Reply Quote 0
                      • G
                        gold64
                        last edited by

                        Just wanted to add my thanks to @mediamogul for this script, works great, thanks for sharing!

                        1 Reply Last reply Reply Quote 1
                        • S
                          Swagman89
                          last edited by Swagman89

                          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.

                          1 Reply Last reply Reply Quote 2
                          • First post
                            Last post

                          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.