Skip to content
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

Switches stop responding from home assistant after a couple of hours #59

Closed
panagiotis55 opened this issue Dec 22, 2021 · 5 comments
Closed

Comments

@panagiotis55
Copy link

The switches stop responding from home assistant after a couple of hours. Also automations stop working too and the core logs give me these errors:
WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities switch.a4800210d1
even when the switches still work.
I'm on 1.2.3
The problem is only temporarily resolved after a host reboot.

@drusha
Copy link

drusha commented Jan 8, 2022

I confirm this behavior on eWeLink addon version 1.2.3 and Home Assistant OS version 2021.12.8. Cloud only, no LAN mode.

My temporary sort-of-workaround was to create a badge that links to a script that restarts eWeLink Smart Home addon. Unfortunately, I don't know how to automate detection of the addon crash and I run the script manually every time when eWeLink devices become unresponsive.

@drusha
Copy link

drusha commented Jan 17, 2022

After recent EWeLink EU server outage couple of days ago the problem seems to be resolved. Apparently it was an overloaded cloud. But still, the add-on should probably handle server outages a little better.

@TamasHodi
Copy link

I think it is not related to the outage because this issue keeps happening a long time (3 months at least) ago and still persists (appeared again yesterday and got broken within 12 hours).

The mobile app (eWeLink) shows the proper sensor states while the HA add-on keeps running without receiving any events or updates.
The state can be forced to be synced by pushing sync button within the web interface but that's a one-time solution only, I have to restart the whole add-on in order to fix it as #59 (comment) mentioned.

I could find no traces within the logs which could explain the broken state sync and I have no clue how to reproduce the bug.

My current setup:

  • HA OS @ 7.1
  • HA-addon @ 1.2.3
  • SONOFF ZBBridge 3.0 @ 1.4.1

I'm considering leaving the platform because of this instability by swapping out the bee hub to have something working via LAN.
Any suggestions are welcome!

@panagiotis55
Copy link
Author

I get the exact same behavior on my Home Assistant. My solution was to install AlexxIT's Sonoff Lan integration through HACS, and while my zigbee bridge is only functional through the cloud it still works flawlessly even when the ewelink integration has already stopped working for whatever reason. The only reason as to why I have kept both integrations, at least for the time being, is because sonoff lan doesn't give the battery level info of connected devices, so if I want to check those from home assistant I just go and manually sync the ewelink integration.

@niezw
Copy link
Collaborator

niezw commented Sep 21, 2022

Please use the latest version, we have made some updates

If you still have this problem, please reopen the issue.
If there are other problems, please create a new issue.

@niezw niezw closed this as completed Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants