petretiandrea /home-assistant-tapo-p100

A custom integration to control Tapo devices from home assistant.

★ 989⑂ 140👁 16⑃ 364● 580▤ 98
PythonMITCreated 2020-12-23
Download: 3.5.43.5.4 ↓3.5.42026-10-19
989
stars
140
forks
16
watchers
364
prs
580
issues
98
releases

README

Home Assistant Tapo Integration

This is a custom integration to control Tapo devices from home assistant.

The core of the integration is provided by plugp100 python library based on the work of @K4CZP3R.







[![Stable Release][stable_release]][stable_release]
[![hacs][hacsbadge]][hacs]
[![Project Maintenance][maintenance-shield]][user_profile]
[![License][license-shield]](LICENSE)
[![BuyMeCoffee][buymecoffeebadge]][buymecoffee]

Please help me to complete the new roadmap

 Sponsors
 Gold Sponsors



 Silver Sponsors



 Warnings

 Tapo protocol

Tapo is updating its devices with a new firmware which use a new protocol called KLAP. This integration supports it but if you run an older version your devices may not work. Please keep this integration up to date by using HACS!

 Local Integration

Although the integration works using LAN, the tapo device needs internet access to synchronize with tapo cloud, especially for credentials, a missing internet access could lead into "Invalid authentication error". A static IP must be set for device.

 Authentication

For some unknown reason email with capital letters throw an "Invalid authentication" error. Before opening a new issue check your email address on Tapo App Settings. If your email contains capital letters, the integration won't work. I've opened an issue that explains this 122, I will fix asap. As a workaround you can create a new account using all lower-case in your email address.

 Features

 Discovery

The integration now supports native tapo discovery! To enable it you must add at least one tapo device or this line to your tapo configuration file

yaml
tapo:
  discovery: true  you can omit "discovery" by default, using "tapo:" will enable discovery automatically.


This will enable tapo device discovery. Not all tapo devices support tapo discovery, so if you can't find a device, try adding it manually.
Tapo integration discovery filters out unsupported devices!


  Screenshot
  
  !Discovery



You can disable integration discovery by editing configuration.yaml in the following way:

yaml
tapo:
  discovery: false


 Device IP Tracking

When using DHCP home assistant discovery the feature of mac address tracking is now disabled, as HA now automatically tracks mac addresses now.
Please be sure to have DHCP discovery enabled on your configuration.yaml (enabled by default).

[BREAKING] Tracking mac address feature is now disabled as it is not recommended by HA. Tracking is now performed by HA itself.

 Supported devices

- [x] pure async home assistant's method
- [x] support for tapo H100 hub and siren
- [ ] support for tapo H200 hub is currently Work In Progress!
- [x] support for T31x temperature and humidity sensor hub's device
- [x] support for T100 motion sensor hub's device
- [x] support for T110 smart door hub's device
- [x] support for S220, S210 switch hub's device
- [x] support for S200B button and S200D dial hub's device (button press and dial rotation events reported to HA, doubl

Top issues

Discussions

Latest release

3.5.4 3.5.4 2026-10-19
3.5.4 (2026-10-19)


 Bug Fixes

 ci: select supported Python version for checks (6f8590a)
 core: bump plugp100 to 6.0.2 (5dce134), closes 1009

Snapshot: 2026-11-27T22:26:53Z · Data license Apache-2.0 · JSON