skydiver / ewelink-api

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

getDevicePowerState error: 511 #189

Open GeRiY opened 1 year ago

GeRiY commented 1 year ago

Hey,

I love this tool :) I used to work with it. I got { error: 511, msg: undefined } response when I called getDevicePowerState with deviceid. Someone can explain me why I got this? Can I see somewhere what is error codes and thier reasons?

Also I have zigbee devices, can I handle it with Ewelink API? I would to emit a "pressed" event on zigbee switch, I couldn't find the solution for that.

Thanks for reads and helps.

Regards Geri