Skip to content
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

设备不可用 qjiang.acpartner.wb20 #1920

Open
doggyone opened this issue Nov 3, 2024 · 4 comments
Open

设备不可用 qjiang.acpartner.wb20 #1920

doggyone opened this issue Nov 3, 2024 · 4 comments

Comments

@doggyone
Copy link

doggyone commented Nov 3, 2024

Device model / 设备型号

qjiang.acpartner.wb20

Component version / 插件版本

0.7.21

HA core version / HA版本

2024.10.4

Integrated mode / 集成方式

Automatic (自动模式)

The problem / 问题详情

米家app中能操作该空调遥控器实体,也可以添加到Ha,但就是一直显示不可用
(之前均显示正常,最近一次重启之后就不可用了,同时更新了miot auto和ha均无法解决)

Entity attributes / 实体属性

hvac_modes:
  - auto
  - cool
  - heat
  - dry
  - fan_only
  - "off"
min_temp: 61
max_temp: 86
target_temp_step: 1
fan_modes:
  - auto
  - low
  - medium
  - high
swing_modes:
  - "off"
  - vertical
friendly_name: 卧室空调 Air Conditioner
supported_features: 425

Home Assistant Logs / 系统日志

此错误来自自定义集成。

日志记录器: custom_components.xiaomi_miot.climate
来源: custom_components/xiaomi_miot/init.py:1455
集成: Xiaomi Miot Auto (文档, 问题)
首次出现: 2024年11月3日 15:48:24 (2391 次总计出现)
上次记录: 01:50:11

