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
Multicast events from Aqara AC Partner #79
Comments
I'm not sure if this will help you, but here is issue i found with device actions
|
Thanks for opening an issue! The library tries to activate the developer mode automatically when it connects to the AC Partner Gateway.
|
@aholstenson Thank you for your reply
PS: I've added
|
It looks like miio has enabled the LAN protocol (developer API) so you should be seeing events coming in. The only thing that looks a bit weird is that it's listed as a generic model when you run discover. I'm currently looking at the multicast events as several users have reported similar issues and I've experienced a few weird cases when testing the gateway using different WiFi-setups. |
Can anyone confirm that
Currently, ac partner emitting just some dns traffic (udp/53), which I can fetch via tcpdump. Edit: Seems like ac partner (v1 and v2) are commented here - http://bbs.xiaomi.cn/t-13665990 But I've lost myself in translation. Google Translate did not help much here. |
Sorry I've been assuming that it supports the Developer API as its possible to call |
@aganov Let me do a quick translation for you. The result of discussion is no, AC partner failed to open port 9898, which normal gateway use. Another interesting thing is that in the latest iOS (Only) MiHome App Xiaomi open the entrance for AC partner to get gateway KEY. That's quite awkward because firmware itself didn't update to follow it. So even you get the KEY successfully, miIO could not get response of AC partner. |
Thank you for the translation and help with this. For now I'm thinking that the next release will implement support for the actual AC-control of the gateway and hide details about the child devices. Let's hope that support for the developer API is added later on, it would be nice for people to be able to use the AC Partner Gateway as the other gateway. |
Well, the good news finally launches. With the latest Device ID: 59846390
Model info: lumi.acpartner.v2
Address: 192.168.50.236
Token: xxxxx via stored token
Support: At least basic
Device ID: 158d0001872099
Model info: lumi.switch
Address: Owned by miio:59846390
Token: Automatic via parent device
Support: At least basic And I used I think finally the UDP/TCP port of AC partner is open and we can regard it as |
这篇帖子中还提到在
他认为无法使用9898端口的协议,但可以使用54321端口的协议。 Translate using Google Translate. |
不过当时他发贴的时候是伴侣的9898端口还未开放,现在倒是开放了,原因是绿米启用了二代的局域网通信协议。我还是希望绿米可以 Update 一下它们的技术文档这样让大家可以更清晰地探索这个问题。 |
Hello. Is it possible to enable
LAN Protocol
for the gateway, in order to accept device events from it? As I can seelumi.gateway.v3
have support for this feature, which can be enabled from the app. But when I try to enable it for the AC Partner (lumi.acparner.v1), instead of showing melocal area network communication protocol
switch, it's showing me some JSON with gateway information:I was able to fetch some device's data from
lumi.weather
sensors, But I want to receive events from the ac partner (gateway) such asclick
,dobleclick
from thelumi.switch
devices.Thanks!
The text was updated successfully, but these errors were encountered: