al-one / hass-xiaomi-miot

Automatic integrate all Xiaomi devices to HomeAssistant via miot-spec, support Wi-Fi, BLE, ZigBee devices. 小米米家智能家居设备接入Hass集成
https://miot-spec.com
Apache License 2.0
4.47k stars 627 forks source link

New device: Xiaomi electric steamer MES01 #1617

Open evadim opened 6 months ago

evadim commented 6 months ago

Device model / 设备型号

xiaomi.esteamer.mes01

Component version / 插件版本

0.7.17

HA core version / HA版本

core-2024.3.3

Integrated mode / 集成方式

Automatic (自动模式)

The problem / 问题详情

New device. When I add integration, dialog show it on exclude/include mode, but after configuration completed I don't see it it.

Entity attributes / 实体属性

Miot spec page: https://home.miot-spec.com/spec/xiaomi.esteamer.mes01

Home Assistant Logs / 系统日志

No mention in logs.

al-one commented 5 months ago

Try master branch.

evadim commented 5 months ago

As I can see by commits changes are in v0.7.18 already so I have tested this release. Steamer appeared on integration page - thank you very much!

For first look all the settings are in place but I found some quirks:

  1. It looks like there is no way to wake up Steamer from sleep via HA. It reacts to any button in HA by short beep but nothing else happened. (In Mi Home App start cooking woke up device)
  2. In HA I see status entity with type Switch (i.e. switch.xiaomi_mes01_411b_electric_steamer_status) with some numeric attributes. It should be some indicator (test sensor?) with map of statuses from "PIID 1" in Spec page as it represent current cooking status - idle, steam, pause etc (and I see those names on States page in HA for select.xiaomi_mes01_411b_mode entity ). Switch itself does nothing and bounce back after few seconds if pressed.
  3. I found no way to change cooking time. Not target time number field (number.xiaomi_mes01_411b_target_time), nor drop-down target time selector (select.xiaomi_mes01_411b_target_time) helps.

General buttons: start / pause / resume / cansel works. Mode selector (PIID 3) also works.

Usual way to use it on device buttons: select mode, change time, press start. In Mi Home app I choose mode, then on next page select time, keep warm mode and press start and it start cooking even from sleep mode. Via HA it impossible for now because I'm unable to wake up and change cooking time.

But I will do more tests.