-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
[Bug] HA integration is not working with OMV 7 #149
Comments
Unable to connect with the HOST (OMV 7) from Home Assistant (2024.3.1). Upon "Submit", error message throws above the host input field "No response from host." Is it because OMV 7 is not fully supported yet? |
Just for reference: yesterday I did the upgrade from OMV 6 to OMV 7 and except the CPU load (which is known bug) everything works fine here. |
make sure you can access omv from your ha instance and that you are using build in admin account. |
that most likely means something is crashing before entities are updated. look into your ha log. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Hi Everyone, I just completed the Home assistant upgrade to 2024.4.1 and tried to re-add the OMV server.
|
Any info on how to fix it or what the issue is? |
No able to fix it. Still same issue |
@akyjoe Did you manage to fix your issue? I'm having the same problem... Update: Fixed it, was a network error. But I still have missing CPU Temp and CPU Usage stays at 0 :( |
@tomaae as I'm having the same issue I started to write my own script to make the rpc api calls. This is working fine, but one issue I do have is that I can't figure out how to keep a session alive. When executing the |
Yes, it managed to create the various entities in my HA v2024.6.2. But still no luck in updating sensor data. Here's the debug info from logger: `This error originated from a custom integration. Logger: custom_components.openmediavault.omv_api OpenMediaVault xx.xx.xx.xx unable to fetch data (500)` |
Yea, you need to save cookie after login in and and resend it every time. Also send in options {"updatelastaccess": True} when sending a query. Not sure what a connection timeout is tho. No documentation is really causing issues with OMV. For disappearing entities, just look into HA log. You will see where it fails. |
I have the same problem. Integration is connected with OMV without no problem. Log Detail: Registrador: custom_components.openmediavault.omv_api OpenMediaVault xx.xx.xx.xx unable to fetch data (500) I can use Glances docker but i prefer omv ha integration. We'll wait for a while... |
just installed this integration and I can confirm, that it does not work with omv7
|
can you post debugs? |
Attached the debug logs. |
~~ For those that run a HA installation that allows for the installation of add-ons: you can try the workaround omvConsumer script I made (because sadly still experiencing this issue with the integration) via my api consumer add-on. Upon installing the add-on a file called If all works well you will get a bunch of sensors starting with btw, I cannot provide support, I presume you're familiar with HA templating and some javascript ~~ UPDATE/EDIT Consult the OMV-extras manual section on creating a br0 bridge network |
meanwhile I managed to install it (did nothing differently than before) and works fine! only problem is that CPU load constantly shows 0%, although loadavarage1/5/15 attributes have their respective values |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Hi Everyone, My issue was resolved. I did reinstallation of OMV and it started working Thanks |
does the CPU load sensor work also? |
I'm running latest HA (2024.8.2) and OMV HACs verision 1.4.2. I can work around it by creating a template sensor to hide the unavailable ones, but would be far less work to see if this can be fixed ;) |
was this issue ever resolved? I still get the "no response from host" when trying to setup in HA |
Hello I cannot connect to OMV with HA Error Message: ome Assistant Core 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 also have the Error 500 issue. I have just installed OMV on one device (Raspberry Pi) and have HA running in a container on a second device (another Pi), on the same network. When configuring the plug-in, it won't accept the hostname of the Pi but is happy with the IP address. I assume that this means that it can communicate with the Pi. But all the entities are Unavailable. |
In the log, I can see that OMV is communicating with my server ok and retrieving some information. But it stops after a series of queries wih the last one being: |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
bump |
Any news about this issue? After all these events a few sensor should be updated:
In the end, only an infinite list of |
I had the same problem and the reason was me. I added a ssl certificate and enabled forcing ssl/tls. Setting up the HA addon with ssl but disabling certificate check (it's a self signed one) fixed it. The CPU load is still constantly 0% even though OMV shows usage |
Describe the issue
The OMV 7 version showing in all entries as unknown.
How to reproduce the issue
Expected behavior
The Entities should show the values like CPU usages, RAM usages.
Screenshots
Software versions
The text was updated successfully, but these errors were encountered: