Xiaomi Mi Smart WiFi Socket
syssi/xiaomiplug · v2024.2.0.0
Xiaomi Mi Smart WiFi Socket integration for Home Assistant
In Apple Home through HomeKit Bridge
What HomeKit Bridge makes of each kind of entity this integration creates, read from its source code. A device only gets the ones that apply to it.
| Entity | Shows up as | Note |
|---|---|---|
switch | Switch or outlet |
What people report
Older Xiaomi MiIO plugs and the AC Partner work locally; newer MIoT plugs such as the Mi Smart Power Plug 2 are still requested.
- Works6
- Requested1
| Device | In Home Assistant | In Apple Home | What they said | Source |
|---|---|---|---|---|
| Xiaomi Air Conditioning Companion V3 | Works Local | Errors fixed after python-miio 0.4.5Saved copythanks for the work, that's what I wanted. but I got this error: Configuration invalid Check config Invalid config for [switch.xiaomi_miio]: value is not allowed for dictionary value @ data['model']. Got 'lumi.acpartner.v3'. (See ?, line ?). Please check the docs at https://home-assistant.io/components/switch.xiaomi_miio/ I am using HA 0.88.2 put switch.py under config\custom_components\xiaomi_miio my configuration.yaml: switch: •platform: xiaomi_miio name: AC Partner V3 Socket Living Room host: 192.168.30.94 token: e6485a97d3fcbc123508db716708fae8 model: lumi.acpartner.v3 strange that if I … Excerpt saved from GitHub on 2026-10-23. | Issue #14 · 2019-01 | |
| Xiaomi Chuangmi Plug HMI208 | Works Local | Listed as supportedSaved copySupported devices: Xiaomi Smart WiFi Socket; Xiaomi Chuangmi Plug V1; Xiaomi Chuangmi Plug V3; Xiaomi Chuangmi Plug HMI208; Xiaomi Smart Power Strip; Xiaomi Air Conditioning Companion V3. Excerpt saved from the README on 2026-10-23. | README | |
| Xiaomi Chuangmi Plug V1 | Works Local | Listed as supportedSaved copySupported devices: Xiaomi Smart WiFi Socket; Xiaomi Chuangmi Plug V1; Xiaomi Chuangmi Plug V3; Xiaomi Chuangmi Plug HMI208; Xiaomi Smart Power Strip; Xiaomi Air Conditioning Companion V3. Excerpt saved from the README on 2026-10-23. | README | |
| Xiaomi Chuangmi Plug V3 | Works Local | Listed as supportedSaved copySupported devices: Xiaomi Smart WiFi Socket; Xiaomi Chuangmi Plug V1; Xiaomi Chuangmi Plug V3; Xiaomi Chuangmi Plug HMI208; Xiaomi Smart Power Strip; Xiaomi Air Conditioning Companion V3. Excerpt saved from the README on 2026-10-23. | README | |
| Xiaomi Smart Power Strip | Works Local | Listed as supportedSaved copySupported devices: Xiaomi Smart WiFi Socket; Xiaomi Chuangmi Plug V1; Xiaomi Chuangmi Plug V3; Xiaomi Chuangmi Plug HMI208; Xiaomi Smart Power Strip; Xiaomi Air Conditioning Companion V3. Excerpt saved from the README on 2026-10-23. | README | |
| Xiaomi Smart WiFi Socket | Works Local | Listed as supportedSaved copySupported devices: Xiaomi Smart WiFi Socket; Xiaomi Chuangmi Plug V1; Xiaomi Chuangmi Plug V3; Xiaomi Chuangmi Plug HMI208; Xiaomi Smart Power Strip; Xiaomi Air Conditioning Companion V3. Excerpt saved from the README on 2026-10-23. | README | |
| Mi Smart Power Plug 2 (chuangmi.plug.212a01) | Requested Local | Blocked on python-miio MIoT support; still openSaved copyName: Mi Smart Power Plug 2 (Wi-Fi and Bluetooth Gateway) Model: chuangmi.plug.212a01 Excerpt saved from GitHub on 2026-10-23. | Issue #20 · 2020-10 |
Gathered from GitHub issues, pull requests, discussions and docs, and from r/homeassistant. These are individual reports, so check the linked thread and the date before you buy.
How it connects
Local polling
Talks to the device on your network, asking it for updates every so often.
Details
| Installs (analytics) | 51 (0.01%) |
|---|---|
| GitHub stars | 115 |
| Latest version | 2024.2.0.0 (2024-02-11) |
| Set up in the UI | No, YAML |
| Maintainers | @syssi |
| License | Apache-2.0 |
Devices listed in its README
- Xiaomi Smart WiFi Socket
- Xiaomi Chuangmi Plug V1
- Xiaomi Chuangmi Plug V3
- Xiaomi Chuangmi Plug HMI208
- Xiaomi Smart Power Strip
- Xiaomi Air Conditioning Companion V3
Notable forks
Forks with stars, or with code pushed at least 90 days after the original’s last push. Useful when the original goes quiet.
| Fork | Stars | Last push | Description |
|---|---|---|---|
| tsunglung/xiaomiplug Newer code | ★ 3 | 2026-01-21 | Xiaomi Mi Smart WiFi Socket integration for Home Assistant |
In ReReHome
Whatever HomeKit Bridge shares reaches Apple Home as normal HomeKit accessories behind your Home Assistant bridge, so ReReHome shows and controls them like any other.
Bridges get their own settings page listing the accessories behind them.
Sources
- Documentation: https://github.com/syssi/xiaomiplug
- Source code: https://github.com/syssi/xiaomiplug
- Issues: https://github.com/syssi/xiaomiplug/issues
- HACS: https://hacs.xyz