ewelink-api icon indicating copy to clipboard operation
ewelink-api copied to clipboard

Slow response times, and setDevicePowerState not working

Open Westcott1 opened this issue 5 years ago • 0 comments

Hi,

Thanks for this Library! This is what I have found out about the title's topics.

There are several reports of 6 second response times. It seems to me to be the normal time for Node.js start-up and required module loading. Once that's done, switching is fast.

Regarding switching, my Sonoff S26 did not switch using the standard script. It is in LAN mode, and using the serverless mode it switches correctly (and immediately!).

Questions - How do you listen for device events? Are device connections persistent, so I only create once, and use to switch the device occasionally from other sources?

Thanks.

Westcott1 avatar Jan 14 '20 12:01 Westcott1