homebridge-ewelink
homebridge-ewelink copied to clipboard
HB - randomly No respone in homekit app
HB running with few plugins one of them is homebridge-ewelink v10.4.0. Few sonoff devices linked, everythink is running OK but randomly homekit app gives no responding for this accessories - in the same time they are working in web panel of homebride and i can use them. After restarting homebridge devices are once again responding and working ok also in homekit app.
Any ideas how to debug/fix this ?
p.s. at the same time other plugins are working fine in home app
Logs:
nothing special in the logs sonoff devices are up and running (reporting)
config: { "name": "eWeLink", "username": "...", "password": "...", "mode": "auto", "debug": false, "language": "en", "ignoredHomes": "6208df3c1882c9000992d8fb", "platform": "eWeLink" },
Environment OS: PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
Software: [v1.6.0]
Node:v14.21.3
npm: 6.14.18
Process Supervisor systemd
Same here with Node 18.16
I have Downgrade Homebridge to 1.5.1 than its works
@Themaster312 issues also with ewlink plugin ?
Yes
I have downgrade my Homebridge to 1.5.1 and it works
if someone gets it running with 1.6 write here then I can do the update again
i am running homebridge 1.6 with the plugin fine š
I'm running 1.6 for 2 hours or until a restart and 1.5.1 has been running for 2 days now
I just don't know why it's like that for me, there are no errors, nothing
can you post your config? please hash out %%% any emails and passwords etc
{ "bridge": { "name": "Homebridge D734", "username": "0E:11:F7:75:D4:ED", "port": 51792, "pin": "435-22-266", "advertiser": "ciao" }, "accessories": [], "platforms": [ { "name": "Config", "port": 8681, "auth": "form", "theme": "auto", "tempUnits": "c", "lang": "auto", "platform": "config" }, { "name": "eWeLink", "username": "ā¦.", "password": āā¦ā¦", "mode": "auto", "debug": false, "language": "en", "platform": "eWeLink" } ] }
oh so a pretty standard config š§
Yes and 39 devices are also loaded and either run for 2 hours or after a restart there is no response ,in Homebridge ist works but everything just doesn't work in the HomeKit app After Thies Time of a restart
the issue could be down to many reasons so what i suggest may work for one but not another. (disclosure!)
if you go to the homebridge settings what do you have as the mDNS advertiser?
Ciao as advertiser
and after a restart all are without response, if I empty the cache then everything goes again for the time x
i am using avahi, it could be connected to 1.6 code because i used < 1.6 it earlier without problems, not sure the exact dates of upgrade/problems but could be worth of checking
just wanted to initially check that you are using a different ewelink account credentials in the plugin compared to the ewelink app?
if you use the same in both places then stuff is gonna go wrong
As i said plugin is working in homebridge UI addon even if HomeKit shows No responding. In my case its not connected with configuration
yeah alright iām just trying to rule stuff out first
Have something similar, Time to time success but there is an error in the logs
[9/12/2023, 12:07:58 AM] [eWeLink] [Kitchen lighting ] device update failed as request timeout [504] at default.sendUpdate (file:///usr/local/lib/node_modules/homebridge-ewelink/lib/connection/ws.js:334:19) at default.sendUpdate (file:///usr/local/lib/node_modules/homebridge-ewelink/lib/connection/ws.js:341:15)