All Projects → syssi → xiaomiplug

syssi / xiaomiplug

Licence: Apache-2.0 license
Xiaomi Mi Smart WiFi Socket integration for Home Assistant

Projects that are alternatives of or similar to xiaomiplug

Python Miio
Python library & console tool for controlling Xiaomi smart appliances
Stars: ✭ 1,995 (+1915.15%)
Mutual labels:  home-assistant, xiaomi, miio
Miio
Control Mi Home devices, such as Mi Robot Vacuums, Mi Air Purifiers, Mi Smart Home Gateway (Aqara) and more
Stars: ✭ 1,669 (+1585.86%)
Mutual labels:  xiaomi, miio-protocol, miio
miio-go
An implementation of the miIO home protocol by Xiaomi written in Golang.
Stars: ✭ 35 (-64.65%)
Mutual labels:  xiaomi, miio-protocol, miio
Home Assistant Config
Home Assistant Configuration & Documentation for my Smart House.
Stars: ✭ 1,115 (+1026.26%)
Mutual labels:  home-assistant, xiaomi
Lovelace Xiaomi Vacuum Map Card
This card enables you to specify a target or start a zoned cleanup using live or static map, just like in Xiaomi Home app. Additionally you can define a list of zones and choose the ones to be cleaned.
Stars: ✭ 433 (+337.37%)
Mutual labels:  home-assistant, xiaomi
Ble monitor
Xiaomi Mijia BLE MiBeacon monitor
Stars: ✭ 611 (+517.17%)
Mutual labels:  home-assistant, xiaomi
ha-zoom-automation
Custom Home Assistant component for Zoom. Tracks when you are connected to a Zoom call by default but may allow you to track more.
Stars: ✭ 47 (-52.53%)
Mutual labels:  home-assistant, custom-component
Lovelace Xiaomi Vacuum Card
Simple card for various robot vacuums in Home Assistant's Lovelace UI
Stars: ✭ 137 (+38.38%)
Mutual labels:  home-assistant, xiaomi
Hass Xiaomi Miot
Auto integrate xiaomi devices by miot-spec for HomeAssistant
Stars: ✭ 93 (-6.06%)
Mutual labels:  home-assistant, xiaomi
Openmqttgateway
MQTT gateway for ESP8266, ESP32, Sonoff RF Bridge or Arduino with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility, SMS & LORA.
Stars: ✭ 2,413 (+2337.37%)
Mutual labels:  home-assistant, xiaomi
Ha Wyzeapi
Home Assistant Integration for Wyze Bulbs, Switches, Sensors and Lock
Stars: ✭ 187 (+88.89%)
Mutual labels:  switch, home-assistant
Miflora Mqtt Daemon
Linux service to collect and transfer Xiaomi Mi Flora plant sensor data via MQTT to your smart home system, with cluster support 🌱🌼🥀🏡🌳
Stars: ✭ 409 (+313.13%)
Mutual labels:  home-assistant, xiaomi
Home Assistant Custom Components Xiaomi Cloud Map Extractor
This custom integration provides a way to present a live view of a map for a Xiaomi (and Roborock) vacuums.
Stars: ✭ 318 (+221.21%)
Mutual labels:  home-assistant, xiaomi
Xiaomigateway3
Control Zigbee, BLE and Mesh devices from Home Assistant with Xiaomi Gateway 3 (ZNDMWG03LM) on original firmware
Stars: ✭ 617 (+523.23%)
Mutual labels:  home-assistant, xiaomi
Xiaomi airconditioningcompanion
Xiaomi Mi and Aqara Air Conditioning Companion integration for Home Assistant
Stars: ✭ 304 (+207.07%)
Mutual labels:  home-assistant, xiaomi
Kmansonoff
Firmware for ESP8266 based itead Sonoff switches for use with HomeAssistant / mqtt
Stars: ✭ 282 (+184.85%)
Mutual labels:  switch, home-assistant
Xiaomi miot raw
Universal Xiaomi MIoT integration for Home Assistant
Stars: ✭ 240 (+142.42%)
Mutual labels:  switch, home-assistant
xboxone-home-assistant
Control your Xbox One from your Home Assistant device.
Stars: ✭ 26 (-73.74%)
Mutual labels:  home-assistant, custom-component
home-assistant-frigidaire
Custom component for the Frigidaire integration
Stars: ✭ 11 (-88.89%)
Mutual labels:  home-assistant, custom-component
Xiaomi airpurifier
Xiaomi Mi Air Purifier and Xiaomi Mi Air Humidifier integration for Home Assistant
Stars: ✭ 230 (+132.32%)
Mutual labels:  home-assistant, xiaomi

