IoT VLAN Device Discovery Problem but Kasa is working

Hello guys,
I just bought a HS110 smart device and I want to use it inside my newly created IoT_VLAN.

The problem now is, that I can perfectly use the HS110 with the TPLink Kasa App (iPhone connected to the LAN_Main and HS110 connected to VLAN_IoT) but as soon as I try to discover the HS110 inside Home Assistant, it never shows up and I get the error message telling me that no TP-Link device has been found on my network.

Like you can see on the illustration of my home network (just for simplicity the wifi APs are missing), Home Assistant as well as PiHole are running on a Rasperry Pi which is connected to the LAN_Main and the HS110 is connected to the VAN_IoT.

Untitled%20Diagram

As far as my Edgerouter settings, HERE YOU CAN FIND A FEW IMAGES which show you my current settings concerning VLAN, DNS and MDNS. I also activated some firewall rules but even if I disable them, the problem I mentioned above still exists.

Does anyone have a clue what could cause this kind of wired situation when the Kasa app is working but Home Assistant can’t find the HS110?

Thank you in advance!!!

It sucks no one responded here, I’m doing the exact same thing and am running into the exact same issue.

Have you tried setting up your device manually?

The supported devices in your network are automatically discovered, but if you want to control devices residing in other networks you will need to configure them manually as shown below.
(TP-Link Smart Home - Home Assistant)

I don’t own such a device myself, but if I had to make a guess, then the app probably just uses a different discovery process than Home Assistant.

As anyone figured it out. I am thinking there could be some firewall rules to set to make this possible? I just don’t know the protocol used by home assistant to discover TP link devices.

Found a Github post but no fix yet: TPLink component fails to register devices outside of current subnet (discovery & declared) · Issue #23218 · home-assistant/core (github.com)

GatCode, this is very old but if you’re still looking for a solution then you can add to your configuration.yaml:

tplink:
light:
- host: 192.168.10.100 # Or whatever your HS110 IP address is. Hostname also works.

There’s no way to do discovery in your VLAN configuration. TPLink uses broadcast for discovery. You won’t find a router that will allow broadcasts to a different subnet and anyways the HA TPLink is only able to broadcast on subnets its connected to.

A little clarification… The reason your iPhone works is that its using the TPLink servers for discovery. HA has no implementation for that. If you disable the HS110’s access to the Internet then your iPhone also won’t find it.

1 Like

Agree. Broadcast discovery across VLAN’s kind of defeats some of the benefits of using a VLAN in the first place :slight_smile:

I believe that the only reason that “discovery” of other devices on my IOT VLAN worked is because they were “Discovered” via their respective Cloud services…i.e. Tuya Smart, Sonoff, etc.

The HA TPLink integration (AFAIK) is direct to the device and not via the Kasa cloud account, hence HA can’t discover it.

I just typed the IOT VLAN device IP into HA and it added it instantly and started working. A bit inconvenient, but not a deal breaker. I am not adding new devices on a daily basis.

Just my 2c.