卧室空调(qjiang.acpartner.wb20): Got MiioException while fetching the state: [Errno 101] Network unreachable, mapping: {'air_conditioner.on': {'siid': 3, 'piid': 1}, 'air_conditioner.mode': {'siid': 3, 'piid': 2}, 'air_conditioner.fault': {'siid': 3, 'piid': 3}, 'target_temperature-3-4': {'siid': 3, 'piid': 4}, 'matching_action.lightonoff': {'siid': 9, 'piid': 1}, 'match_state-8-1': {'siid': 8, 'piid': 1}, 'brand_id-8-4': {'siid': 8, 'piid': 4}, 'remote_id-8-5': {'siid': 8, 'piid': 5}, 'ac_type-8-6': {'siid': 8, 'piid': 6}, 'indicator_light.on': {'siid': 6, 'piid': 1}, 'indicator_light-6.switch_status': {'siid': 6, 'piid': 2}, 'indicator_light.brightness': {'siid': 6, 'piid': 3}, 'fan_control.fan_level': {'siid': 4, 'piid': 2}, 'fan_control.vertical_swing': {'siid': 4, 'piid': 4}}, max_properties: 7/14
客厅空调(qjiang.acpartner.wb20): Got MiioException while fetching the state: , mapping: {'air_conditioner.on': {'siid': 3, 'piid': 1}, 'air_conditioner.mode': {'siid': 3, 'piid': 2}, 'air_conditioner.fault': {'siid': 3, 'piid': 3}, 'target_temperature-3-4': {'siid': 3, 'piid': 4}, 'matching_action.lightonoff': {'siid': 9, 'piid': 1}, 'match_state-8-1': {'siid': 8, 'piid': 1}, 'brand_id-8-4': {'siid': 8, 'piid': 4}, 'remote_id-8-5': {'siid': 8, 'piid': 5}, 'ac_type-8-6': {'siid': 8, 'piid': 6}, 'indicator_light.on': {'siid': 6, 'piid': 1}, 'indicator_light-6.switch_status': {'siid': 6, 'piid': 2}, 'indicator_light.brightness': {'siid': 6, 'piid': 3}, 'fan_control.fan_level': {'siid': 4, 'piid': 2}, 'fan_control.vertical_swing': {'siid': 4, 'piid': 4}}, max_properties: 7/14
客厅空调(qjiang.acpartner.wb20): Got MiioException while fetching the state: Unable to discover the device 192.168.31.107, mapping: {'air_conditioner.on': {'siid': 3, 'piid': 1}, 'air_conditioner.mode': {'siid': 3, 'piid': 2}, 'air_conditioner.fault': {'siid': 3, 'piid': 3}, 'target_temperature-3-4': {'siid': 3, 'piid': 4}, 'matching_action.lightonoff': {'siid': 9, 'piid': 1}, 'match_state-8-1': {'siid': 8, 'piid': 1}, 'brand_id-8-4': {'siid': 8, 'piid': 4}, 'remote_id-8-5': {'siid': 8, 'piid': 5}, 'ac_type-8-6': {'siid': 8, 'piid': 6}, 'indicator_light.on': {'siid': 6, 'piid': 1}, 'indicator_light-6.switch_status': {'siid': 6, 'piid': 2}, 'indicator_light.brightness': {'siid': 6, 'piid': 3}, 'fan_control.fan_level': {'siid': 4, 'piid': 2}, 'fan_control.vertical_swing': {'siid': 4, 'piid': 4}}, max_properties: 7/14
卧室空调(qjiang.acpartner.wb20): Got MiioException while fetching the state: Unable to parse message payload, mapping: {'air_conditioner.on': {'siid': 3, 'piid': 1}, 'air_conditioner.mode': {'siid': 3, 'piid': 2}, 'air_conditioner.fault': {'siid': 3, 'piid': 3}, 'target_temperature-3-4': {'siid': 3, 'piid': 4}, 'matching_action.lightonoff': {'siid': 9, 'piid': 1}, 'match_state-8-1': {'siid': 8, 'piid': 1}, 'brand_id-8-4': {'siid': 8, 'piid': 4}, 'remote_id-8-5': {'siid': 8, 'piid': 5}, 'ac_type-8-6': {'siid': 8, 'piid': 6}, 'indicator_light.on': {'siid': 6, 'piid': 1}, 'indicator_light-6.switch_status': {'siid': 6, 'piid': 2}, 'indicator_light.brightness': {'siid': 6, 'piid': 3}, 'fan_control.fan_level': {'siid': 4, 'piid': 2}, 'fan_control.vertical_swing': {'siid': 4, 'piid': 4}}, max_properties: 7/14
客厅空调(qjiang.acpartner.wb20): Got MiioException while fetching the state: Unable to parse message payload, mapping: {'air_conditioner.on': {'siid': 3, 'piid': 1}, 'air_conditioner.mode': {'siid': 3, 'piid': 2}, 'air_conditioner.fault': {'siid': 3, 'piid': 3}, 'target_temperature-3-4': {'siid': 3, 'piid': 4}, 'matching_action.lightonoff': {'siid': 9, 'piid': 1}, 'match_state-8-1': {'siid': 8, 'piid': 1}, 'brand_id-8-4': {'siid': 8, 'piid': 4}, 'remote_id-8-5': {'siid': 8, 'piid': 5}, 'ac_type-8-6': {'siid': 8, 'piid': 6}, 'indicator_light.on': {'siid': 6, 'piid': 1}, 'indicator_light-6.switch_status': {'siid': 6, 'piid': 2}, 'indicator_light.brightness': {'siid': 6, 'piid': 3}, 'fan_control.fan_level': {'siid': 4, 'piid': 2}, 'fan_control.vertical_swing': {'siid': 4, 'piid': 4}}, max_properties: 7/14

@al-one al-one changed the title 设备不可用 设备不可用 qjiang.acpartner.wb20 Nov 4, 2024
@al-one
Copy link
Owner

al-one commented Nov 4, 2024

尝试master分支。

wget -O - https://get.hacs.vip | DOMAIN=xiaomi_miot ARCHIVE_TAG=master bash -

@doggyone
Copy link
Author

doggyone commented Nov 4, 2024

您好,更新以后显示设备不可用,同时之前的开关实体也没有了

@TamashiroSushi
Copy link

TamashiroSushi commented Nov 6, 2024

我也遇到同样的问题
插件版本 0.7.22
HA版本 2024.10.4
集成方式自动
设备型号 qjiang.acpartner.wb20
设备固件 2.0.5_0002(11月6日推送)

也是可添加,但显示不可用,无法交互。

编辑:在hass的configuration.yaml文件中添加下面回复的代码,可以正常使用了,非常感谢❤️

@al-one
Copy link
Owner

al-one commented Nov 18, 2024

Try:

# configuration.yaml
xiaomi_miot:
  device_customizes:
    qjiang.acpartner.wb20:
      chunk_properties: 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants