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

重启或者重新配置Xiaomihome插件时空气净化器4pro总是会自动开启 #490

Open
Lynds-007 opened this issue Dec 28, 2024 · 7 comments
Assignees

Comments

@Lynds-007
Copy link

Describe the Bug / 描述问题

重启或者重新配置Xiaomihome插件时空气净化器4pro总是会自动开启

How to Reproduce / 复现步骤

重启HA或者重新配置Xiaomihome插件时空气净化器4pro总是会自动开启,有时候莫名其妙会自动打开

Expected Behavior / 预期结果

修复

Reproduce Time / 问题复现的时间点

2024-12-29 05:20

Home Assistant Logs / 系统日志

Log Timezone / 日志时区

上海

Home Assistant Core Version / Home Assistant Core 版本

2024.11.0

Home Assistant Operation System Version / Home Assistant Operation System 版本

13.0

Xiaomi Home Integration Version / 米家集成版本

V0.1.3

Additional Context / 其他说明

@Lynds-007
Copy link
Author

IMG_8652
IMG_8651

@topsworld
Copy link
Contributor

您好,麻烦检查下空气净化器实际状态,集成重启会刷新设备状态,所以会有相关状态更新消息

@topsworld topsworld self-assigned this Dec 29, 2024
@Lynds-007
Copy link
Author

实际状态为关闭状态,刷新设备状态后,获取到了已关闭状态,而后又获取为开启状态,设备实际状态为关闭。
IMG_8653
IMG_8654

@Lynds-007
Copy link
Author

此错误来自自定义集成。

日志记录器: custom_components.xiaomi_home.miot.miot_client
来源: custom_components/xiaomi_home/miot/miot_client.py:1492
集成: Xiaomi Home (文档, 问题)
首次出现: 14:27:51 (3 次总计出现)
上次记录: 14:28:00

refresh props failed, cloud, ['782337254|12|5', '782337254|12|4', '782337254|12|3', '782337254|12|2', '782337254|12|1', '782337254|9|6', '782337254|9|1', '782337254|9|4', '781669376|12|5', '781669376|12|4', '781669376|12|3', '781669376|12|2', '781669376|12|1', '781669376|9|6', '781669376|9|1', '781669376|9|4', '781599499|12|5', '781599499|12|4', '781599499|12|3', '781599499|12|2', '781599499|12|1', '781599499|9|6', '781599499|9|1', '781599499|9|4']
refresh props failed, cloud, ['781646676|12|5', '781646676|12|4', '781646676|12|3', '781646676|12|2', '781646676|12|1', '781646676|9|6', '781646676|9|1', '781646676|9|4', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|4|3', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|4|2', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|3|2', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|3|1', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|13', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|12', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|11', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|10', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|9', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|8', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|4|8', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|4|1', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|3|4', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|3|3', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|17', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|14', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|18', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|16', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|7', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|6', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|5', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|3', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|2', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|1', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|5|6', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|4|5', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|4|4', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|3|6', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|3|5', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|15', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|4', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|5|7', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|4|10', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|4|9', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|4|7', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|4|6', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|3|8', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|3|7', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|5|5', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|5|3', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|5|4', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|5|1', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|5|2', '781646503|12|5', '781646503|12|4', '781646503|12|3', '781646503|12|2', '781646503|12|1', '781646503|9|6', '781646503|9|1', '781646503|9|4', '780559076|12|5', '780559076|12|4', '780559076|12|3', '780559076|12|2', '780559076|12|1', '780559076|9|6', '780559076|9|1']
refresh props failed, cloud, ['463883634|3|9', '463883634|3|10', '463883634|3|12', '463883634|3|13', '463883634|3|15', '463883634|3|16', '463883634|3|18', '463883634|3|19', '463883634|3|3', '463883634|3|4', '463883634|3|5', '463883634|3|6', '463883634|3|7', '463883634|3|8', '463883634|3|11', '463883634|3|14', '463883634|3|17', '463883634|3|20', '463883634|3|22']

@moonerick
Copy link

我也遇到了类似问题,现在是我删除了所有关于空气净化器的智能化条件,卸载了xiaomi_home后机器依然会一直关机-开机循环

@topsworld
Copy link
Contributor

此错误来自自定义集成。

日志记录器: custom_components.xiaomi_home.miot.miot_client 来源: custom_components/xiaomi_home/miot/miot_client.py:1492 集成: Xiaomi Home (文档, 问题) 首次出现: 14:27:51 (3 次总计出现) 上次记录: 14:28:00

refresh props failed, cloud, ['782337254|12|5', '782337254|12|4', '782337254|12|3', '782337254|12|2', '782337254|12|1', '782337254|9|6', '782337254|9|1', '782337254|9|4', '781669376|12|5', '781669376|12|4', '781669376|12|3', '781669376|12|2', '781669376|12|1', '781669376|9|6', '781669376|9|1', '781669376|9|4', '781599499|12|5', '781599499|12|4', '781599499|12|3', '781599499|12|2', '781599499|12|1', '781599499|9|6', '781599499|9|1', '781599499|9|4'] refresh props failed, cloud, ['781646676|12|5', '781646676|12|4', '781646676|12|3', '781646676|12|2', '781646676|12|1', '781646676|9|6', '781646676|9|1', '781646676|9|4', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|4|3', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|4|2', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|3|2', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|3|1', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|13', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|12', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|11', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|10', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|9', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|8', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|4|8', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|4|1', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|3|4', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|3|3', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|17', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|14', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|18', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|16', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|7', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|6', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|5', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|3', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|2', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|1', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|5|6', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|4|5', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|4|4', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|3|6', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|3|5', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|15', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|2|4', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|5|7', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|4|10', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|4|9', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|4|7', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|4|6', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|3|8', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|3|7', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|5|5', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|5|3', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|5|4', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|5|1', 'miwifi.49e10b4d-321b-3e17-cf99-0f6cbfd6561c|5|2', '781646503|12|5', '781646503|12|4', '781646503|12|3', '781646503|12|2', '781646503|12|1', '781646503|9|6', '781646503|9|1', '781646503|9|4', '780559076|12|5', '780559076|12|4', '780559076|12|3', '780559076|12|2', '780559076|12|1', '780559076|9|6', '780559076|9|1'] refresh props failed, cloud, ['463883634|3|9', '463883634|3|10', '463883634|3|12', '463883634|3|13', '463883634|3|15', '463883634|3|16', '463883634|3|18', '463883634|3|19', '463883634|3|3', '463883634|3|4', '463883634|3|5', '463883634|3|6', '463883634|3|7', '463883634|3|8', '463883634|3|11', '463883634|3|14', '463883634|3|17', '463883634|3|20', '463883634|3|22']

这个日志是正常的,是不是空气净化器配置了一些自启逻辑?

@Lynds-007
Copy link
Author

并没有配置相关逻辑,看日志是获取了空气净化器的状态后,会自己变为打开。

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

No branches or pull requests

3 participants