skydiver / ewelink-api

eWeLink API for JavaScript
https://www.npmjs.com/package/ewelink-api
MIT License
267 stars 108 forks source link

Websocket connection and set power devices #117

Open apadilla83 opened 3 years ago

apadilla83 commented 3 years ago

Hi, Im working with this api over severals months. Api version 2.0.1. I updated to latest 3.1.1 version because the old api stop working well. I have a websocket connection via api key and token. When I connect for example to check status device o power on. The websocket connection stop working or the setpower device give me a authentication error. There are any way to have the websocket connection always connected and check status devices, power on etc in other service? Thanks!

ttz642 commented 3 years ago

Hi, Im working with this api over severals months. Api version 2.0.1. I updated to latest 3.1.1 version because the old api stop working well. I have a websocket connection via api key and token. When I connect for example to check status device o power on. The websocket connection stop working or the setpower device give me a authentication error. There are any way to have the websocket connection always connected and check status devices, power on etc in other service? Thanks!

Take a look at issue #124