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
What You Need
- TP-Link Tapo P115 smart plug with energy monitoring
- Home Assistant (any version from 2022.4+)
- Tapo app to initially set up the plug on Wi-Fi
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:
- Smart plugs: P100, P110, P115, P125 — switch control + energy monitoring on P110/P115/P125
- Smart strips: P300, HS300 — per-outlet control
- Smart bulbs: L510, L520, L530 — brightness and color control
- Smart switches: HS200, HS210 — wall switch control
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
- Set up your Tapo device using the Tapo mobile app (connect it to your Wi-Fi)
- In the Tapo app: go to device settings → Account — note your Tapo account email and password
- Assign a static IP to your Tapo device in your router's DHCP settings (recommended)
- In HA: go to Settings → Integrations → Add Integration → TP-Link Tapo & Kasa
- Enter your Tapo account email and password (used once for device discovery)
- HA discovers all Tapo devices on your network and adds them
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:
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
- "Authentication failed": Ensure you're using your Tapo account credentials, not your TP-Link account. They're different. Create a Tapo account in the app if you don't have one.
- Device shows "unavailable": The device changed IP. Check your router's DHCP table and update the HA integration settings, or set a static IP.
- No energy sensors: Energy monitoring is only available on P110, P115, and P125 models. The P100 and P105 are switch-only.
- Device responds slowly: Normal — HA polls every 30 seconds. For faster response, check if your router's ARP table is fresh or reduce polling via
update_intervalin the integration options.
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.