Skip to content
Home Assistant TestFlight
Other

Xiaomi Mi Smart WiFi Socket

syssi/xiaomiplug · v2024.2.0.0

HACSLocal polling

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.

EntityShows up asNote
switchSwitch 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
DeviceIn Home AssistantIn Apple HomeWhat they saidSource
Xiaomi Air Conditioning Companion V3Works LocalErrors fixed after python-miio 0.4.5
Saved copy
thanks 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 HMI208Works LocalListed as supported
Saved copy
Supported 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 V1Works LocalListed as supported
Saved copy
Supported 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 V3Works LocalListed as supported
Saved copy
Supported 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 StripWorks LocalListed as supported
Saved copy
Supported 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 SocketWorks LocalListed as supported
Saved copy
Supported 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 LocalBlocked on python-miio MIoT support; still open
Saved copy
Name: 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 stars115
Latest version2024.2.0.0 (2024-02-11)
Set up in the UINo, YAML
Maintainers@syssi
LicenseApache-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.

ForkStarsLast pushDescription
tsunglung/xiaomiplug Newer code★ 32026-01-21Xiaomi 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.