Closed manosioa closed 4 years ago
So I tried to add "apiHost": "us -api.coolkit.cc:8080", mentioned here And it work as it did for many people having this problem. You should add it to your readme file.
Hi @manosioa, I am aware of the recent eWeLink API changes on region selection, and a new version is already in the works, still figuring out how to properly sign the request.
oh ok great! if you need anything to test im avail
I've added code for resolving server region before performing login. Please update to the latest version (0.1.19) and refer to the README on how to add countryCode
to config for this new feature to work.
I have added contrycode, but it not works.
@Gio1978 saying "not work" didn't help. Please, at least post your homebridge logs.
[2019-12-21 23:10:28] [eWeLink] WebSocket messge received: {"error":400,"reason":"Bad Request","apikey":"0b6c1fa0-2446-4cd6-8291-3b29f2e1a919","sequence":"1576955428055","actionName":"userOnline"}
@Gio1978 As you can see, your log does not include the error message for this issue: "Bearer:accessToken is empty". The error you're experiencing is not related to this issue at all. You may want to look at issue 67 instead.
Hi, Since this morning i cannot control my sonoff devices.
I searched a bit and from the log i found the following
Any thoughts on that?
BR