Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WayBar CPU temp not updating #17

Open
S-Pika opened this issue May 7, 2023 · 2 comments
Open

WayBar CPU temp not updating #17

S-Pika opened this issue May 7, 2023 · 2 comments

Comments

@S-Pika
Copy link

S-Pika commented May 7, 2023

After a recent system update (im not sure when) the CPU temp display in the waybar is not updating it is stuck at 20C but in BTOP the temp is properly updating. I took a look at the waybar config and the variables have not been changed from default. I am wondering if anyone else has this issue/ where are the "temperatureF" and "temperatureC" variables in the waybar config.jsonc being defined.

@S-Pika
Copy link
Author

S-Pika commented May 7, 2023

If the temperature is being pulled from BTOP i just went through the BTOP CPU temp sensors and found that thermal1/acpitz is only reciving 20C and acpitz/temp2 is also only reciving 20C. Could the waybar temp display be trying to pull the temp from these two sensors? Other sensors are varying around 30C

@thanhquang1988
Copy link

You can find correct hwmon file by using following command
bat /sys/class/hwmon/hwmon*/name

In my case it showing

      File: /sys/class/hwmon/hwmon3/name
      k10temp

Then edit "temperature" config in ~/.config/waybar/config.jsonc
replace "thermal-zone" line with "hwmon-path": "/sys/class/hwmon/hwmon3/temp1_input"

restart waybar (pkill waybar && waybar & 2>&1 > /dev/null)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants