Martin M.

Results 37 comments of Martin M.

Thanks @ianhampton and @ttz642 I think `setWSDevicePowerState` is slower than `setDevicePowerState`, but resolves many problems for lot of people, so they will live together. Will add the necessary docs then...

@ttz642 yes, it's called `getWSDevicePowerState` you can test on the same branch, docs are still missing, but this is an example: ``` const response = await connection.getWSDevicePowerState(deviceId, { // channel:...

Release 4.0.0 it's under development: https://github.com/skydiver/ewelink-api/pull/113 Will use API v2.0

sadly i don't have a non sonoff device to test you can take a look if this issue helps: https://github.com/skydiver/ewelink-api/issues/88#issuecomment-643574472 if not, hopefully someone can help 🤞

Thank you @bwp91 Definitely i will take a look I was using this one https://coolkit-technologies.github.io/apiDocs/#/en/PlatformOverview but didn't know there is a version 2

Hey @bwp91, of course, help is always welcome

Hello @robert777robert777 I'm able to get device information, here is my code: ``` const connection = new ewelink({ email: 'email', password: 'password', }); await connection.getCredentials(); const socket = await connection.openWebSocket(async...

My device is on version 3.3.1 Will try to update to 3.4.0 and test again ...

Hey @robert777robert777 I've upgraded my POW2 to version 3.4.0 and was my previous code still works.

Hello @Thibaut21 Version 3.1 was released this week. Can you try updating the package and see if it fixes your issues?