Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

error 400 badRequest apikey #126

Open
barathravichander opened this issue Oct 14, 2021 · 0 comments
Open

error 400 badRequest apikey #126

barathravichander opened this issue Oct 14, 2021 · 0 comments

Comments

@barathravichander
Copy link

I am able to list the devices in the apple home app, but when i try to turn off or on getting below error
Below is the error log and below that is the config.json

[10/14/2021, 3:40:45 PM] [eWeLink] Sending login request [{"action":"userOnline","userAgent":"app","version":6,"nonce":"163420624598000","apkVesrion":"1.8","os":"ios","at":"d3bfb86c582c2699885094418732646cafcebc0f","apikey":"813b8b6f-e663-4aac-98d4-e472dc2f2d55","ts":"1634206245","model":"iPhone10,6","romVersion":"11.1.2","sequence":1634206245980}]
[10/14/2021, 3:40:46 PM] [eWeLink] WebSocket messge received: {"error":400,"reason":"Bad Request","apikey":"813b8b6f-e663-4aac-98d4-e472dc2f2d55","sequence":"1634206245980","actionName":"userOnline"}
[10/14/2021, 3:43:25 PM] [eWeLink] WebSocket was closed. Reason [1006]
WebSocketClient: reconnecting...
[10/14/2021, 3:43:30 PM] [eWeLink] Sending login request [{"action":"userOnline","userAgent":"app","version":6,"nonce":"163420641073600","apkVesrion":"1.8","os":"ios","at":"d3bfb86c582c2699885094418732646cafcebc0f","apikey":"813b8b6f-e663-4aac-98d4-e472dc2f2d55","ts":"1634206410","model":"iPhone10,6","romVersion":"11.1.2","sequence":1634206410737}]
[10/14/2021, 3:43:30 PM] [eWeLink] WebSocket messge received: {"error":400,"reason":"Bad Request","apikey":"813b8b6f-e663-4aac-98d4-e472dc2f2d55","sequence":"1634206410737","actionName":"userOnline"}
[10/14/2021, 3:46:11 PM] [eWeLink] WebSocket was closed. Reason [1006]
WebSocketClient: reconnecting...
[10/14/2021, 3:46:16 PM] [eWeLink] Sending login request [{"action":"userOnline","userAgent":"app","version":6,"nonce":"163420657647100","apkVesrion":"1.8","os":"ios","at":"d3bfb86c582c2699885094418732646cafcebc0f","apikey":"813b8b6f-e663-4aac-98d4-e472dc2f2d55","ts":"1634206576","model":"iPhone10,6","romVersion":"11.1.2","sequence":1634206576471}]
[10/14/2021, 3:46:16 PM] [eWeLink] WebSocket messge received: {"error":400,"reason":"Bad Request","apikey":"813b8b6f-e663-4aac-98d4-e472dc2f2d55","sequence":"1634206576471","actionName":"userOnline"}

{
    "platform": "eWeLink",
    "name": "eWeLink",
    "countryCode": "91",
    "email": "xxxx@xx.com",
    "password": "xxxxx",
    "imei": "916D1FE7-497B-448C-911D-501005F70537",
    "_bridge": {
        "username": "0E:CB:39:1F:6D:60",
        "port": 54824
    }
}
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant