bwp91 / homebridge-ewelink

Homebridge plugin to integrate eWeLink devices into HomeKit.
MIT License
384 stars 126 forks source link

Unable to Reach eWeLink #499

Closed stanzani-r closed 1 year ago

stanzani-r commented 1 year ago

What issue do you have? Please be as thorough and explicit as possible.

Stuck on getting error [eWeLink] Unable to reach eWeLink, retrying in 30 seconds [login() - ENOTFOUND].

Updated Node.js, still not working. Tried reinstalling plugin, and also going back to yesterday's backup (when it was all working) and still "unable to reach".

Details of your setup.

stanzani-r commented 1 year ago

Hey guys, I have changed to a LAN operation and it seems to have sorted out the problem, and lucky enough all of my switchers are LAN compatible. Apparently there are no downsides of using LAN only since my setup includes Apple TV as remote home access. Thanks!

bwp91 commented 1 year ago

Original error looks like a connection issue with the ewelink server, maybe it happened to be down at the time of your logs, or you have some firewall that was blocking it?

bwp91 commented 1 year ago

You are correct in that LAN mode is better if all your devices are compatible.

You can even remove your ewelink credentials from the config: https://github.com/bwp91/homebridge-ewelink/wiki/Connection-Methods#lan-mode-without-ewelink-credentials

stanzani-r commented 1 year ago

Absolutely. Actually I tried LAN mode on the plugin setup leaving my credentials and it kept returning "unable to reach" - maybe was still trying to reach ewelink servers. Then, after deleting my credentials from setup, it really started operating locally and worked normally. Thanks so much Ben!

bwp91 commented 1 year ago

Gonna close this as for you this issue is resolved.