Temperature reading from the wrong sensor
See original GitHub issueBug Report
Summary
Affected module: sensors
Description:
My output for sensors -u
:
$ sensors -u
coretemp-isa-0000
Adapter: ISA adapter
Package id 0:
temp1_input: 46.000
temp1_max: 100.000
temp1_crit: 100.000
temp1_crit_alarm: 0.000
Core 0:
temp2_input: 46.000
temp2_max: 100.000
temp2_crit: 100.000
temp2_crit_alarm: 0.000
Core 1:
temp3_input: 45.000
temp3_max: 100.000
temp3_crit: 100.000
temp3_crit_alarm: 0.000
acpitz-virtual-0
Adapter: Virtual device
temp1:
temp1_input: 44.000
temp1_crit: 103.000
iwlwifi-virtual-0
Adapter: Virtual device
temp1:
temp1_input: 44.000
pch_skylake-virtual-0
Adapter: Virtual device
temp1:
temp1_input: 40.500
What is the current behaviour and what is the expected behaviour?
Instead of the Package id 0 temp1_input I see the temperature reported by the Virtual device adapter.
I managed to fix this by changing the sensors call like this: sensors -u coretemp-isa-0000
but I don’t know if this is a viable solution for everyone. Maybe modifying the regex to look for ‘Package id 0’ would be more portable.
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
The sensor appears to be reading incorrectly. What might be ...
Heat can be conducted away from sensors that are not sufficiently immersed into the process being measured. The result will be a reading...
Read more >Why Is House Thermostat Reading the Wrong Temperature?
Failed temperature sensor. If the sensor is dirty or improperly calibrated, then it won't be able to read the temperature correctly. The element ......
Read more >What Causes Your Thermostat to Read Incorrectly?
One of the most common reasons that your thermostat is incorrectly reading your home's temperature is that the temperature sensor is ...
Read more >What if the Sensor Probe Reads Higher or Lower than Actual ...
The sensor probe reads higher temperatures than actually felt on the floor when the sensor probe is placed too close to the wire....
Read more >Why Is My Thermostat Reading The Wrong Temperature And ...
This is probably the most common reason why thermostats read the wrong temperature; not being located or positioned in the most optimal place....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Awesome, it works. Sorry for the noise, I didn’t read carefully the available parameters.
My bad, there was a bug in the module, which should now be fixed.
Actually, right now, the only thing you have to provide is the “match_pattern” (if you want to read “temp1_input”):
/bumblebee-status -m sensors -p sensors.match_pattern="Core 1"
This gets you the value of the next “temp1_input” that follows “Core 1”.