kukkjanos / ewelink

EWeLink Smart Home API Methods
27 stars 12 forks source link

adding appid #6

Open marcelog opened 4 years ago

marcelog commented 4 years ago

Hello,

As #5 states, there's a change in the api. It seems adding appid here "solves" the issue. Haven't dived into the exact cause, tbh, but adding this parameter as stated in the link posted in #5 seems to work.

Best,

Niek commented 3 years ago

Still getting the same error on getDevice(), getDevices() is working:


Array
(
    [code] => 400
    [error] => params is incomplete
)```

Other calls like `toggleDevice()` seems to be broken too.
Niek commented 3 years ago

Looking at https://github.com/skydiver/ewelink-api the API calls need to be changed to version 8.