Smart home devices compatible with Apple HomeKit are often expensive.

A microwave radar motion sensor can sense motion through objects or a solid wall and offers greater coverage.

Also, a microwave radar sensor is more sensitive than a PIR-based passive motion sensor.

Person holding a phone with Gmail open on it

Flash the Firmware

For the D1 Mini board, we are going to use the firmware byHomeKid.

Also, you will need a Windows or macOS system and a micro USB cable.

If the password entered was wrong, the unit will start AP after some time.

A passive infrared motion sensor

you’re free to then again connect to the AP and enter the correct password.

In the Home app, tap on the+icon and chooseAdd Accessory.

TapMore Actions…and then tap on theMotion-XXXXaccessory.

flash the firmware to d1 mini

TapAdd Anywayand then enter the code1180-3193.

Choose the location where you will be installing the motion sensor and tapContinue.

Edit or change the name of the motion sensor.

connect phone to motion sensor access point

This is important for keeping track of multiple motion sensors.

you’re free to now see the motion sensor as an accessory under the room name.

You may also set up an automation to receive notifications on your iPhone whenever motion is detected.

connect to the wifi network

Otherwise, you could only use the sensor for motion detection.

connect pir motion sensor to d1 mini

add accessory in home app

tap on more options

tap on the diy motion sensor detected by home app

tap add anyway

enter the passcode to connect the diy homekit motion sensor to home app

choose a room or area where sensor will be installed

tap done to finish adding motion sensor to home app

motion is not detected

motion is detected by the sensor

automation requires apple tv or homepod