Aqara Motion Sensor P1
Installation on Home Assistant:
We are also going to install this motion detector with the free Home Assistant software. As hardware we use a Raspberry pi 3 that you can buy for less than 50 euros.
This sensor works via the Zigbee 3.0 protocol, to get it working with Home Assistant you need a gateway/controller. We are going to use the Conbee 2 USB stick for this.
The first step (if you haven't already done so) is to install this stick on Home Assistant. It is a matter of plugging the stick into the PI and then going to the configuration/integrations. You will see him immediately. Now you have to go through some steps and it will be added automatically.
Now we have a controller and we can add the sensor. We go to our settings, integrations and click on the devices of the Conbee stick. You will then see a button "add device" at the bottom left to start adding. Now we keep the button on the back pressed until the LED on the front 3 starts blinking.
We see that HASS finds him quite immediately. What is noticeable when the configuration is finished, and when we look at the nodes, we see that there is no LUX meter, but after a reboot of Home Assistant we do see it and the values come in.
If we hold a hand in front of the sensor, we see that a "motion signal" is sent to the controller. We also see the LUX value and the battery level. There are also configuration options to set the detection time, sensitivity. You can also turn the LED on/off. But if we try to change something here, nothing happens and it jumps back to the previous value. So this is not working as it should yet.