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.63k stars 663 forks source link

电小酷 CP5连接不稳定,频繁出现不可用/可用状态之间转换 #1646

Open palmarytech opened 6 months ago

palmarytech commented 6 months ago

Device model / 设备型号

cuco.plug.cp5pro & cuco.plug.cp5d Firmware: 2.1.3_0001

Component version / 插件版本

0.7.17

HA core version / HA版本

2024.4.3

Integrated mode / 集成方式

Automatic (自动模式)

The problem / 问题详情

image

Entity attributes / 实体属性

image

Home Assistant Logs / 系统日志

This error originated from a custom integration.

Logger: custom_components.xiaomi_miot.switch Source: custom_components/xiaomi_miot/init.py:1432 integration: Xiaomi Miot Auto (documentation, issues) First occurred: April 27, 2024 at 21:13:17 (10090 occurrences) Last logged: 20:01:20

电视控制(cuco.plug.cp5d): Got MiioException while fetching the state: Unable to discover the device 192.168.3.232, mapping: {'switch-4.on': {'siid': 4, 'piid': 1}}, max_properties: 6/1 客厅智能排插分控001(cuco.plug.cp5pro): Got MiioException while fetching the state: Unable to discover the device 192.168.3.230, mapping: {'switch-7.on': {'siid': 7, 'piid': 1}, 'switch-7.status': {'siid': 7, 'piid': 2}, 'switch-7.status-3': {'siid': 7, 'piid': 3}, 'switch-7.status-4': {'siid': 7, 'piid': 4}, 'switch-7.mode': {'siid': 7, 'piid': 5}}, max_properties: 8/5 电视控制(cuco.plug.cp5d): Got MiioException while fetching the state: Unable to discover the device 192.168.3.232, mapping: {'switch-6.on': {'siid': 6, 'piid': 1}}, max_properties: 6/1 客厅智能排插分控001(cuco.plug.cp5pro): Got MiioException while fetching the state: Unable to discover the device 192.168.3.230, mapping: {'switch-3.on': {'siid': 3, 'piid': 1}}, max_properties: 6/1 电视插座(chuangmi.plug.m1): Got MiioException while fetching the state: Unable to discover the device 192.168.3.210, mapping: {'switch.on': {'siid': 2, 'piid': 1}, 'switch.temperature': {'siid': 2, 'piid': 2}, 'indicator_light.on': {'siid': 3, 'piid': 1}}, max_properties: 10/3

YikLiu93 commented 6 months ago

我换成云端模式就好了。。。

palmarytech commented 6 months ago

我换成云端模式就好了。。。

具体怎么操作,自定义属性?

yun59t commented 6 months ago

自动模式就一直非常不稳定,跳来跳去,应该是电小酷是支持本地的,但支持的又不太好

YikLiu93 commented 6 months ago

我换成云端模式就好了。。。

具体怎么操作,自定义属性?

你添加cp5的时候不要选自动,选择云端,我之前本地也是一直这样,有时候就会激活不了自动化,换了云端就感觉好很多了,你可以试试