RetroPie Temperature Monitor from Menu

In case you are interested by monitoring the RetroPie temperature you may add a customized choice to your RetroPie menu. It will show the RetroPie temperature on the display for a predefined variety of seconds.

You'll need to have a keyboard connected to your RetroPie system or have SSH entry.

Step 1: Create RetroPie Temperature Script

You’ll have to get to the command line. In case you are utilizing a keyboard linked to the Pi then inside RetroPie press F4 to enter the command line. If utilizing SSH join utilizing your most well-liked shopper.

On the command immediate navigate to the RetroPie menu listing:

cd /house/pi/RetroPie/retropiemenu

Then create the script utilizing:

nano Check_Temperature.sh

It will open the nano textual content editor.

Sort or paste the next script:

!/bin/sh
vcgencmd measure_temp
sleep 5

Then press CTRL-X, Y and ENTER to substantiate the adjustments and exit again to the command line.

Step 2: Make Executable

Now the script must be made executable utilizing the command:

chmod +x Check_Temperature.sh

Step 3: Return to Emulation Station

In case you are utilizing a keyboard linked to the Pi return to Emulation Station by typing:

emulationstation

In case you are utilizing SSH then stop the session by typing:

exit

Step 4: Run RetroPie Temperature Script

As soon as EmulationStation has reloaded navigate to the RetroPie configuration menu.

You must see a brand new entry for “Check_Temperature”.

Choose this new possibility and the present temperature will probably be displayed for 5 seconds after which return to Emulation Station.

Eradicating RetroPie Temperature Script (optionally available)

To take away the brand new entry from the RetroPie menu you simply have to delete the script. To do that return to the command line (utilizing F4 or SSH). Navigate to the RetroPie menu listing utilizing:

cd /house/pi/RetroPie/retropiemenu

after which delete the script utilizing:

rm Check_Temperature.sh

Lastly return to Emulation Station as earlier than by both typing:

emulationstation

or:

exit

As soon as EmulationStation has reloaded navigate to the RetroPie menu and the “Check_Temperature” possibility needs to be gone.



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *