KP115 with Kasa app VERY SLOW/not working on wifi (works fine on mobile data)

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

KP115 with Kasa app VERY SLOW/not working on wifi (works fine on mobile data)

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
KP115 with Kasa app VERY SLOW/not working on wifi (works fine on mobile data)
KP115 with Kasa app VERY SLOW/not working on wifi (works fine on mobile data)
2021-09-18 01:04:36
Model: KP115  
Hardware Version: V1
Firmware Version: 1.0.17

Hi,

 

I have bought my first smart switch, the KP115. Got the Kasa app installed on my iPhone, created Kasa account, setup switch and noticing horrendously slow response times (if at all) in the app turning it on and off. Let’s say 30-60 seconds. Secondly I can barely access any of the tabs for the switch to schedule or view power usage. Schedule may come up sometimes after 30-60 seconds or just time out. The Energy tab works after 30-60 seconds or says network error. 

 

I have a light connected to the switch that pulls 10w tested at the wall (this is for debugging this issue, the switch is for my coffee machine if I get it working).

 

Now here’s the kicker: I tried the app on mobile data turning off my wifi and IT ALL WORKS. Perfectly. I have reinstalled the whole app, turned the phone on and off, updated the phone os, tried a local only kasa app guest account and reset the plug in local mode. Made sure I’m using 2.4ghz and made sure 10 times that local network access is enabled in phone settings. Also got it on an iPad with exactly the same symptoms but can’t test mobile data on that easily.

 

I’m one plaster wall room away from my router and the signal in the app reads as -54db with 3/4 wifi bars (browsed through mobile data, if I do this on app wifi, it takes 30-60 seconds of spinning to come up as per the above).

 

I clicked the button to allow remote control. The one way option where you can’t go back to local only without resetting the switch.I had three goes at it before it worked. The first two times out after 30 seconds. The third go worked instantly.

 

My wifi works fine for everything except this for the past 5 years. LAN's with 8 computers as well. Netflix and prime streaming. Gaming (yes wifi) and browsing on phones and iPads without missing a beat. It’s just this switch.

 

Now that I’ve done this, when I turn off wifi on my phone I can spam the on off button and it responds in less than a second. Meanwhile my iPad still can’t control it most of the time. I click the power button and it’ll time out after 30 seconds twice and on the third go it will operate the switch.

 

My router is an ASUS RT-AC68U with all QOS options disabled. Have tried turning off the 5ghz wifi completely as well. My phone is an iPhone 8 updated. The iPad is old and slow but works.

 

I downloaded on my phone "Watt for Smart Devices" for iOS which always contacts tp-link servers when on wifi to get info about the switch and this works perfectly, although I want the tp-link app to work locally so I can schedule on and off.

 

I was installing wireshark, getting my computer connected to wifi and about to start installing acrylic wifi sniffer to help wireshark operate in monitor mode for wifi to see all wifi traffic when I decided enough is enough. I'm not willing at this stage to go this far, and instead I'm seeking support from tp-link or anyone here please.

 

See my reddit post here in the kasa reddit:

My Post

 

Along with these other people experiencing the same issue:

Reddit post 1

Reddit post 2

 

Thanks for any help

  0      
  0      
#1
Options
5 Reply
Re:KP115 with Kasa app VERY SLOW/not working on wifi (works fine on mobile data)
2021-09-18 02:31:42

Looking at https://www.speedguide.net/port.php?port=9999 this port info page

 

It says:

 

  • Several Asus router models use a service called infosvr that listens on UDP port 9999 with root privileges and contains unauthenticated command execution vulnerability. See [CVE-2014-9583]
  • common.c in infosvr in ASUS WRT firmware 3.0.0.4.376_1071, 3.0.0.376.2524-g0013f52, and other versions, as used in RT-AC66U, RT-N66U, and other routers

 

And just to add to the fun here, in my router debug activity page I see:


udp        0      0 0.0.0.0:9999            0.0.0.0:*

 

Which is unrelated to the smart switch and I think it's saying the router is listening to all udp traffic on port 9999. This must be more than a coincidence with some intermittent reports of ASUS rotuers not working very well with kasa smart plugs!

  0  
  0  
#2
Options
Re:KP115 with Kasa app VERY SLOW/not working on wifi (works fine on mobile data)
2021-09-18 05:16:24 - last edited 2021-09-18 05:16:52

I have installed Home Automation on a raspberry pi that I'm using for some other stuff too. It works perfectly. Reads all the stats straight away, no delay. Turns the switch on and off all day long, instantly. 

  0  
  0  
