Closed mattyteds closed 4 years ago
I got it working. I disabled some custom integration, and disabled my guest network (I recently enabled this and I'm just ruling stuff out, nothing is connected to the guest network). After it started working I enabled my custom integrations again and it's still working. So it was either power cycling my router (Google Nest Wifi) or disabling my guest network. I'll leave the guest network disabled for now and see what happens. My TP-Link switches did not return but that's unrelated to this.
So, if I reboot the system Home Assistant is running on, Broadlink brakes, if I do a restart within home assistant after the reboot it fixes it.
I enabled debug logging but there's barely anything logged:
2020-05-06 22:16:48 DEBUG (SyncWorker_1) [homeassistant.components.broadlink.switch] _retry_times : 5
2020-05-06 22:16:48 DEBUG (SyncWorker_1) [homeassistant.components.broadlink.switch] _retry_times : 5
2020-05-06 22:17:03 ERROR (SyncWorker_1) [homeassistant.components.broadlink.switch] Failed to connect to device
I rebooted the system which broke Broadlink I turned on logging (where the retries occur) I did a reboot of the system which triggered the "Failed to connect" After the error I restarted home assistant (which resolved the issue) and nothing was logged.
broadlink documentation broadlink source (message by IssueLinks)
Hey there @danielhiversen, @felipediel, mind taking a look at this issue as its been labeled with a integration (broadlink
) you are listed as a codeowner for? Thanks!
(message by CodeOwnersMention)
@tedrock It looks like a problem with your connection and not with the Broadlink integration itself. Just to be sure, let's see if these instructions work for you.
This appears to have resolved the problem. I agree it looked like a connection problem. But I could consistently reproduce it with a reboot of the system and fix it with a restart of the container. I'm unsure if those instructions fixed it or whatever connection issue that was occuring while doing a system reboot resolved itself.
This new version is more reliable when a connection problem occurs. Good to know that your problem is solved. Thanks for the feedback!
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The problem
I donno what's going on but I'm having a lot of issues with 0.109. First it was affecting my TP-Link devices https://github.com/home-assistant/core/issues/35137 and now my broadlink device has stopped working. I can open the IHC app and control the device from there.
Environment
Problem-relevant
configuration.yaml
Traceback/Error logs
Additional information
I tried the fix here https://github.com/home-assistant/core/issues/34918#issuecomment-623233471 though it made no change.