Skip to content

Bug: CPU usage percentage between HA and Windows don't match #368

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

Open
2 of 4 tasks
SpartaTom opened this issue Nov 2, 2023 · 7 comments
Open
2 of 4 tasks

Bug: CPU usage percentage between HA and Windows don't match #368

SpartaTom opened this issue Nov 2, 2023 · 7 comments

Comments

@SpartaTom
Copy link


Describe the bug
The CPU usage percentage in Home Assistant doesn't match the CPU usage the windows taskmanager performance tab.
Home assistant gives me a value of 1-4%. Windows performance tells me it floats between 15-50%

To Reproduce

  1. I've add the 'cpuload' sensor with a refresh time of 5 seconds
  2. I've added a gauge card using the sensor now available in HA
  3. pressed CTRL+SHIFT+ESC and then went to the performance tab
  4. compare the numberic values.

Expected behavior
I would expect the values to match.
At least more closely due to the 5 second refresh time.

Screenshots
CPUscreenshot

Misc info (please complete the following information):

  • Windows build: Windows 11 (OS Build 22621.2428)
  • Windows' UI language: English
  • HASS.Agent version: 2022.14.0

Please check what's applicable (multiple answers possible):

  • Installed via installer
  • Installed manually
  • Problem occurs in HASS.Agent
  • Problem occurs in Satellite Service

Additional context
MQTT broker is the mosquitto broker.
Multiple other sensors do match.

@amadeo-alex
Copy link

Possible duplicate of LAB02-Research/HASS.Agent.Staging#16 as I cannot replicate this on build with LAB02-Research/HASS.Agent.Staging#16

@amadeo-alex
Copy link

If you can, please check the unofficial build release and try to replicate the issue https://github.com/amadeo-alex/HASS.Agent

@xStellarZ
Copy link

@SpartaTom @amadeo-alex were there any further findings on this? I have the exact same issue, as does a friend of mine.

@amadeo-alex
Copy link

Does it happen on the original or the fork (https://github.com/hass-agent)?

@xStellarZ
Copy link

Does it happen on the original or the fork (https://github.com/hass-agent)?

Happens on both

@jrsjax
Copy link

jrsjax commented Jun 5, 2024

I've recently installed hass.agent, and have the same issue. However, I had previously noticed that a HomeSeer script I have to monitor the same PC is showing the same values as I now see in hass.agent. Both hass.agent and the HS script show CPU usage values that are consistently about 1/6 of what Windows task manager shows. Coincidentally, it is a 6-core i7-8700 CPU. Related?

HASS.agent Sensor:
sensor

HomeSeer:
hscpu

Windows Task Manager:
taskmgr

@OGTK423
Copy link

OGTK423 commented Sep 18, 2024

I'm on the fork and I am seeing the same thing - HASS.Agent reporting CPU usage between 1-4% percent while Windows shows 20-25%.

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

5 participants