Quick Answer

The official TP-Link Tapo integration in Home Assistant uses local polling — no cloud required once set up. Add your Tapo device's IP and credentials in HA's Integrations page, and you get local switch control plus energy monitoring (on P115/P125 models). The whole process takes under 5 minutes.

Table of Contents

  1. Official TP-Link Integration
  2. Local Control Details
  3. Step-by-Step Setup
  4. Energy Monitoring Automation
  5. Troubleshooting
  6. FAQ

What You Need

Official TP-Link Integration

The TP-Link integration (built into HA since 2021) supports the full Tapo and Kasa device lineup. Since HA 2023.2, it uses local polling exclusively — HA talks directly to the device on your LAN without routing through TP-Link's cloud servers.

Supported device types:

Local Control Details

Tapo devices use TP-Link's proprietary local protocol (KLAP since firmware 1.0.13). HA's integration speaks this protocol directly on your LAN — the Tapo cloud is not involved in normal operation.

Important: you still need the Tapo app to initially configure the device (Wi-Fi setup, firmware update). After that, you can run HA integration entirely locally. The Tapo app and HA can coexist.

Polling interval: HA polls each Tapo device every 30 seconds by default. This means state changes (someone manually pressing the button) may take up to 30 seconds to reflect in HA.

Step-by-Step Setup

  1. Set up your Tapo device using the Tapo mobile app (connect it to your Wi-Fi)
  2. In the Tapo app: go to device settings → Account — note your Tapo account email and password
  3. Assign a static IP to your Tapo device in your router's DHCP settings (recommended)
  4. In HA: go to Settings → Integrations → Add Integration → TP-Link Tapo & Kasa
  5. Enter your Tapo account email and password (used once for device discovery)
  6. HA discovers all Tapo devices on your network and adds them
Tip: Assign static IPs to your Tapo devices in your router. If a device changes IP due to DHCP lease expiry, HA loses the connection until you re-configure it.

Energy Monitoring Automation

The Tapo P115 exposes sensor.plug_name_current_consumption (watts), sensor.plug_name_today_energy (kWh), and sensor.plug_name_total_energy (kWh). Use them in automations:

automations.yaml — Alert when device uses too much power
automation:
  - alias: "High power consumption alert"
    description: "Notify when washing machine exceeds 2000W"
    trigger:
      - platform: numeric_state
        entity_id: sensor.washing_machine_current_consumption
        above: 2000
        for:
          minutes: 2
    action:
      - service: notify.mobile_app_your_phone
        data:
          title: "Power Alert"
          message: >
            Washing machine is using 
            {{ states('sensor.washing_machine_current_consumption') }}W.
            Check if it's stuck in a cycle.

  - alias: "Turn off standby devices at night"
    description: "Cut power to TV when it drops to standby wattage at night"
    trigger:
      - platform: numeric_state
        entity_id: sensor.tv_current_consumption
        below: 5
        for:
          minutes: 30
    condition:
      - condition: time
        after: "22:00:00"
        before: "07:00:00"
    action:
      - service: switch.turn_off
        target:
          entity_id: switch.tv_plug

Troubleshooting

FAQ

Does the Tapo integration work without internet?

Yes — after initial setup, HA communicates directly with Tapo devices on your LAN. Internet is not required for switching or reading power data. Only the initial discovery step requires the Tapo cloud for authentication.

Can I use Tapo devices in HA without creating a Tapo account?

Not easily with the official integration. However, KLAP protocol implementations exist on GitHub that allow local-only authentication. The official HA integration requires Tapo credentials for initial setup.

What's the difference between Tapo and Kasa?

Both are TP-Link brands — Kasa is the older US-market line, Tapo is the newer global line. HA's TP-Link integration supports both. Kasa devices use a different local protocol but work the same in HA.

SmartWired uses affiliate links. If you buy through our links, we may earn a commission at no extra cost to you. See our Affiliate Disclosure.