Custom component for Home Assistant to faciliate the reverse engeneering of Xiaomi MiIO devices
syssi/xiaomi_raw · v2024.4.0.0
Custom component for Home Assistant to faciliate the reverse engeneering of Xiaomi MiIO devices
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 | |
sensor | Sensor (temperature, humidity, air quality…) |
What people report
A raw MiIO/MIoT helper for reverse engineering; actions can work locally via python-miio but some devices lack cover entities.
- Partly works1
- Requested1
| Device | In Home Assistant | In Apple Home | What they said | Source |
|---|---|---|---|---|
| Fishbowl feeder hfjh.fishbowl.v2 | Partly works Local | Action calls via raw command work in python-miio; script approach failedSaved copyHello. I have tried as script, but it is not working: [code] The device is this: hfjh.fishbowl.v2 And the protocol: ## Properties ## siid 4: piid: 1 (mcu-type): (uint8, unit: none) (acc: ['read', 'notify']) {'value': 0, 'description': 'None'} {'value': 1, 'description Excerpt saved from GitHub on 2026-10-23. | Issue #16 · 2021-04 | |
| KeZhangMen roller shutter motor aice.motor.kzmu3 | Requested Cloud | Appears in HA via Miot Auto without cover controls; support requestedSaved copyDevice Info Item Value Model `aice.motor.kzmu3` Name 科掌门智能卷帘门控制器 (KeZhangMen Smart Roller Shutter Controller) Connection Wi-Fi (2.4G) Current Behavior The device is successfully discovered and synced from Mi Home account via Xiaomi Miot Auto integration. However: - Device appears in Home Assistant without cover controls (no open/close/stop buttons) - Only shows as a device entry with no actionable entities - No `cover` entity is created Expected Behavior Should expose standard `cover` entity with: - `cover.open_cover` - `cover.close_cover` - `cover.stop_cover` - Current position (if … Excerpt saved from GitHub on 2026-10-23. | Issue #37 · 2026-02 |
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) | 4 |
|---|---|
| GitHub stars | 110 |
| Latest version | 2024.4.0.0 (2026-10-01) |
| Set up in the UI | No, YAML |
| Maintainers | @syssi |
| License | Apache-2.0 |
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/xiaomi_raw
- Source code: https://github.com/syssi/xiaomi_raw
- Issues: https://github.com/syssi/xiaomi_raw/issues
- HACS: https://hacs.xyz