Hardware sensor monitor panel applet displays no sensors found

My Pi 3B+ with ubuntu mate 16.04.5 displays no sensors found after adding the hardware sensors monitor panel applet. I confirmed that mate-sensor-applet, mate-sensor-applet-common. libmate-sensors applet-plugin0 are all installed.

I am trying to duplicate the raspbian stretch temperature monitor display on the panel. It looks like the hardware sensor monitor mate panel applet is supposed to do just that and even more.

I realize that I can simply type vcgencmd measure_temp in terminal to get the cpu temp but I would prefer to have the panel applet working. Any ideas?

1 Like

Thanks stillwinter for your reply and link. It looks like this issue is well known and discussed. Perhaps it might be resolved in 18.04.

It looks like the lxpanel temperature monitor simply reads /sys/class/thermal/thermal_zone0/temp (from https://raspberrypi.stackexchange.com/questions/12765/change-temperature-monitor-to-display-in-fahrenheit . Source code: https://github.com/raspberrypi-ui/lxpanel/blob/master/plugins/thermal/thermal.c ).

If the mate applet can’t do this (and I haven’t used it in years) then it wouldn’t be hard to write a custom plugin https://github.com/mate-desktop/mate-sensors-applet/tree/master/plugins . This would be a nice little project for somebody. Essentially you would take an existing plugin like smu-sys and adapt it for your needs.

If that is too hard then an alternative is Raspberry Pi 2 Sensor

Thanks stillwater for the Raspberry Pi 2 Sensor link. I ended up using the command panel applet option with the following command:
awk ‘{printf “%3.1f°C\n”, $1/1000}’ /sys/class/thermal/thermal_zone0/temp

The output is perfectly simple and does exactly what I wanted. Being able to set the update interval is an added benefit. Thanks Dude!

Great! Works fine. :grinning: :+1:
I wrote a short C program but this solution is much easier.

For copy&paste with right characters:

awk '{printf "%3.1f °C\n", $1/1000}' /sys/class/thermal/thermal_zone0/temp

Mickey :wink: