-
Notifications
You must be signed in to change notification settings - Fork 503
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
Devices unavailable after reboot VM #2918
Comments
Everything here shouts HA issue, as you mention yourself: Starting later than HA makes it work properly. I think this is not something we can fix over here. |
@HammerNL89 Thanks for all the provided details and great that you observed what's making the difference here. What's really interesting is the fact that some safeguard for starting deconz too early has been implemented if I recall correctly. However, since you're working with a VM, the stick might not be ready yet or maybe HA is overwriting those safeguards somehow. I guess it could be valuable what's really happening when deconz is on autostart. Is deconz started through HA or seperately by systemd in your case. Would love to see a debug output with |
Unfortunately it hasn’t. See #2482 |
|
@SwoopX Okay, so I restarted the VM --> Zigbee devices unavailable: Log file with --dbg-info=2: If you need more information, let me know. |
Thanks. Now, from what I see in the screenshot and in the debug log, deconz is doing just fine. The lights should be controllable by using deconz REST API only. From my perspective, that's an issue on HA end. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This is basically a copy paste of my issue posted in this issue, but it was requested to create a separate one:
Since a couple of months my Zigbee entities would become unavailable, I was able to fix the problem by just restarting Home assistant (NOT the VM). First I thought it was just a one time issue, but then the next week, the same day, my entities were unavailable. Then I realized, that I have fixed VM backup schedule running that's shutdowns my HA VM overnight, takes a backup and restarts the VM.
So then I found the issue, started googling and found other people having the same issue:
Zigbee entities not available after a reboot. (in my case, the VM)
The strange thing is however that everything 'seems' to be operating normally, with that I mean:
I can't find any errors in the deconz log
Gateway Status is connected
With the VNC viewer the network seems fine?
Just by restarting HA (NOT) the VM the problem is fixed, but that's not a solution for the long term.
Let me state that i'm not an expert, so if others could point me in the right direction where to look for errors that DO state there is a problem, please let me know. The only thing I have now is, entities shown as unavailable with a system that seems fine on first sight...
Info:
Hardware running the ConbeeII: Custom NAS (UnRaid) running Hassio in a VM
Connected to USB3: No, USB 2.0 with extension cable
deconz version: e.g. 2.05.75
Firmware version: e.g. 26580700
I did some more testing and found the following:
If I turn off auto start of Deconz and reboot the VM and then manually start Deconz afterwards, there is no problem: entities are available.
So with this knowledge, how do I investigate this further? Is it a HA issue?
For the meantime I created an automation that starts the Deconz addon with a one minute delay, after HA startup.
The text was updated successfully, but these errors were encountered: