CodeBardian / tplink-smartdevices-netstandard

.NET Standard 2.0 Library for Discovering and Operating TP-Link Smart Devices
https://codebardian.github.io/tplink-smartdevices-netstandard/
Apache License 2.0
18 stars 5 forks source link

KP303 can not discover #19

Open loulazynote opened 2 years ago

loulazynote commented 2 years ago

Hey,I have KP303 And I want to control Powered. But like this photo image The program did not go to the next line. And...No device found image

I use wifi frequency of 2.4G Is that related?

Thx

CodeBardian commented 2 years ago

Hard to tell, there could be many reasons why it wouldn't be working. Are you on the same network as your device? Does only the discovery not work?

Did you try to control your device directly using your IP-Address:

var device = await TPLinkSmartMultiPlug.Create("100.10.4.1");
await device.SetPoweredOn(true);

Does your device work using the kasa app?

Also TP-Link introduced a new protocol on some newer devices and firmware version. Could be that KP303 uses that. Unfortunately I don't own this model so I can't really confirm that it works.

loulazynote commented 2 years ago

Yes,My device is on the same network. And just the discovery not work. I had using IP-Address to control my device. And my device work on kasa app.

Ok,I got it. Thx for help. I will try it more.