I cannot get the intergration to configure. See my log attached. Any help would be gratefully appreciated.
@Tomaae , Would you have any suggestions?
2024-11-18 22:09:42.861 DEBUG (SyncWorker_42) [custom_components.openmediavault.omv_api] OpenMediaVault 192.168.7.94 connected
2024-11-18 22:09:42.862 DEBUG (SyncWorker_42) [custom_components.openmediavault.omv_api] OpenMediaVault 192.168.7.94 query: System, getInformation, {}, {'updatelastaccess': True}
2024-11-18 22:09:44.120 DEBUG (SyncWorker_42) [custom_components.openmediavault.omv_api] OpenMediaVault 192.168.7.94 query response: {'response': [{'name': 'Hostname', 'value': 'OMVNAS.local', 'type': 'string', 'index': 0}, {'name': 'Version', 'value': '4.1.23-1 (Arrakis)', 'type': 'string', 'index': 1}, {'name': 'Processor', 'value': 'n/a', 'type': 'string', 'index': 2}, {'name': 'Kernel', 'value': 'Linux 4.1.17', 'type': 'string', 'index': 3}, {'name': 'System time', 'value': 'Mon 18 Nov 2024 10:09:44 PM GMT', 'type': 'string', 'index': 4}, {'name': 'Uptime', 'value': '132 days 6 hours 35 minutes 21 seconds', 'type': 'string', 'index': 5}, {'name': 'Load average', 'value': '0.46, 0.32, 0.28', 'type': 'string', 'index': 6}, {'name': 'CPU usage', 'value': {'text': '2%', 'value': 2.2842639593909}, 'type': 'progress', 'index': 7}, {'name': 'Memory usage', 'value': {'text': '15% of 730.10 MiB', 'value': 15}, 'type': 'progress', 'index': 8}], 'error': None}
2024-11-18 22:09:44.121 DEBUG (SyncWorker_42) [custom_components.openmediavault.apiparser] Processing source [{'name': 'Hostname', 'value': 'OMVNAS.local', 'type': 'string', 'index': 0}, {'name': 'Version', 'value': '4.1.23-1 (Arrakis)', 'type': 'string', 'index': 1}, {'name': 'Processor', 'value': 'n/a', 'type': 'string', 'index': 2}, {'name': 'Kernel', 'value': 'Linux 4.1.17', 'type': 'string', 'index': 3}, {'name': 'System time', 'value': 'Mon 18 Nov 2024 10:09:44 PM GMT', 'type': 'string', 'index': 4}, {'name': 'Uptime', 'value': '132 days 6 hours 35 minutes 21 seconds', 'type': 'string', 'index': 5}, {'name': 'Load average', 'value': '0.46, 0.32, 0.28', 'type': 'string', 'index': 6}, {'name': 'CPU usage', 'value': {'text': '2%', 'value': 2.2842639593909}, 'type': 'progress', 'index': 7}, {'name': 'Memory usage', 'value': {'text': '15% of 730.10 MiB', 'value': 15}, 'type': 'progress', 'index': 8}]
2024-11-18 22:09:44.121 DEBUG (SyncWorker_42) [custom_components.openmediavault.apiparser] Processing entry {'name': 'Hostname', 'value': 'OMVNAS.local', 'type': 'string', 'index': 0}
2024-11-18 22:09:44.121 DEBUG (SyncWorker_42) [custom_components.openmediavault.apiparser] Processing entry {'name': 'Version', 'value': '4.1.23-1 (Arrakis)', 'type': 'string', 'index': 1}
2024-11-18 22:09:44.121 DEBUG (SyncWorker_42) [custom_components.openmediavault.apiparser] Processing entry {'name': 'Processor', 'value': 'n/a', 'type': 'string', 'index': 2}
2024-11-18 22:09:44.121 DEBUG (SyncWorker_42) [custom_components.openmediavault.apiparser] Processing entry {'name': 'Kernel', 'value': 'Linux 4.1.17', 'type': 'string', 'index': 3}
2024-11-18 22:09:44.121 DEBUG (SyncWorker_42) [custom_components.openmediavault.apiparser] Processing entry {'name': 'System time', 'value': 'Mon 18 Nov 2024 10:09:44 PM GMT', 'type': 'string', 'index': 4}
2024-11-18 22:09:44.121 DEBUG (SyncWorker_42) [custom_components.openmediavault.apiparser] Processing entry {'name': 'Uptime', 'value': '132 days 6 hours 35 minutes 21 seconds', 'type': 'string', 'index': 5}
2024-11-18 22:09:44.121 DEBUG (SyncWorker_42) [custom_components.openmediavault.apiparser] Processing entry {'name': 'Load average', 'value': '0.46, 0.32, 0.28', 'type': 'string', 'index': 6}
2024-11-18 22:09:44.121 DEBUG (SyncWorker_42) [custom_components.openmediavault.apiparser] Processing entry {'name': 'CPU usage', 'value': {'text': '2%', 'value': 2.2842639593909}, 'type': 'progress', 'index': 7}
2024-11-18 22:09:44.121 DEBUG (SyncWorker_42) [custom_components.openmediavault.apiparser] Processing entry {'name': 'Memory usage', 'value': {'text': '15% of 730.10 MiB', 'value': 15}, 'type': 'progress', 'index': 8}
2024-11-18 22:09:44.122 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry OMV for openmediavault
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 635, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/openmediavault/__init__.py", line 34, in async_setup_entry
await controller.async_hwinfo_update()
File "/config/custom_components/openmediavault/omv_controller.py", line 150, in async_hwinfo_update
await self.hass.async_add_executor_job(self.get_hwinfo)
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/openmediavault/omv_controller.py", line 244, in get_hwinfo
if int(self.data["hwinfo"]["version"].split(".")[0]) > 5:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: 'unknown'
![{A32032C7-5925-4A55-9563-8618698CD9A8}|652x181]
(upload://799wZmny2wAWmsdwBeXt3UQmNHt.png)