homebridge-ewelink icon indicating copy to clipboard operation
homebridge-ewelink copied to clipboard

HB - randomly No respone in homekit app

Open JacekKac opened this issue 1 year ago ā€¢ 20 comments

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

JacekKac avatar Apr 22 '23 14:04 JacekKac

Same here with Node 18.16

Themaster312 avatar Apr 23 '23 08:04 Themaster312

I have Downgrade Homebridge to 1.5.1 than its works

Themaster312 avatar Apr 23 '23 10:04 Themaster312

@Themaster312 issues also with ewlink plugin ?

JacekKac avatar Apr 23 '23 20:04 JacekKac

Yes

Themaster312 avatar Apr 23 '23 20:04 Themaster312

I have downgrade my Homebridge to 1.5.1 and it works

Themaster312 avatar Apr 23 '23 20:04 Themaster312

if someone gets it running with 1.6 write here then I can do the update again

Themaster312 avatar Apr 24 '23 16:04 Themaster312

i am running homebridge 1.6 with the plugin fine šŸ˜„

bwp91 avatar Apr 24 '23 19:04 bwp91

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

Themaster312 avatar Apr 24 '23 20:04 Themaster312

can you post your config? please hash out %%% any emails and passwords etc

bwp91 avatar Apr 24 '23 20:04 bwp91

{ "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" } ] }

Themaster312 avatar Apr 24 '23 20:04 Themaster312

oh so a pretty standard config šŸ§

bwp91 avatar Apr 24 '23 20:04 bwp91

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

Themaster312 avatar Apr 24 '23 20:04 Themaster312

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?

bwp91 avatar Apr 24 '23 20:04 bwp91

Ciao as advertiser

Themaster312 avatar Apr 24 '23 20:04 Themaster312

and after a restart all are without response, if I empty the cache then everything goes again for the time x

Themaster312 avatar Apr 24 '23 20:04 Themaster312

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

JacekKac avatar Apr 24 '23 20:04 JacekKac

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

bwp91 avatar Apr 27 '23 01:04 bwp91

As i said plugin is working in homebridge UI addon even if HomeKit shows No responding. In my case its not connected with configuration

JacekKac avatar Apr 27 '23 04:04 JacekKac

yeah alright iā€™m just trying to rule stuff out first

bwp91 avatar Apr 27 '23 04:04 bwp91

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)

monkeycatdog avatar Sep 11 '23 21:09 monkeycatdog