#3
Options
Re:KP115 with Kasa app VERY SLOW/not working on wifi (works fine on mobile data)
2021-09-22 02:40:03 - last edited 2021-09-22 02:41:11

Hello@Anthony10 , 

Thank you for your detailed post and investigation, it is suggested to change router DNS to 8.8.8.8, and lower or temporarily router firewall setting sin case the port that used to interact with local device are affected by firewall settings. 

May I know the model and of your phone and its Android or IOS version as well, you could try a different phone if possible. 

How about your network topology, does the plug connect to Asus RT-AC68U router directly? 

As the issue is quite unusual, we would like to have a specialist look into this further via email as well. Please check your mailbox later, and let us know if the issue is resolved. Thank you!

  0  
  0  
#4
Options
Re:KP115 with Kasa app VERY SLOW/not working on wifi (works fine on mobile data)
2021-09-22 15:12:05

@Solla-topee (A heads up I wrote this as I went through the trial and error process. It's interesting to see the progression here. The TLDR is after properly restarting my router it all started working).

 

I'm observing the length of delay between switching on and off the switch varies from instant (5 seconds) to 60 seconds (or no response at all) when on wifi. It's always instant over mobile data.

 

Actions I try to test the effectiveness of a change:

1) Use the app to turn the switch on and off
2) View the energy usage tab
3) Click the KP115 physical power button and wait for the response kasa app to update the status

 

Setting DNS in router from automatically assigned by ISP to 8.8.8.8 (but not restarting router). This had no effect.


Then changed the router DHCP server to send DNS 8.8.8.8 to devices. Verified phone had 8.8.8.8 as wifi DNS (but did not restart router). This had no effect.

 

Disabling the router firewall has resulted in it working properly with no delay (after restarting router)!

 

I haven't been diligently restarting the router between setting changes and I'm seeing some irregularities. The firewall is still off, and I just changed the DHCP back to auto for both DHCP and WAN and it's gone slow again. Right now I'm leaning towards it being the DNS rather then the router firewall.

 

Router firewall on, router DHCP DNS auto, router WAN DNS 8.8.8.8 -> slow.
Router firewall on, router DHCP DNS 8.8.8.8, router WAN DNS auto -> Fast, responsive and normal.

 

Everything back to defaults and restarted router, wifi and kasa apps. It's still fast and responsive on both devices. As though this whole time it just needed the router to be reset.

 

I have triple checked all the settings are back to where they started. It really is working smoothly on both the iPhone and iPad. 

 

I'm sorry this isn't sounding very clear in terms of what the issue might be yet. Between changing router settings and restarting multiples times it sometimes worked smoothly and others it didn't. As I unwound the changes to try to isolate what was causing it, the second last restart it was slow, then the final restart with all settings reverted to normal it was working perfectly. I really don't know what to say. Turn the router off and back on again until it works? :P

 

Restarted my router a second time and it's still fast and responsive on both devices.

 

I will observe that when running over mobile data, I can feel a consistent 200ms delay roughly compared with a responsive wifi connection being completely instant. This is in line with my expectations and confirms for me that it's definitely using wifi when on a wifi connection.

 

My phone is an iPhone 8 running the latest 14.8 iOS.

 

I don't have any android devices around sorry to test on but am also using an older iPad mini 3 running 12.5.4 experiencing the same issue.

 

My network topology is the single ASUS RT-AC68U router which is directly connected to the WAN port from the fibre termination box in my house. There are no other networking or mesh devices on my network other than wifi clients like my laptop, phone, ipad, computer, chromecast and KP115. That is to say, the KP115 connects directly to my RT-AC68U router wifi along with my phone and other devices all on the same 2.4GHz wifi band.


So if I had to guess, I believe the router needed to be restarted for it to work over wifi. My concern is that as I went, the slowness may have come and gone between setting chnages and restarts but I am just not completely sure in the end, given it's now working in the original state. I will keep monitoring the slowness and if it happens again and report back.

  1  
  1  
#5
Options
Re:KP115 with Kasa app VERY SLOW/not working on wifi (works fine on mobile data)
2021-10-16 00:57:35

@Anthony10 Just fyi I have what looks like the same problem connecting to my Kasa EP10  through my ASUS TM-AC1900. It hangs or is unworkably slow if my phone (IPhone 12 mini) is on the same ASUS network as the EP10 (2.5GHz), and fast if it's on a different network (5.0GHzor cellular). Thanks for figuring that out, and please do keep this thread updated if you figure out a way to fix it.

 

Cheers,

B

  0  
  0  
#6
Options

Information

Helpful: 0

Views: 2781

Replies: 5

Related Articles