tomaae / homeassistant-openmediavault

OpenMediaVault integration for Home Assistant
Apache License 2.0
111 stars 16 forks source link

[Bug] OMV 6.7 has modified the cpu load, which cannot be displayed now #133

Open SeanChengN opened 1 year ago

SeanChengN commented 1 year ago

Describe the issue

OMV 6.7 has modified the cpu load, which cannot be displayed now

How to reproduce the issue

Update to 6.7

Expected behavior

Screenshots

chrome_QzBAIjDQr1 chrome_DPgWCmbQ2S

Software versions

Diagnostics data

Traceback/Error logs

Additional context

BebeMischa commented 1 year ago

@tomaae , if you need my help testing again, I'm standby ;-)

tomaae commented 1 year ago

Do we have any PR/documentation to this? Its not necessary, but it would help.

SeanChengN commented 1 year ago

Do we have any PR/documentation to this? Its not necessary, but it would help.

https://github.com/openmediavault/openmediavault/commit/cf66f4c8bd44bb3bbd72cac361632135e338ba70 https://github.com/openmediavault/openmediavault/commit/a7adcc21330b6a8b976354238bfba86a2491d20b Maybe this.

tomaae commented 1 year ago

perfect, thanks

SeanChengN commented 10 months ago

@tomaae Any Progress?

pistunut commented 9 months ago

I have Home Assistant in Docker and I just updated OMV to version 7. A workaround is to open the folder: your_homeassistant_folder\custom_components\openmediavault With the help of Visual Studio Code or similar, search through all the files (although there are really 2 [omv_controller.py, sensor_types.py]): cpuUsage And replace with: cpuUtilization Save and restart Home Assistant.

SeanChengN commented 9 months ago

I have Home Assistant in Docker and I just updated OMV to version 7. A workaround is to open the folder: your_homeassistant_folder\custom_components\openmediavault With the help of Visual Studio Code or similar, search through all the files (although there are really 2 [omv_controller.py, sensor_types.py]): cpuUsage And replace with: cpuUtilization Save and restart Home Assistant.

Thanks so mush! This solved the issue. I will create a PR using your method.

xxLeoxx93 commented 6 months ago

I have Home Assistant in Docker and I just updated OMV to version 7. A workaround is to open the folder: your_homeassistant_folder\custom_components\openmediavault With the help of Visual Studio Code or similar, search through all the files (although there are really 2 [omv_controller.py, sensor_types.py]): cpuUsage And replace with: cpuUtilization Save and restart Home Assistant.

Do you know if something similar would work for CPU Temerature?