hjelev/rpi-mqtt-monitor

Adding decimal digits on the CPU Temp Sensor

Closed this issue · 3 comments

Is it possible to measure the CPU temperature down to last 2 decimal digits (ex: 50.42) instead of just whole numbers?

On what system are you using the monitor?
For me under rpi OS it shows one digit after the floating point when under Ubuntu it only shows the whole number.

On what system are you using the monitor? For me under rpi OS it shows one digit after the floating point when under Ubuntu it only shows the whole number.

Hi, I am passing the data from this to Home Assistant
image

The last version changes the way cpu temp is gathered/calculated and on some system, this allows 2 points after decimal point. Not sure if this will help in your case, as you have none after the decimal point - same as on my Ubuntu pc, here is how it looks on raspbian:
image