plasticrake / homebridge-tplink-smarthome

TP-Link Smarthome Plugin for Homebridge
MIT License
474 stars 70 forks source link

All TPLink Kasa Devices showing offline when accessing apple "Home" from WAN #209

Closed mdombrowski13 closed 2 years ago

mdombrowski13 commented 3 years ago

Expected Behavior

TPLINK devices should respond in the apple "Home" app like they do in the Kasa app when not on the LAN network. All other Homebrige Plugins show accessories and function when on WAN. When on VPN all TP link Accessories show working.

Current Behavior

All TPlink devices show now responding when checking the Apple Home App and the iPhone is not on the same network such as when on cellular or other WAN network.

Steps to Reproduce (for bugs)

Provision TPlink Device Instal home bridge pair home bridge with apple Homekit test on WAN. Turn off wifi on mobile device (EX: iPhone) Open Apple Home App TPLink devices show offline and not responding to commands. Note other home bridge plugin still working and responding with their accessories (EX: Wemo)

Versions

Node.js Version | v14.17.2 NPM | v6.14.13 Homebridge | 1.3.4 Ubuntu | 20.04LTS (no container) homebridge-tplink-smarthome | v6.4.0

Configuration

        {
            "name": "kasa_TPlink",
            "platform": "TplinkSmarthome"
        }

Homebridge Log / Command Output

jasonlboggs commented 3 years ago

What Apple Home bridge are you using?

mdombrowski13 commented 3 years ago

Apple TV 4K Gen 1

mdombrowski13 commented 3 years ago

It seams uninstalling and reinstalling the plug in fixed it this time. It's the 3rd time this year I've had to do it with only this plugin.

prsng commented 2 years ago

I still have this problem! Uninstalled the plugin, installed it again and still have the issue ongoing. Once I’m off the wifi on my phone, the light switches don’t respond to HomeKit. Wondering - is someone looking at this issue?

Fofer commented 2 years ago

One thing that helped me greatly with this plug-in was setting it up as a "child bridge" https://github.com/homebridge/homebridge/wiki/Child-Bridges

plasticrake commented 2 years ago

This is a homebridge and/or Apple Homekit hub issue. The plugin doesn't have to do with remote access.