Closed AgentFire closed 2 years ago
Try including ewelink call into try-catch structure, so you can at least manage the error and study it:
try { const connection = new ewelink({ email: 'user', password: 'pwd', region: 'eu', }); } catch (error) { console.error(error); }
The code (from the QuickStart guide -_-):
The error:
P.S. Does your API has actual API documentation? Because all I see over the internet is some stupid NODEJS libraries, and I certainly neither want them or need them. I hoped to wireshark the actual useful info from your node module, and even this failed to execute. Your device works via UDP (or TCP), and I expect you to have the complete documentation for each device. Share me the link?