-
-
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
viomi.fridge.x4冰箱 Freezing Chamber Target Temperature 不可用 #1426
Comments
这个问题在许多云米冰箱上都可以复现,表现为冷藏室的调节温度实体和冷冻室的调节温度实体不能共存,同时只能有一个可用,另一个会变为不可用。 个人推测问题的源头可能为云米冰箱的两者miot属性命名相同,例如本例中 miot spec: 区别是一个是冷藏室温度调节,一个是冷冻室温度调节。 两者在插件会都会生成一个叫number.viomi_x4_XXXX_target_temperature的实体(初始enity_id相同) |
midjd6.fridge.540 |
对应日志: homeassistant | 2024-03-26 20:54:28.080 ERROR (MainThread) [homeassistant.components.number] Platform xiaomi_miot does not generate unique IDs. ID xx:xx:xx:xx:xx:xx-fridge_chamber-4.target_temperature-2 is already used by number.midjd6_540_bf5b_target_temperature_2 - ignoring number.midjd6_540_bf5b_target_temperature |
此问题貌似在最新版本依旧 |
我用自动化解决了 |
@qq610368720 你好,这个可能还是没有解决,看看能不能麻烦reopen下 |
你看一下 我上面说的用自动化 |
@qq610368720 麻烦编辑下,用代码块,防止markdown格式化。 |
上面已经编辑了 |
给有需要的小伙伴
|
对于该型号(对开门540L 冰晶岩):
|
重启了HA之后,又不行了。看日志,自动任务是执行了的。 |
要不把时间改短一些试一下,2分钟,1分钟,30秒?我这边目前没问题 |
重启后,又手动执行的。执行完之后去看,还是没效果。 |
你看一下你的,冷藏室和冷冻室温度传感器的属性,你要选择对,你看一下对比,就知道选哪一个了, |
Device model / 设备型号
viomi.fridge.x4
Component version / 插件版本
0.7.13
HA core version / HA版本
2023.12.2
Integrated mode / 集成方式
Automatic (自动模式)
The problem / 问题详情
viomi.fridge.x4冰箱 Freezing Chamber Target Temperature 不可用
Entity attributes / 实体属性
Home Assistant Logs / 系统日志
风扇(dmaker.fan.p9): Got MiioException while fetching the state: Unable to discover the device 192.168.31.89, mapping: {'fan.on': {'siid': 2, 'piid': 1}, 'fan.fan_level': {'siid': 2, 'piid': 2}, 'fan.mode': {'siid': 2, 'piid': 4}, 'fan.horizontal_swing': {'siid': 2, 'piid': 5}, 'fan.horizontal_angle': {'siid': 2, 'piid': 6}, 'fan.alarm': {'siid': 2, 'piid': 7}, 'fan.off_delay_time': {'siid': 2, 'piid': 8}, 'fan.brightness': {'siid': 2, 'piid': 9}, 'fan.speed_level': {'siid': 2, 'piid': 11}, 'indicator_light.on': {'siid': 5, 'piid': 1}, 'alarm': {'siid': 4, 'piid': 1}, 'physical_controls_locked': {'siid': 3, 'piid': 1}}, max_properties: 6/12
11:42:49 – (ERROR) Xiaomi Miot Auto (自定义集成) - 消息首次出现在 09:29:46,显示了 267 次
加湿器(deerma.humidifier.mjjsq): Got MiioException while fetching the state: Unable to discover the device 192.168.11.71, mapping: {'humidifier.on': {'siid': 2, 'piid': 1}, 'humidifier.fan_level': {'siid': 2, 'piid': 2}, 'humidifier.target_humidity': {'siid': 2, 'piid': 3}, 'humidifier.water_status': {'siid': 2, 'piid': 102}, 'humidifier.tank_status': {'siid': 2, 'piid': 103}, 'indicator_light.on': {'siid': 5, 'piid': 1}, 'alarm': {'siid': 4, 'piid': 1}, 'environment.relative_humidity': {'siid': 3, 'piid': 1}, 'environment.temperature': {'siid': 3, 'piid': 2}}, max_properties: 10/9
11:42:28 – (ERROR) Xiaomi Miot Auto (自定义集成) - 消息首次出现在 09:29:47,显示了 134 次
扫地机器人(roborock.vacuum.t6): Got MiioException while fetching the state: Unable to discover the device 192.168.31.174, mapping: {'vacuum.status': {'siid': 2, 'piid': 1}, 'vacuum.mode': {'siid': 2, 'piid': 2}, 'battery_level': {'siid': 3, 'piid': 1}}, max_properties: 10/3
11:42:28 – (ERROR) Xiaomi Miot Auto (自定义集成) - 消息首次出现在 09:29:47,显示了 134 次
Setup of vacuum platform xiaomi_miot is taking over 10 seconds.
11:06:23 – (WARNING) 扫地机 - 消息首次出现在 09:29:52,显示了 2 次
Setup of humidifier platform xiaomi_miot is taking over 10 seconds.
11:06:23 – (WARNING) 加湿器
Request xiaomi api: user/get_user_device_data {'did': 'lumi.158d0005449d62', 'key': 'device_log', 'type': 'prop', 'time_start': 1702262627, 'time_end': 1702521887, 'limit': 1} failed, response: None
10:43:58 – (WARNING) Xiaomi Miot Auto (自定义集成)
The text was updated successfully, but these errors were encountered: