Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Issues with get device list #10

Open
jijoamt opened this issue Apr 4, 2018 · 1 comment
Open

Issues with get device list #10

jijoamt opened this issue Apr 4, 2018 · 1 comment

Comments

@jijoamt
Copy link

jijoamt commented Apr 4, 2018

We have followed the node tplink-cloud-api module examples and has provided the user name and password. the account has a LB120 light Smart wifi LED buld associated with it. When we execute the
myTPLink.getDeviceList() , we are getting an empty array as response. Will this function list the lights associated with an account?

@sameera207
Copy link

hey @jijoamt , I haven't started using this library personally. (But I'm planing to use it soon and I'm keeping an eye on this project).

It looks like, this library calls the API to get all the devises , in this method, that means, if the API returns all the devises, you should get all.

There are few things you can check I believe,

1 - Check if you can see your LB120 is registered and shows in your KASA app. I'm assuming the APP uses same API, Coz it looks like , this library is simulating an Android connection.

2 - Check if you see any errors from your browsers developer tools. E.g chrome dev tools.

HTH

Sam

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants