skydiver / ewelink-api

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

Reading the list of shared devices #229

Open ElectApp opened 3 months ago

ElectApp commented 3 months ago

How can I write a program to read a list of shared devices?

I've tried using the function getDevices() and it doesn't find the entry. const devices = await connection.getDevices(); console.log(devices);

Output log: []