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

账户集成本地模式,外网断开重启ha,插件设备无法控制 #1640

Open
1269699120 opened this issue Apr 25, 2024 · 2 comments

Comments

@1269699120
Copy link

ha os版本12.0
ha cire版本 2024.3.0
xiaomi miot auto版本是0.7.16

bug:
xiaomi miot auto账号集成,选择本地模式,支持miot-local的设备。
在断网的时候,ha不重启的情况下,设备是可以正常使用。
在断网的情况下, ha重启无法使用,设备会显示为不可用
9b9a2cc8633666f92829ea0a5d6211fe
22309498bc1e294c01da7a8dea37e7ea
21be6e6924293114a1ae7017faf7aadc

局域网集成,就是固定ip+token,就可以在断网的时候, Ha也重启了,照样不受影响,可以继续使用

a00fb311d2c75b118b0c8fadbcb2daa7

630ea519d0e1013223f9b39e69586015

e26c71f42b3221199d14758b75963f0e

@1269699120 1269699120 changed the title 账户集成本地模式,外网断开重启ha插件设备无法控制 账户集成本地模式,外网断开重启ha,插件设备无法控制 Apr 25, 2024
@poo0ooq
Copy link

poo0ooq commented May 1, 2024

这个问题貌似很久之前就有,因此我全部换用了云执行。

我当时就这个问题大概看了一下,应该是本地网络重启之后,设备无法重新获取IP地址导致的,设备的地址还是之前的地址。

@1269699120
Copy link
Author

1269699120 commented May 1, 2024

这个问题貌似很久之前就有,因此我全部换用了云执行。

我当时就这个问题大概看了一下,应该是本地网络重启之后,设备无法重新获取IP地址导致的,设备的地址还是之前的地址。

我这边是把那个小米智能插座3的ip是固定的,然后ha重启的时候,小米智能插座3也没有断开wifi,我测试了很多遍的,问题是可以复现的。

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

2 participants