-
Notifications
You must be signed in to change notification settings - Fork 38
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
Node is not rediscovered once it was offline #93
Comments
It's a bug but it has a workaround not a nice one but it works :D I have a script called Reload proxmoxve:
It calls rest_command that reload integration 😅 only when server is reachable over network and it does so every minute, you could preserve state somewhere to crate a simple State Machine and avoid repeated reloads but that's up to you. :) |
same issue here @VeeeneX could you share full example? where is the service 'rest_command.reload_proxmoxve' defined? UPD: found a good way to reload integration:
where the config_id can be found via url (click on ProxmoxVE integration in integration/devices: config/integrations/integration/proxmoxve#config_entry=<config_id> |
Sure, this is my setup. But I like yours more 😄
|
sorry for that question but I can't find the <config_id>. Can you explain me where I can find it? |
@porklander already explained at the end of my comment, where are you stuck? |
Ich hoffe es ist im wenn ich auf deutsch weiterschreibe.
Wenn ich die du schreibst auf ProxmoxVE integration in integration/devices gehe habe finde ich die config_id in der URL nicht.
Irgendwas übersehe ich vermutlich.
Sorry für die blöde Nachfrage.
Danke
Am 18. Juli 2023 10:57:40 MESZ schrieb Nikolai Raitsev ***@***.***>:
…
@porklander already explained at the end of my comment, where are you stuck?
--
Reply to this email directly or view it on GitHub:
#93 (comment)
You are receiving this because you were mentioned.
Message ID: ***@***.***>
|
Danke, mich hat das dashboard?historyBack=1 davor irritiert.
Danke für deine Hilfe.
Am 18. Juli 2023 11:30:22 MESZ schrieb Nikolai Raitsev ***@***.***>:
…hi, click auf Dienste unter "Intergrationseinträge" um auf der Hauptseite der Integration zu landen
<img width="720" alt="Bildschirmfoto 2023-07-18 um 11 26 50" src="https://github.com/dougiteixeira/proxmoxve/assets/2104820/9fa234ff-4bfd-45ac-8dbc-3cc97e4efd41">
<img width="798" alt="Bildschirmfoto 2023-07-18 um 11 27 26" src="https://github.com/dougiteixeira/proxmoxve/assets/2104820/2ed2c8de-4a33-4104-a9b9-a46603ef34ef">
--
Reply to this email directly or view it on GitHub:
#93 (comment)
You are receiving this because you were mentioned.
Message ID: ***@***.***>
|
Kein Problem, viel Erfolg damit! |
As much as I like German 😅, for English speaking friends: Each integration has it's own id expressed as config_id. Thanks for pictures though! |
I created a blueprint to work around this situation... But it involves creating a sensor with Ping integration. Since I only have one Proxmox host, I can't fully test it... Follow the link, please, who can test it and give some feedback on its operation or bugs I appreciate it. After getting some feedback here I include it in the integration documentation. |
Hi, Thanks for that |
I do have the same problem since a few days that some nodes are still not there after I turned them on. What I found is the following error in the log maybe it has something to do with it:
|
This comment was marked as off-topic.
This comment was marked as off-topic.
Can anyone confirm if this behavior still occurs in the latest version of the integration? |
Unfortunately for me it does not work 100% HA: 2024.1.2
So it seems that if the node was not running before the HA reboot, then starting the node afterwards does not work. Everything else did work as expected. Will try the HA reboot node shutdown part again. Edit: Can confirm, if a HA reboot is in between turning on a node the data is not refreshed for it. |
This still appears to be the case as of today, v3.4.4, using HomeAssistant 2024.10.4 |
I'm running version 2.0.0 of the plugin with Home Assistant 2023.6.0 (but the issue was already present with some of the previous versions of it) and it seems like the fix introduced with #42 does no longer work (at least for me). Maybe something was changed with the refactoring that went into the multi nodes setup in 2.0.0?
I have only one node configured that is not online all the time. When I reconfigure the integration it works like a charm. But once the node was offline and it comes back, all sensors show "unavailable" as if it was not there. Basically the same as when it was offline. I waited for at least half an hour but without any luck.
Would be nice if the integration could automatically detect that the node is back. Optimally, with a configurable retry interval.
The text was updated successfully, but these errors were encountered: