-
-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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
Glances V4 Support #117360
Comments
Hey there @engrbm87, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) glances documentation |
Same here, my glances version is the following:
Proxmox version where I run glances:
HA version where I would add glances as a new integration:
|
From errorlog: Error setting up entry UNRAID for glances: Could not connect to Glances API version 2 or 3 |
Seems like their Versioning is always breaking-changing 👎 |
I was able to solve it to revert back the earlier version like this:
Of course, it not solve the v4 API related issue. In the Glances HA integration the new v4 API support should be implemented... |
A quick workaround until the HomeAssistant plugin has support is to change the repository line in Unraid to: |
same here glances -VGlances version: 4.0.2 |
I have same problem. Looks like V4 API is not supported by the integration atm.
|
I certainly hope that the integration can be updated to support Glances v4 API! |
Same issue , integration need updated API paths |
Might be an straight forward fix. This line needs an 4 added to the loop.
|
Thanks for posting this workaround. So put an eye here and hoping the plugin will support v4 soon.. |
There's also a breaking change on network sensors, I've submitted a PR here : |
Having the same issue here, integration needs updating to accept the new v4. Please notify when this issue is resolved so I can reinstall the integration. Thanks for all your hard work. |
Same issue here, can't add Glances hosts to HA if they're running Glances 4.x. |
Can't find information on what is the planned release date, seems it didn't get into 2024.5.5 release, did it? |
I think it will be released in the next major, so 2024.6 (beginning of June) |
As a side note there is an issue on CPU temperature sensor on Glances versions 4.0.4 to 4.0.6, so you'll want to upgrade to 4.0.7 if you use this sensor |
Cool, thanks for info! |
when will this awesome upgrade merged into homeassistant core? |
|
Correct :) |
The problem
My Unraid Glances docker had updated to v4.0.1 using nicolargo/glances:latest.
After update all sensors from unraid went unavailable and intregration in HA failed.
Reverted back to V3.4.0.5 and all was ok again.
Do i need to reconfig something or is the HA side of it in need of update if so is there any support coming for v4?
What version of Home Assistant Core has the issue?
2024.5.3
What was the last working version of Home Assistant Core?
N/A
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Glances
Link to integration documentation on our website
https://www.home-assistant.io/integrations/glances/
Diagnostics information
2024-05-13 14:06:04.148 DEBUG (MainThread) [homeassistant.components.glances] Failed to connect to Glances API v3: endpoint: 'all' is not valid
2024-05-13 14:06:04.148 WARNING (MainThread) [glances_api] Glances api older than v3 will not be supported in the next release.
2024-05-13 14:06:04.153 DEBUG (MainThread) [homeassistant.components.glances] Failed to connect to Glances API v2: endpoint: 'all' is not valid
2024-05-13 14:06:04.153 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry UNRAID for glances: Could not connect to Glances API version 2 or 3
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/glances/init.py", line 47, in async_setup_entry
api = await get_api(hass, dict(config_entry.data))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/glances/init.py", line 103, in get_api
raise ServerVersionMismatch("Could not connect to Glances API version 2 or 3")
homeassistant.components.glances.ServerVersionMismatch: Could not connect to Glances API version 2 or 3
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 575, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/glances/init.py", line 53, in async_setup_entry
raise ConfigEntryError(err) from err
homeassistant.exceptions.ConfigEntryError: Could not connect to Glances API version 2 or 3
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: