niceboygithub / AqaraGateway

Aqara Gateway/Hub integration for Home Assistant
505 stars 66 forks source link

Please help find out UART pins for Aqara M1S 2022 #233

Closed Kunjinkao0 closed 6 months ago

Kunjinkao0 commented 6 months ago

Hi there, I have a Aqara M1s 2022 version of my gateway, I want to downgrade its firmware but when I pry it out, I see there is no indicators to show which pin is RX/TX and GRD, I'm not familiar with how these hardware works, can somebody tell me if you had some experience on which pins are the correct ones? Really appreciate your help!

Front: front

Back: back

niceboygithub commented 6 months ago

I forgot the exact the pins but it is easy to find out.

image

These are the three pins. You can find out the ground first. Use multi-meter to find the ground pin. Then the other two pins are tx and rx pins.

Kunjinkao0 commented 6 months ago

@niceboygithub great thanks! And i may still need one more help on this, do you know where can i support its 3.3V volt power? in which pin maybe? i just can't plug it into 220V directly which is really scared 😢

niceboygithub commented 6 months ago

No idea. I use the AC supply to M1S 2022z

Kunjinkao0 commented 6 months ago

Appreciate your response! Thank you! @niceboygithub

mcmichaelchan commented 5 months ago

@Kunjinkao0 Have you successfully found the pins?