Git Product home page Git Product logo

Comments (10)

JacVid avatar JacVid commented on August 31, 2024 1

Thanks a lot, now it works fine !

I'm very grateful !

from homebridge-ewelink.

howanghk avatar howanghk commented on August 31, 2024

Hi, it seems the plugin cannot authenticate with the phone number and password you provided. The phone number should be all digits without space and symbols. If you are sure you have input the correct phone number and it still not work for you, try setting apiHost to eu in your config:

"apiHost": "eu-api.coolkit.cc:8080"

from homebridge-ewelink.

JacVid avatar JacVid commented on August 31, 2024

Hello,

thanks for your help.

I tried without the "+" in the phone number and I add the URL you gave me, but it doesn't help...

Here are the logs...

[1/6/2019, 11:25:26 AM] [eWeLink] A total of [0] accessories were loaded from the local cache
[1/6/2019, 11:25:26 AM] [eWeLink] Sending login request with user credentials: {"phoneNumber":"33XXXXXXX","password":"XXXXXXXXXXXX","version":"6","ts":"1546768759","nonce":"154676875971700","appid":"XXXXXXXXXXXXXXXXXXXXXXXX","imei":"XXXXXXXXXXX","os":"iOS","model":"iPhone10,6","romVersion":"11.1.2","appVersion":"3.5.3"}
[1/6/2019, 11:25:26 AM] [eWeLink] Login signature: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
[1/6/2019, 11:25:27 AM] [eWeLink] Server did not response with an authentication token. Response was [{"error":400,"info":"msg is not complete"}]
[1/6/2019, 11:25:27 AM] [eWeLink] Requesting a list of devices from eWeLink HTTPS API at [https://eu-api.coolkit.cc:8080]
[1/6/2019, 11:25:27 AM] [eWeLink] An error was encountered while requesting a list of devices. Response was [{"error":401}]

from homebridge-ewelink.

howanghk avatar howanghk commented on August 31, 2024

Hi JacVid,

The + and country code is necessary.

In case the phone number in your country may or may not contains a "0" prefix, use it.
It seems the phone number in France should be 10 digit long, and the phone number provided in your log only contains 7 Xs. It should be +330xxxxxxxxx.

from homebridge-ewelink.

JacVid avatar JacVid commented on August 31, 2024

Thanks for your help.

with "+33XXXXXXXXX" or "0XXXXXXXXX" I have the same problem.

Regarding the URL:

https://eu-api.coolkit.cc:8080 or https://us-api.coolkit.cc:8080 doesn't change anything.

I'm so sad not be able to drive my device which works perfectly with the APP on the iphone and with Alexa...

from homebridge-ewelink.

howanghk avatar howanghk commented on August 31, 2024

Hi JacVid,

Please double check if you use phone number or email to login the ewelink app.

I did some google search and it seems only email login is supported in Europe version of the eWeLink app? However I am not an european citizen and I cannot confirm that.

from homebridge-ewelink.

JacVid avatar JacVid commented on August 31, 2024

Hello,

Yes, you are right, I logged in eWelink with my email. So do I need to change something in the config file ?

from homebridge-ewelink.

howanghk avatar howanghk commented on August 31, 2024

Hi JacVid,

If that is the case, please make sure no phoneNumber included in the config, only put your email there, like this:

        {
            "platform" : "eWeLink",
            "name" : "eWeLink",
            "email" : "[email protected]",
            "password" : "your-login-password",
            "imei" : "01234567-89AB-CDEF-0123-456789ABCDEF"
        }

from homebridge-ewelink.

JacVid avatar JacVid commented on August 31, 2024

Ok let me try :)

from homebridge-ewelink.

howanghk avatar howanghk commented on August 31, 2024

Good to know. Have fun with your new HomeKit integration!

from homebridge-ewelink.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.