Created attachment 7294 plugin configuration My sensors are like: k10temp-pci-00c3 Adapter: PCI adapter temp1: +25.4°C (high = +70.0°C) (crit = +90.0°C, hyst = +87.0°C) it8720-isa-0228 Adapter: ISA adapter in0: +0.93 V (min = +0.00 V, max = +4.08 V) in1: +1.47 V (min = +0.00 V, max = +4.08 V) in2: +3.34 V (min = +0.00 V, max = +4.08 V) +5V: +3.02 V (min = +0.00 V, max = +4.08 V) in4: +3.06 V (min = +0.00 V, max = +4.08 V) in5: +0.06 V (min = +0.00 V, max = +4.08 V) in6: +4.08 V (min = +0.00 V, max = +4.08 V) ALARM 5VSB: +3.01 V (min = +0.00 V, max = +4.08 V) Vbat: +3.30 V fan1: 936 RPM (min = 10 RPM) fan2: 1386 RPM (min = 0 RPM) fan3: 902 RPM (min = 0 RPM) fan4: 4440 RPM (min = 10 RPM) temp1: +26.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor temp2: +33.0°C (low = +127.0°C, high = +127.0°C) sensor = thermal diode temp3: +35.0°C (low = +127.0°C, high = +60.0°C) sensor = Intel PECI cpu0_vid: +0.113 V intrusion0: OK fam15h_power-pci-00c4 Adapter: PCI adapter power1: 42.84 W (crit = 95.01 W) However sensors plugin will display value of "+5V" instead of temp3 after logging in and will also rename "+5V" sensor to "temp3" so I will have two sensors named "temp3" with one displaying voltage :-)
Would you mind providing your panel plugin configuration file from ${HOME}/.config/xfce/panel/xfce4-sensors-plugin-25.rc or similar? In there, you will hopefully easily find where there is "temp3" incidentally written, you might want to "xfce4-panel -q", edit the file with 2 new names for the temp3 and +5V sensor, and then run xfce4-panel again, e.g., from an open terminal instance or xfrun4. Anyway, your config file will be interesting (and how you achieved a potential misconfiguration).
Created attachment 7352 config file
I just attached it.
OK, what happens if you rename the label in the settings dialog? It seems you encountered an older bug where there is some mixing-up of old and new "positions" of the different sensors, i.e., you once have the lm sensors or hddtemp, and then you don't have it and all the naming in the plugin is screwed up. Renaming simply works by double-clicking the "temp3" label and typing a different text, e.g., "renaming test". Close the config window, perhaps after enabling "Show", and then restarting the panel in a command line via "xfce4-panel -r" should show whether you now have the proper label again (in the panel when shown or in the config window). As an alternative, you could stop the panel via "xfce4-panel -q", manually edit the config file: remove the sensor feature entries for the second sensors with all the faulty "temp" labels, save, and start the panel again. It is possible that there are two (or even more config files), you will have to find out the correct one.
What happens lately with version 1.3.0 is the following: Sensor config [Chip1_Feature15] Id=-1 Address=15 Name=temp3 Color=#00B000 Show=true Min=10.00 Max=60.00 Becomes [Chip1_Feature3] Id=-1 Address=3 Name=temp3 Color=#00B000 Show=true Min=10.00 Max=60.00 After restart. If I edit it manually when X is not running and start X it will display the sensor correctly, but once it saves config it will be replaced by some voltage sensor. It is still the same PC as above :-)
The reading will actually show this sensor instead temp3 after it saves config: +5V: +3.02 V (min = +0.00 V, max = +4.08 V)
I have the same issue with IT87 chip (it8721 version), temp2 is substituted by in3 after each xfce4-panel restart and in3 is renamed as what I have for temp2 name (either named by me or by what sensors command outputs). in3 is also the first input at /sys/class/hwmon/hwmon? that has a *_label file. My IT87 chip has 15 different inputs. Tried xfce4-sensors-plugin versions 1.2.98 and 1.3.0 and ended up disabling all ACPI, because I don't have any sensors there. lm_sensors version is 3.4.0_p20180923. Hack to make it display the wanted sensors: At lm_sensors config (/etc/sensors.conf or /etc/sensors3.conf) in the relevant chip section add lines to ignore all inputs you don't need to see (run 'sensors -u' to get list of proper names for inputs). (And then restart lm_sensors service, 'xfce4-panel -r', and finally do your xfce4-sensors-plugin settings again.) E.g. I have after modifications in /etc/sensors3.conf: chip "it87-*" "it8712-*" "it8716-*" "it8718-*" "it8720-*" "it8721-*" label in3 "in3" label in7 "in7" label in8 "in8" label temp1 "CPU" label temp2 "Mobo" label fan1 "CPU Fan" label fan2 "CPU Opt" ignore in0 ignore in1 ignore in2 ignore in3 ignore in4 ignore in5 ignore in6 ignore in7 ignore in8 ignore temp3 ignore intrusion0
Thanx for investigating and providing hacks around. There were some problems with the sensors plugin and it Id and Address Entries in the config file as well. Would you mind trying out current Git version 1.3.90.git...? Will make a release soon, anyway.
Version 1.3.90 (from https://archive.xfce.org/src/panel-plugins/xfce4-sensors-plugin/1.3/ ) fixes the issue for me. No hacks needed anymore. Thank you.