Xiaomi Smart WiFi Sockets and Power Strips

GitHub actions GitHub stars GitHub forks GitHub watchers "Buy Me A Coffee"

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.

Credits: Thanks to Rytilahti for all the work.

Supported devices

Name Model Model no.
Xiaomi Smart WiFi Socket chuangmi.plug.m1
Xiaomi Smart WiFi Socket chuangmi.plug.m3
Xiaomi Smart WiFi Socket chuangmi.plug.v2
Xiaomi Smart WiFi Socket chuangmi.plug.hmi205
Xiaomi Smart WiFi Socket chuangmi.plug.hmi206
Xiaomi Chuangmi Plug V1 chuangmi.plug.v1
Xiaomi Chuangmi Plug V3 chuangmi.plug.v3
Xiaomi Chuangmi Plug HMI208 chuangmi.plug.hmi208
Xiaomi Smart Power Strip qmi.powerstrip.v1
Xiaomi Smart Power Strip zimi.powerstrip.v2
Xiaomi Air Conditioning Companion V3 lumi.acpartner.v3

Features

Xiaomi Smart WiFi Socket

Supported models: chuangmi.plug.m1, chuangmi.plug.m3, chuangmi.plug.v2, chuangmi.plug.hmi205, chuangmi.plug.hmi206

  • Power (on, off)
  • Attributes
    • Temperature

Xiaomi Chuangmi Plug V1

Supported models: chuangmi.plug.v1, chuangmi.plug.hmi208

  • Power (on, off)
  • USB (on, off)
  • Attributes
    • Temperature

Xiaomi Chuangmi Plug V3

Supported models: chuangmi.plug.v3

  • Power (on, off)
  • USB (on, off)
  • Wifi LED (on, off)
  • Attributes
    • Temperature
    • Load power
    • Wifi LED

Xiaomi Smart Power Strip

Supported models: qmi.powerstrip.v1, zimi.powerstrip.v2

  • Power (on, off)
  • Wifi LED (on, off)
  • Power Price (0...999)
  • Power Mode (green, normal) (Power Strip V1 only)
  • Attributes
    • Temperature
    • Current
    • Load power
    • Wifi LED
    • Mode (Power Strip V1 only)

Xiaomi Air Conditioning Companion V3

Supported models: lumi.acpartner.v3 (the socket of the acpartner.v1 and v2 isn't switchable!)

  • Power (on, off)
  • Attributes
    • Load power

Setup

# configuration.yaml

switch:
  - platform: xiaomi_miio_plug
    name: Original Xiaomi Mi Smart WiFi Socket
    host: 192.168.130.59
    token: b7c4a758c251955d2c24b1d9e41ce47d
    model: chuangmi.plug.m1
  - platform: xiaomi_miio_plug
    name: Xiaomi Mi Smart Power Strip
    host: 192.168.130.60
    token: 0ed0fdccb2d0cd718108f18a447726a6
    model: zimi.powerstrip.v2

Configuration variables:

  • host (Required): The IP of your light.
  • token (Required): The API token of your light.
  • name (Optional): The name of your light.
  • model (Optional): The model of your device. Valid values are chuangmi.plug.v1, chuangmi.plug.v3, qmi.powerstrip.v1, zimi.powerstrip.v2, chuangmi.plug.m1, chuangmi.plug.m3, chuangmi.plug.v2, chuangmi.plug.hmi205 and lumi.acpartner.v3. This setting can be used to bypass the device model detection and is recommended if your device isn't always available.

Platform services

Service xiaomi_miio_plug.switch_set_wifi_led_on (Power Strip and Chuangmi Plug V3)

Turn the wifi led on.

Service data attribute Optional Description
entity_id yes Only act on a specific air purifier. Else targets all.

Service xiaomi_miio_plug.switch_set_wifi_led_off (Power Strip and Chuangmi Plug V3)

Turn the wifi led off.

Service data attribute Optional Description
entity_id yes Only act on a specific air purifier. Else targets all.

Service xiaomi_miio_plug.switch_set_power_price (Power Strip only)

Set the power price.

Service data attribute Optional Description
entity_id yes Only act on a specific air purifier. Else targets all.
price no Power price, between 0 and 999.

Service xiaomi_miio_plug.switch_set_power_mode (Power Strip V1 only)

Set the power mode.

Service data attribute Optional Description
entity_id yes Only act on a specific xiaomi miio entity. Else targets all.
mode no Power mode, valid values are 'normal' and 'green'
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].