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.59k stars 650 forks source link

空调插座一会可用一会不可用 #1718

Open epis2048 opened 4 months ago

epis2048 commented 4 months ago

Device model / 设备型号

lumi.acpartner.mcn02

Component version / 插件版本

0.7.18

HA core version / HA版本

2024.5.5

Integrated mode / 集成方式

Automatic (自动模式)

The problem / 问题详情

空调插座一会可用一会不可用 image 尝试断电重启过插座,还是不行

Entity attributes / 实体属性

climate.lumi_mcn02_abbb_air_conditioner

Home Assistant Logs / 系统日志

空调插座(lumi.acpartner.mcn02): Got MiioException while fetching the state: Unable to discover the device 192.168.0.107, mapping: {'air_conditioner.on': {'siid': 2, 'piid': 1}, 'air_conditioner.mode': {'siid': 2, 'piid': 2}, 'target_temperature-2-3': {'siid': 2, 'piid': 3}, 'electric_power-5-1': {'siid': 5, 'piid': 1}, 'match_state-4-1': {'siid': 4, 'piid': 1}, 'ac_work_mode-4-2': {'siid': 4, 'piid': 2}, 'ac_state-4-3': {'siid': 4, 'piid': 3}, 'fan_control.fan_level': {'siid': 3, 'piid': 1}, 'fan_control.vertical_swing': {'siid': 3, 'piid': 2}}, max_properties: 10/9

epis2048 commented 4 months ago

设备IP从米家APP看和从路由器看都没有问题,容器内也可以ping通该IP