All Projects → al-one → Hass Xiaomi Miot

al-one / Hass Xiaomi Miot

Auto integrate xiaomi devices by miot-spec for HomeAssistant

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Hass Xiaomi Miot

Python Miio
Python library & console tool for controlling Xiaomi smart appliances
Stars: ✭ 1,995 (+2045.16%)
Mutual labels:  home-assistant, smart-home, xiaomi
Xiaomi airconditioningcompanion
Xiaomi Mi and Aqara Air Conditioning Companion integration for Home Assistant
Stars: ✭ 304 (+226.88%)
Mutual labels:  home-assistant, xiaomi
Home Assistant Config
🏠 Fully documented Home Assistant configuration for a smart-looking place. 😎 Be sure to ⭐️ my repo and copy ideas!
Stars: ✭ 258 (+177.42%)
Mutual labels:  home-assistant, smart-home
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 (+339.78%)
Mutual labels:  home-assistant, xiaomi
Tuya-v2-Supported-Devices
A collection of all of the known working Tuya v2 Devices
Stars: ✭ 30 (-67.74%)
Mutual labels:  smart-home, home-assistant
Home-Assistant-Main
My Home Assistant Configuration Be sure to ⭐ my repo so you can keep up to date on the daily progress!
Stars: ✭ 54 (-41.94%)
Mutual labels:  smart-home, home-assistant
Home Assistantconfig
🏠 Home Assistant configuration & Documentation for my Smart House. Write-ups, videos, part lists, and links throughout. Be sure to ⭐ it. Updated FREQUENTLY!
Stars: ✭ 3,687 (+3864.52%)
Mutual labels:  home-assistant, smart-home
zigbee
Database of Zigbee devices compatible with third party gateways: ZHA, deCONZ, Zigbee2MQTT, Tasmota, ZiGate, ioBroker,
Stars: ✭ 117 (+25.81%)
Mutual labels:  smart-home, home-assistant
Ble monitor
Xiaomi Mijia BLE MiBeacon monitor
Stars: ✭ 611 (+556.99%)
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 (+563.44%)
Mutual labels:  home-assistant, xiaomi
Room Assistant
Presence tracking and more for automation on the room-level
Stars: ✭ 764 (+721.51%)
Mutual labels:  home-assistant, smart-home
home-assistant-sse
Using server-sent events with Home Assistant.
Stars: ✭ 16 (-82.8%)
Mutual labels:  smart-home, home-assistant
smart-home
🏡 My smart home setup built on top of Home Assistant
Stars: ✭ 140 (+50.54%)
Mutual labels:  smart-home, home-assistant
xboxone-home-assistant
Control your Xbox One from your Home Assistant device.
Stars: ✭ 26 (-72.04%)
Mutual labels:  smart-home, home-assistant
ad-alexatalkingclock
Alexa (or other Smart Speakers) tell you the time without asking every hour. Please ⭐️if you like my app :)
Stars: ✭ 30 (-67.74%)
Mutual labels:  smart-home, home-assistant
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 (+241.94%)
Mutual labels:  home-assistant, xiaomi
Streamdeck Homeassistant
🏠 Use the Elgato Stream Deck as Home Assistant controller. Call any available service and toggle lights or resume your music.
Stars: ✭ 69 (-25.81%)
Mutual labels:  home-assistant, smart-home
homeassistant
Home Assistant Config
Stars: ✭ 50 (-46.24%)
Mutual labels:  smart-home, home-assistant
VacuumZones
Control zone cleaning for Xiaomi vacuum cleaners from voice assistants and Home Assistant
Stars: ✭ 39 (-58.06%)
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 (+365.59%)
Mutual labels:  home-assistant, xiaomi

Xiaomi Miot For HomeAssistant

MIoT-Spec: The protocol specification for Xiaomi IoT devices, is a standard designed by the Xiaomi IoT platform to describe the function definition of hardware products according to the networking mode of hardware products, the characteristics of product functions, the characteristics of user usage scenarios and the user's requirements for hardware product use experience specification.

This component uses the MIoT-Spec to automatically integrate Xiaomi devices into HomeAssistant, and currently supports most Xiaomi MIoT devices. And it supports HA Web UI, and you can easily integrate Xiaomi devices into HA without configuring yaml.

Installing

Download and copy custom_components/xiaomi_miot folder to custom_components folder in your HomeAssistant config folder

wget https://github.com/al-one/hass-xiaomi-miot/archive/master.zip
unzip master.zip
cp -rf hass-xiaomi-miot-master/custom_components/xiaomi_miot ~/.homeassistant/custom_components/
rm -rf hass-xiaomi-miot-master

Or you can install component with HACS

Config

HomeAssistant GUI

⚙️ Configuration > 🧩 Integrations > ➕ Add Integration > 🔍 Search Xiaomi Miot Auto

Or click (HA v2021.3.0+): add

Configuration variables:

  • host(Required): The IP of your device
  • token(Required): The Token of your device
  • name(Optional): The name of your device
  • model(Optional): The model of device, required if config by yaml

Configuration Xiaomi Cloud:

If your device unavailable or return code -4004 or -9999 in logs, You can try this way.

# configuration.yaml
homeassistant:
  customize: !include customize.yaml

xiaomi_miot:
  username: xiaomi_username
  password: xiaomi_password
  # server_country: cn # location of xiaomi cloud: cn(default), de, i2, ru, sg, us

# customize.yaml (Configuration > Customize > Select Entity > Add Other Attribute)
camera.your_entity_id:
  miot_cloud: true          # Enable miot cloud for entity (read, write, action)
  # miot_cloud_write: true  # (Optional) Enable miot cloud (only write)
  # miot_cloud_action: true # (Optional) Enable miot cloud (only action)
  # miot_did: '123456789'   # (Optional) Your miot device id (Get form cloud if empty)

Enabled miot cloud for device:

⚙️ Configuration > 🧩 Integrations > Xiaomi Miot Auto > Options > Enable miot cloud

Customize entity

# configuration.yaml
homeassistant:
  customize: !include customize.yaml


# customize.yaml

climate.your_entity_id:
  bind_sensor: sensor.temperature_entity,sensor.humidity_entity # Sensor entities

camera.your_entity_id:
  video_attribute: 1 # https://github.com/al-one/hass-xiaomi-miot/issues/11#issuecomment-773054167
  check_lan: true    # Check LAN connection in cloud mode

doamin.your_entity_id:
  chunk_properties: 10 # Chunk miot properties on update state

Recommended: Customization Using The UI

⚙️ Configuration > 🖌 Customize > 🔍 Select Entity > Add Other Attribute

Supported Devices

Debug

Get Entity State Attributes

🔨 Developer tools > ℹ️ State > 🔍 Filter Entity

Get Debug Logs

# configuration.yaml
logger:
  default: warning
  logs:
    custom_components.xiaomi_miot: debug

⚙️ Configuration > ✍️ Logs

Obtain miio token

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].