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

Can't use HomeKit #33

Open
Damon-Shen opened this issue Jun 10, 2024 · 7 comments
Open

Can't use HomeKit #33

Damon-Shen opened this issue Jun 10, 2024 · 7 comments

Comments

@Damon-Shen
Copy link

Damon-Shen commented Jun 10, 2024

I have used the latest custom firmware(2.2.0_0000)
but I can't add a device using the apple home app,any one kown how to fix it?

ro.sys.name=Magic-Switch-S1E
ro.sys.model=lumi.switch.acn032
ro.sys.product=CJPKG01LM
ro.sys.spu=AG033
ro.sys.sku=AG026CNB01
ro.sys.ean13=6970504215962
ro.sys.manufacturer=Aqara
ro.sys.vendor=Lumi United Technology Co., Ltd.
ro.sys.fw_ver=2.2.0
ro.sys.build_num=0000
ro.sys.mi_fw_ver=1.0.3
ro.sys.mi_build_num=0000
ro.sys.hw_ver=1.0
ro.sys.acc_tags=red
@Damon-Shen
Copy link
Author

Damon-Shen commented Jun 10, 2024

I tried restarting the iPhone, changing the network environment, and flashing back to the original firmware, but nothing solved the problem. I could join HomeKit normally before turning on telnet.
here is console error log:

mDNSResponder: mDNSPlatformSendUDP got error 99 (Cannot assign requested address) sending packet to FF02:0000:0000:0000:0000:0000:0000:00FB on interface 192.168.49.1/wlan0/3
mDNSResponder: mDNSPlatformSendUDP got error 99 (Cannot assign requested address) sending packet to FF02:0000:0000:0000:0000:0000:0000:00FB on interface 192.168.49.1/wlan0/3
mDNSResponder: mDNSPlatformSendUDP got error 99 (Cannot assign requested address) sending packet to FF02:0000:0000:0000:0000:0000:0000:00FB on interface 192.168.49.1/wlan0/3
mDNSResponder: mDNS_Execute: SendResponses didn't send all its responses; will try again in one second
mDNSResponder: mDNS_Execute: SendResponses didn't send all its responses; will try again in one second
mDNSResponder: mDNS_Execute: SendResponses didn't send all its responses; will try again in one second

@Damon-Shen
Copy link
Author

BTW:Use Android aqara home to access the network

@maodun96
Copy link

@Damon-Shen 可能是你刷固件前没在hk把这个开关删掉。你去hk看看有没有这个设备,未响应的设备。我之前有遇到这个情况。
顺便问下老哥怎么刷回原版固件?

@Damon-Shen
Copy link
Author

@Damon-Shen 可能是你刷固件前没在hk把这个开关删掉。你去hk看看有没有这个设备,未响应的设备。我之前有遇到这个情况。 顺便问下老哥怎么刷回原版固件?

一开始的确没删掉,后来去删除了,但是还是死活加不进去,不知道啥情况了,刷回原版固件的话,把大佬的刷机脚本down下来以后,第88行,FW_TYPE=1改成FW_TYPE=0就刷回原版固件了

@ARC-MX
Copy link

ARC-MX commented Jul 28, 2024

想看问一下,如果现在是官方固件,没有开过telnet还能刷自定义固件吗

@spedja
Copy link

spedja commented Oct 23, 2024

Hi @Damon-Shen , did you find solution in the meantime ?
It seems indeed once you open telnet, authentication at HomeKit fails, could not be added anymore.
I got device with firmware 2.2.0_0000, flashed it to custom 2.2.0_0000 even downgraded to older (original) version 2.0.9_0006 and still failing. I am afraid that this procedure somehow breaks HomeKit integration ? Is there any case after opening telnet (with latest firmware) adding to HomeKit works ?
Since don't have any android, in order to add to Aqara, once added to Aqara, is possible to bound to HomeKit ?
Thanks!

@maodun96
Copy link

@Damon-Shen 可能是你刷固件前没在hk把这个开关删掉。你去hk看看有没有这个设备,未响应的设备。我之前有遇到这个情况。 顺便问下老哥怎么刷回原版固件?

一开始的确没删掉,后来去删除了,但是还是死活加不进去,不知道啥情况了,刷回原版固件的话,把大佬的刷机脚本down下来以后,第88行,FW_TYPE=1改成FW_TYPE=0就刷回原版固件了

老哥 我有个一个新发现,有关于homekit本身的机制。与此问题可能有关。

关闭路由器或者交换机中的IGMP侦听。当然这个是总开关,可以不关,具体应该关闭的其实是多播泛洪阻止。

一些路由器交换机可能有此功能,反而是傻瓜式的一些设备不会有此功能。

我在用scypted的时候发现的,折腾了好久才发现我的交换机开了此功能。
所以我的S1E在正常添加homekit的时候没问题,反向添加到HA的时候就会经常卡住。(因为HA在交换机下)

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

4 participants