OpenMediaVault integration

Hi,

yes, the IP is correct. But it cannot be reached via ping.
A ping and the setup via port forwarding and dyndns works.
It is probably due to the VM of OMV-KVM, since HASS uses
the network interface of OMV.
IP OMV 192.168.33.3
IP HASS 192.168.33.99
I’ll test it out.

Thanks, I hadn’t thought of a ping.

CU Jo

Hi

I’ve just installed this integration for my new OMV 6.9.11 (Sheitan) and it’s working fine… except:

  • CPU Load is always = 0
  • CPU Temp is not “available”

Happy New Year!

Hello, I just installed this fantastic hacs, works great, I want a separate user makane for home assistant, who knows what the minimum user rights are?

You have to use build in admin account. This is OMV API limitation.

1 Like

oke, thanks

Same here with OMV7. :frowning:

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.

1 Like

Does this workaround solve the problem of the CPU Load = 0? :frowning:

That’s, what I said. Yes.

Thanks … but I have changed cpuUsage with cpuUtilization in my omv_controller.py, sensor_types.py files, saved & restarted HA… but CPU LOAD remains 0 :frowning:

Not here, it works fine… Sorry

Hello

I cannot connect to OMV with HA

Error Message:

ome Assistant Core

2024-08-24 10:27:29.348 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry OMV for openmediavault

File “/config/custom_components/openmediavault/omv_controller.py”, line 150, in async_hwinfo_update

File “/config/custom_components/openmediavault/omv_controller.py”, line 244, in get_hwinfo

2024-08-24 11:21:53.275 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry OMV for openmediavault

File “/config/custom_components/openmediavault/omv_controller.py”, line 150, in async_hwinfo_update

File “/config/custom_components/openmediavault/omv_controller.py”, line 244, in get_hwinfo

2024-08-24 11:22:03.695 DEBUG (SyncWorker_10) [custom_components.openmediavault.omv_api] OpenMediaVault 192.168.1.10 connected

2024-08-24 11:22:03.704 DEBUG (SyncWorker_10) [custom_components.openmediavault.omv_api] OpenMediaVault 192.168.1.10 query: System, getInformation, {}, {‘updatelastaccess’: True}

2024-08-24 11:22:03.787 DEBUG (SyncWorker_10) [custom_components.openmediavault.omv_api] OpenMediaVault 192.168.1.10 query response: {‘response’: {‘ts’: 1705660847, ‘time’: ‘Fri Jan 19 10:40:47 2024’, ‘hostname’: ‘cameraopslag’}, ‘error’: None}

2024-08-24 11:22:03.788 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry OMV for openmediavault

File “/config/custom_components/openmediavault/omv_controller.py”, line 150, in async_hwinfo_update

File “/config/custom_components/openmediavault/omv_controller.py”, line 244, in get_hwinfo

I seem to connect but the integration show the below error