Cannot get Kasa smart switch to connect to HA

Wifi is showing the correct wifi name

It is just fine.

1 Like

If its controllable from the app, it has an address.

The scanner nor HA is detecting it though. Which is odd. Maybe reboot the switch? There are these little buttons under the switch (two horizontal buttons immediately under the rocker). Pressing the right one will restart it. Maybe it will help. No idea.

I will try it

Yeah Advanced IP scanner still doesn’t show and the auto search without entering a host in the integration still can’t find it. Is it possible my unit is somehow defective? Literally everything else I’ve tried in HA works perfectly. It’s just this switch

No. If you can control the switch through the phone app, then the switch is on your network.

The instructions for my router (FIOS Quantum Gateway) recommends that the 2.4GHz and the 5GHz networks have different names. They don’t say why.

@jordanr - Lets go back to the router. In mine, I can see the DHCP assignments including the MAC address. Does your router have a similar page? You could search for the MAC address here to get the IP address.

Try this test. Unplug the router. If you can still control the HS200 from the phone APP then you really do have a mystery. It would be comedic if it was connecting to a neighbor’s router… But I fully expect that with your router offline, you won’t be able to control the device from the app. Meaning, the device is definitely connecting to your net through your router.

On Advanced IP Scan, are you scanning your full net range?
ipscan

How many devices do you have on your net? If it isn’t too many, try the telnet to port 9999 on each of them.

Yes, I was scanning the full range, and verified in my DHCP what the range was. When I look at my DHCP there isn’t anything in there at all. Though I can start manually adding things. I have an ASUS - AX3000. There is a drop-down where I can see a handful of things on the network that also show up in Advanced IP Scan. If I hover over these items in the dropdown I can see the mac address but none match the mac address of the switch. There is a “show offline client list” button that populates the dropdown with a bunch of other items that are faded out. I can eventually find a client matching the mac address of the switch but have even tried adding it and giving it a static IP within the range of the DHCP table but wasn’t able to connect it still.

Perhaps I gave it a static IP that was already in use, in order to scan 9999 would I need to run telnet against every single possible IP in the range with port 9999 until I find something (or don’t)?

Also, I have an eero wifi mesh network and it doesn’t support separate SSID’s and instead just connects to both 2.4 and 5. I could look into a different mesh network device but the eero are free from my ISP so that would suck

UPDATE: I just remembered I have an eero app and opened it to see the hs200 connected and it shows me the IP so I put that in the host section and tried to connect and it doesn’t connect. The IP is not the same range as the DHCP of my router so if it’s showing up in eero and not in the router then I’ll try to disconnect the switch from the wifi, disable the eero and just leave the regular wifi on and reconnect it and see if that works. That would kind of suck if that’s the case because this switch is a little far away from the router so hopefully it still gets a good signal where it’s at

No. This would provide the opportunity for a new device to get the same IP. The DHCP server manages everything in its range and it doesn’t know of static IPs assigned there.

Personally, I avoid static IP addresses and except for my servers everything is on DHCP. There are more than 100 devices on my network and manually managing that many IP addresses would be a nightmare.

The “offline client list” is the same as the “dead” IP addresses in Advanced IP Scanner. These are devices that the DHCP server had seen before. If you reconnect any of them, they will get the IP address they had the last time the device connected. If the DHCP server runs out of available IP addresses in its range, it will start reusing the IP of dead devices. In Advanced IP Scanner, under “view”, click on “show dead” and you will see all of there past connections.

What does this mean?

What is the IP of the switch according to Eero?
What is the IP of your Home Assistant device?

I use DHCP reserved IP addresses. It’s not difficult to manage it and better than using static IP addresses, as you can move to another network and not have to modify each device, and it also avoids using duplicate addresses.

Having a special network for my IOT devices would work too - mainly so I can block them all from accessing the public internet.