-
-
Notifications
You must be signed in to change notification settings - Fork 705
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
米家恒温电水壶2 Pro 缺少实体 #1036
Comments
请尝试master分支。 |
米家上是通过什么操作开始加热的? |
请参考上述方法,通过vevs修改版的米家操作设备,抓取该设备日志。 |
192.168.50.4 192.168.50.4 2023-03-02 18:40:38 -> {"id":8381,"method":"get_properties","params":[{"did":"621059839","siid":5,"piid":5},{"did":"621059839","siid":5,"piid":6},{"did":"621059839","siid":3,"piid":7},{"did":"621059839","siid":3,"piid":11},{"did":"621059839","siid":3,"piid":8}]} |
{"id":8385,"method":"set_properties","params":[
{"did":"621059839","siid":2,"piid":4,"value":99}, # target-temperature
{"did":"621059839","siid":2,"piid":5,"value":true}, # auto-keep-warm
{"did":"621059839","siid":2,"piid":6,"value":45}, # keep-warm-temperature
{"did":"621059839","siid":3,"piid":1,"value":720}, # keep-warm-time
{"did":"621059839","siid":3,"piid":11,"value":1} # target-mode
]} 从你的日志中可以看出,在设置完参数后,通过设置 |
我也遇到这个情况了,改温度可以烧水,但是target-mode改成1还是别的值都无效 |
alias: 保温脚本
sequence:
- if:
- condition: template
value_template: >-
{{state_attr("water_heater.yunmi_v19_0b79_kettle","kettle.auto_keep_warm")}}
then:
- service: water_heater.set_temperature
target:
entity_id: water_heater.yunmi_v19_0b79_kettle
data:
temperature: >-
{{state_attr("water_heater.yunmi_v19_0b79_kettle","kettle.keep_warm_temperature")}}
operation_mode: "1"
- delay:
hours: 0
minutes: 0
seconds: 6
milliseconds: 0
- service: switch.turn_on
metadata: {}
data: {}
target:
entity_id: switch.yunmi_v19_0b79_auto_keep_warm
else:
- service: water_heater.set_temperature
target:
entity_id: water_heater.yunmi_v19_0b79_kettle
data:
temperature: >-
{{state_attr("water_heater.yunmi_v19_0b79_kettle","kettle.keep_warm_temperature")}}
operation_mode: "1"
mode: single
icon: mdi:kettle 实际测试,上述脚本有效,煮沸逻辑类似,直接把temperature固定设置为99。借助miot的实体黑盒测试过程,发现有几个点:
希望对各位和作者有帮助 |
Device model / 设备型号
yunmi.kettle.v19
Component version / 插件版本
0.7.5
HA core version / HA版本
2023.2.5
Integrated mode / 集成方式
Automatic (自动模式)
The problem / 问题详情
控件只显示工作状态、当前温度,不显示保温时间,并只可以调整要升到的温度(40-99度),无法煮沸,无法控温,无法调整控温时间
Entity attributes / 实体属性
https://home.miot-spec.com/spec/yunmi.kettle.v19
Home Assistant Logs / 系统日志
无
The text was updated successfully, but these errors were encountered: