RPi-Monitor
RPi-Monitor copied to clipboard
CPU Temperature range: How to start from 0C rather than 40C
Currently the CPU temperature range is 40-80C and I can see why, however at lower temperatures the gauge doesn't show anything visual.
What is a way to change the range of that gauge to go from 0C to 80C? I appreciate that 0C is not realistic, but it will offer a better scale to that gauge, that will put 40ish C right in the middle, with lower temperatures than 40C visually shown as less than half, and more than 40C more than half. An easy way to tell what's happening with one look.
Thank you.
edit this file: /etc/rpimonitor/template/temperature.conf
find this line: web.status.1.content.1.line.1=JustGageBar("CPU Temperature", data.soc_temp+"°C", 40, data.soc_temp, 80, 100, 80)
to: web.status.1.content.1.line.1=JustGageBar("CPU Temperature", data.soc_temp+"°C", 0, data.soc_temp, 100, 100, 80)
https://xavierberger.github.io/RPi-Monitor-docs/24_web.html
don't forget to restart service or complete PI
edit this file: /etc/rpimonitor/template/temperature.conf
find this line: web.status.1.content.1.line.1=JustGageBar("CPU Temperature", data.soc_temp+"°C", 40, data.soc_temp, 80, 100, 80)
to: web.status.1.content.1.line.1=JustGageBar("CPU Temperature", data.soc_temp+"°C", 0, data.soc_temp, 100, 100, 80)
https://xavierberger.github.io/RPi-Monitor-docs/24_web.html
Worked like a dream. Many thanks!!!
You're welcome