About
Xiaomi Mi Smart WiFi Socket is a custom integration that controls Xiaomi smart plugs and power strips as switches. It communicates with the devices locally and is set up in the YAML configuration file using the device address and an API token. Supported devices include the Smart WiFi Socket, Chuangmi Plug V1 and V3, the Smart Power Strip, and the Air Conditioning Companion V3 socket. Depending on the model, it offers power switching, USB switching, a Wifi LED toggle, and attributes such as temperature, current and load power. Extra services set the Wifi LED state on supported models, and the power price and power mode on the Power Strip. A model option can be set to skip automatic detection, which suits devices that are not always reachable.
Automatic summary of the README of syssi/xiaomiplug. Something wrong, or are you the maintainer and want your own text here? Get in touch
Supports
Works locally Talks to your devices on your own network. No vendor cloud in between.
From the Marketplace Installed through the Marketplace, formerly HACS.
Provides
- Switches
Setting it up
Install it from the Marketplace and restart Home Assistant. It is then set up in configuration.yaml.
From the README
This is a custom component for Home Assistant to integrate the Xiaomi Smart WiFi Socket (called Plug), Xiaomi Smart Power Strip and Xiaomi Chuangmi Plug V1.
Please follow the instructions on Retrieving the Access Token to get the API token to use in the configuration.yaml file.
- Power (on, off)
- Attributes
- Temperature
Shows in Vulpo
Quick Toggle card, Apple Watch, Control Center.Information
- Installs
- 51 sharing analytics
- GitHub stars
- 115
- Connection
- Works locally
- Upkeep
- No update in over 18 months
- Version
- 2024.2.0.0,
- Category
- Plugs and switches
- Kind
- Marketplace integration
- Brand
- Xiaomi
- Needs
- Needs the Marketplace (HACS on 2026.10 and older)
- Domain
xiaomi_miio_plug- Issues
- Report an issue
More from Xiaomi
Xiaomi Cloud Map Extractor3.4k installs · This custom integration provides a way to present a live view o…Open
Xiaomi Gateway 33.2k installs · Home Assistant custom component for control Xiaomi Multimode Ga…Open










