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

Steps of integrating Aqara M1S gen1 CN #247

Closed
vit5041 opened this issue Apr 5, 2024 · 7 comments
Closed

Steps of integrating Aqara M1S gen1 CN #247

vit5041 opened this issue Apr 5, 2024 · 7 comments

Comments

@vit5041
Copy link

vit5041 commented Apr 5, 2024

Hi!
can you please help.

I have this hub:

Model: lumi.gateway.acn01
Hardware version: Linux
Firmware version: 4.0.4_0006

(Added in Mi Home, telnet closed).

How to add it to AqaraGateway?

@niceboygithub
Copy link
Owner

You need to wired UART to clean telnet password first.
Another solution is that change to use hub E1. It is easier.

@vit5041
Copy link
Author

vit5041 commented Apr 6, 2024

OK, thank you.
I managed and steps on highlevel are:

  1. use gw_global_tool to clear admin password (on this step I did not flash modified firmware although it was offered, but for M2)
  2. open telnet through clicks.

in this condition I managed to integrate Gateway to HA but nothing was working there. So I come to conclusion that customized firmware is a must.

I powered off GW and in the next power on magic clicks didn't work anymore, I tried many times and reset GW. It switched to Aqara Home mode, I had to switch it to Mijia again, added to Mi Home, all previosly added devices were lost.

  1. Magic clicks worked again, I opened telnet and update firmware using "Flash M1S modified firmware method"

After that both Mi Home and Home Assistant work like charm.

So the key point — modified formware is a must and better to make it on first steps, through gw_global_tool or after, from telnet cli.

Hopefully it may be helpful.

@vit5041 vit5041 changed the title Please help with steps of integrating Aqara M1S gen1 CN Steps of integrating Aqara M1S gen1 CN Apr 6, 2024
@vit5041
Copy link
Author

vit5041 commented Apr 6, 2024

issue closed

@kai-zer-ru
Copy link
Contributor

#246 look here

@maodun96
Copy link

好的谢谢。 我管理的高级步骤是:

  1. 使用 gw_global_tool 清除管理员密码(在这一步中,我没有刷新修改后的固件,尽管提供了它,但对于 M2)
  2. 通过点击打开telnet。

在这种情况下,我设法将网关集成到 HA,但那里没有任何作用。所以我得出的结论是定制固件是必须的。

我关闭了 GW 电源,下次开机时魔法点击不再起作用,我尝试了很多次并重置了 GW。切换到Aqara Home模式,我只好再次切换到米家,添加到米家,之前添加的设备全都丢失了。

  1. 魔法点击再次起作用,我打开telnet并使用“Flash M1S修改固件方法”更新固件

之后,米家和家庭助理就都发挥了魅力。

因此,关键点 - 修改后的固件是必须的,并且最好在第一步中通过 gw_global_tool 或之后从 telnet cli 进行修改。

希望它可能有所帮助。

Is gw_global_tool used through a TTL connection?

@vit5041
Copy link
Author

vit5041 commented May 14, 2024

好的谢谢。 我管理的高级步骤是:

  1. 使用 gw_global_tool 清除管理员密码(在这一步中,我没有刷新修改后的固件,尽管提供了它,但对于 M2)
  2. 通过点击打开telnet。

在这种情况下,我设法将网关集成到 HA,但那里没有任何作用。所以我得出的结论是定制固件是必须的。
我关闭了 GW 电源,下次开机时魔法点击不再起作用,我尝试了很多次并重置了 GW。切换到Aqara Home模式,我只好再次切换到米家,添加到米家,之前添加的设备全都丢失了。

  1. 魔法点击再次起作用,我打开telnet并使用“Flash M1S修改固件方法”更新固件

之后,米家和家庭助理就都发挥了魅力。
因此,关键点 - 修改后的固件是必须的,并且最好在第一步中通过 gw_global_tool 或之后从 telnet cli 进行修改。
希望它可能有所帮助。

Is gw_global_tool used through a TTL connection?

Right, it works over TTL and Terra Term app.

@maodun96
Copy link

Thank you, I have also successfully carried out the operation in the same way as you.

@vit5041

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