Xiaomi motion sensor hack

Aqara is a line of Xiaomi smart home product. My sensors are all the Aqara line.

I know, but I thought the picture was from an older model. Thanks

1 Like

Oh, sorry misunderstood. No they're not older. At least I don't think they are. All the boxes I received said Aqara on them. Mine are identical to the one in the ST post that @veeceeoh reposted here.

1 Like

Here's the direct link to the post with the video of him disassembling the sensor. Use Google Translate if your Korean is a little rusty :wink:

1 Like

Thanks!!

1 Like

Just noticed this in his post, which I missed before.

"This method is valid for both the original version of Xiaomi motion and the version of Aqara. In my case, I have modified 4 Xiaomi original versions and 4 Aqara versions and it works without any problems."

Yes, I just read all the korean post, question for you, will this impact the battery duration? Not sure if you been long time with this mod.

1 Like

I just did it today. He says in the ST forum that it has not had a noticeable effect after a year of use. I'm going to run the one I modded for a while and see if there's a change before I mod the others. My intention for the one I modded today is to run it off a 3v supply, so I'm not concerned with power drain for this particular one.

I wouldn't want the battery life to be shortened on my other Xiaomi sensors though. I'll probably leave it from now until I get back from Oregon in mid April. If it's the same, then I'll go ahead and mod the others. If there's significant battery drain after 6 months, I may remove it. The good thing is, it's even easier to remove the modification.

Oh, and there's a warning from @JDRoberts too. Something to consider.

1 Like

Thanks for the info, a year sounds good, I will try with one tomorrow.

1 Like

I don't believe people need a so sensitive motion sensor.
Ideally a 30secs would be ideally but I can't think of any use case where I use a 5sec motion sensor.

Thatโ€™s not an option with this sensor though. So Iโ€™ll take 5sec over 60sec personally.

I do have a very good use for the faster reset time. Going to use this at my front door to alert me and record video. This will allow me to trick Wyze into giving me several 12 second clips per event, instead of just one.

Iโ€™ll use Rule Machine to control the notification part, so I wonโ€™t get more than one per event.

1 Like

Excellent example, I just installed a Wyze cam in my front porch to help the ring doorbell. Could you add a little more info how to trick the wyze? IFTTT?

I did the mod in 5 minutes, pretty easy

1 Like

Yes, IFTTT. Right now I am getting a clip from the Wyze cam itself, and then when somebody presses my doorbell, I get another video clip. And if they press it again, I get another.

Not perfect, and there are some IFTTT delays. However it seems to be fast enough to do the job most of the time. Havenโ€™t put it into service yet, so maybe itโ€™s not going to work like I think, but it should be based on my experience with the doorbell.

1 Like

Thanks, I saw in the events that the motion sent the active state every 5 seconds but the inactive state still sent at 60 seconds, maybe using a triggered rule still works.

Still need to play with that part myself. Let me know what you learn.

I just created a triggered rule to test but unfortunately it will not trigger the rule again until the motion inactive state is sent at 60 seconds.
what other scenario can I do to test it?

Did you try setting a five second inactive timeout in the device details?

{Edit]
Just got back from a client's office. Tried that and it works. So @Somel, there's your answer for a custom timeout. You can adjust the settings in the device driver to be between 5 seconds and whatever you want. So if you enter 30 seconds, unlike before where it didn't actually go active again for 61 seconds, it will now go inactive in 30 seconds if that's what you enter in the driver and then immediately go active again when motion is detected.

I feel so dumb sometimes, I changed the setting and works great. Thanks

1 Like

Wow! This works incredibly well. I just setup an IFTTT trigger. It will keep queuing up the clips in Wyze. So you can essentially have free constant recording of events if you want. I'm going to limit it to 20 seconds. It seems to average around that amount of time before the clip is available in the Wyze app following detection. So I don't want to fill my events queue with more clips than are necessary per event.

This is exciting. I'm really looking forward to picking up my Google Home Hub now. So I'll implement this to also automatically show me the front door as soon as motion is detected by using Google Assistant Relay. This is awesome. I'm essentially getting the benefits of a Ring Doorbell, at the cost of a Wyze cam, a Xiaomi motion sensor, and a little bit of modification.