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

全部Aqara双路开关都不可用 #426

Closed
TerryBusy opened this issue Feb 9, 2022 · 7 comments
Closed

全部Aqara双路开关都不可用 #426

TerryBusy opened this issue Feb 9, 2022 · 7 comments
Labels
bug Something isn't working device: switch fixed bug fixed

Comments

@TerryBusy
Copy link

capture_20220209225658272
更新完之后其他都没问题,HA里面就是Aqara双路开关用不了,重载一下之后可以用,但是很快就变得不可用。

@al-one
Copy link
Owner

al-one commented Feb 10, 2022

请检查插件是否是最新的版本,并检查有无相关error/warning日志

@TerryBusy
Copy link
Author

插件是0.5.2
2022-02-09 22:45:47 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.lumi_ctrl_ln2_aq1_39a7_right_switch_service is taking over 10 seconds
2022-02-09 22:47:59 ERROR (MainThread) [homeassistant.components.switch] Platform xiaomi_miot does not generate unique IDs. ID lumi.158d00024001e3-3c8ecea7afca0a941b33bfa10bac5c60-2 is already used by switch.lumi_ctrl_ln2_aq1_01e3_left_switch_service - ignoring xiaomi_miot.lumi_ctrl_ln2_aq1_01e3_left_switch_service
2022-02-09 22:47:59 ERROR (MainThread) [homeassistant.components.switch] Platform xiaomi_miot does not generate unique IDs. ID lumi.158d00024001e3-3c8ecea7afca0a941b33bfa10bac5c60-3 is already used by switch.lumi_ctrl_ln2_aq1_01e3_right_switch_service - ignoring xiaomi_miot.lumi_ctrl_ln2_aq1_01e3_right_switch_service
2022-02-09 22:47:59 ERROR (MainThread) [homeassistant.components.switch] Platform xiaomi_miot does not generate unique IDs. ID lumi.158d00024239a7-3c8ecea7afca0a941b33bfa10bac5c60-2 is already used by switch.lumi_ctrl_ln2_aq1_39a7_left_switch_service - ignoring xiaomi_miot.lumi_ctrl_ln2_aq1_39a7_left_switch_service
2022-02-09 22:47:59 ERROR (MainThread) [homeassistant.components.switch] Platform xiaomi_miot does not generate unique IDs. ID lumi.158d00024239a7-3c8ecea7afca0a941b33bfa10bac5c60-3 is already used by switch.lumi_ctrl_ln2_aq1_39a7_right_switch_service - ignoring xiaomi_miot.lumi_ctrl_ln2_aq1_39a7_right_switch_service
2022-02-09 22:48:08 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities switch.lumi_ctrl_ln2_aq1_39a7_right_switch_service
2022-02-09 22:48:41 ERROR (MainThread) [homeassistant.components.switch] Platform xiaomi_miot does not generate unique IDs. ID lumi.158d00024001e3-3c8ecea7afca0a941b33bfa10bac5c60-2 is already used by switch.lumi_ctrl_ln2_aq1_01e3_left_switch_service - ignoring xiaomi_miot.lumi_ctrl_ln2_aq1_01e3_left_switch_service
2022-02-09 22:48:42 ERROR (MainThread) [homeassistant.components.switch] Platform xiaomi_miot does not generate unique IDs. ID lumi.158d00024001e3-3c8ecea7afca0a941b33bfa10bac5c60-3 is already used by switch.lumi_ctrl_ln2_aq1_01e3_right_switch_service - ignoring xiaomi_miot.lumi_ctrl_ln2_aq1_01e3_right_switch_service
2022-02-09 22:48:42 ERROR (MainThread) [homeassistant.components.switch] Platform xiaomi_miot does not generate unique IDs. ID lumi.158d00024239a7-3c8ecea7afca0a941b33bfa10bac5c60-2 is already used by switch.lumi_ctrl_ln2_aq1_39a7_left_switch_service - ignoring xiaomi_miot.lumi_ctrl_ln2_aq1_39a7_left_switch_service
2022-02-09 22:48:42 ERROR (MainThread) [homeassistant.components.switch] Platform xiaomi_miot does not generate unique IDs. ID lumi.158d00024239a7-3c8ecea7afca0a941b33bfa10bac5c60-3 is already used by switch.lumi_ctrl_ln2_aq1_39a7_right_switch_service - ignoring xiaomi_miot.lumi_ctrl_ln2_aq1_39a7_right_switch_service
2022-02-09 22:49:33 ERROR (MainThread) [homeassistant.components.switch] Platform xiaomi_miot does not generate unique IDs. ID lumi.158d00024001e3-3c8ecea7afca0a941b33bfa10bac5c60-2 is already used by switch.lumi_ctrl_ln2_aq1_01e3_left_switch_service - ignoring xiaomi_miot.lumi_ctrl_ln2_aq1_01e3_left_switch_service
2022-02-09 22:49:33 ERROR (MainThread) [homeassistant.components.switch] Platform xiaomi_miot does not generate unique IDs. ID lumi.158d00024001e3-3c8ecea7afca0a941b33bfa10bac5c60-3 is already used by switch.lumi_ctrl_ln2_aq1_01e3_right_switch_service - ignoring xiaomi_miot.lumi_ctrl_ln2_aq1_01e3_right_switch_service
2022-02-09 22:49:34 ERROR (MainThread) [homeassistant.components.switch] Platform xiaomi_miot does not generate unique IDs. ID lumi.158d00024239a7-3c8ecea7afca0a941b33bfa10bac5c60-2 is already used by switch.lumi_ctrl_ln2_aq1_39a7_left_switch_service - ignoring xiaomi_miot.lumi_ctrl_ln2_aq1_39a7_left_switch_service
2022-02-09 22:49:34 ERROR (MainThread) [homeassistant.components.switch] Platform xiaomi_miot does not generate unique IDs. ID lumi.158d00024239a7-3c8ecea7afca0a941b33bfa10bac5c60-3 is already used by switch.lumi_ctrl_ln2_aq1_39a7_right_switch_service - ignoring xiaomi_miot.lumi_ctrl_ln2_aq1_39a7_right_switch_service
2022-02-09 22:52:32 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities switch.lumi_ctrl_ln2_aq1_39a7_left_switch_service

@al-one
Copy link
Owner

al-one commented Feb 10, 2022

请将此设备通过米家共享给账号143050915

子设备可能需要先共享网关,再通过米家首页长按设备共享。

@nnkn
Copy link

nnkn commented Feb 12, 2022

@TerryBusy 我也是和你一样的情况,不过我有点怀疑是已经用Xiaomi Gateway Aqara这个集成添加了设备的原因
image

@NV3S
Copy link

NV3S commented Feb 18, 2022

一样的问题。双键的添加/更新后大概30s是好的,之后就灰色了。然后单键开关,没有这个问题。但我没有用#426 (comment) 这个集成去添加过设备。

al-one added a commit that referenced this issue Feb 19, 2022
@al-one al-one added bug Something isn't working fixed bug fixed labels Feb 19, 2022
@al-one
Copy link
Owner

al-one commented Feb 19, 2022

该设备在查询power_consumption.electric_power属性时,小米接口会返回错误{"code":-3,"message":"timeout","result":[]},因此最新的提交中移除该属性。目前已能够正常获取开关状态,请更新到master分支。

@NV3S
Copy link

NV3S commented Feb 19, 2022

fixed

@al-one al-one closed this as completed Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working device: switch fixed bug fixed
Projects
None yet
Development

No branches or pull requests

4 participants