I think my sensor might be OK now.
When I first got it I had great difficulty in pairing it, and gave up a couple of times. When I eventually got it paired I had random triggering - frequently several times a day. I tried reading and setting the sensitivity but was unable to do so until ‘PrairieSnpr’ posted the technique (above).
Since I’ve been able to set and read the sensitivity I don’t seem to have random triggering, but I’m still giving it a bit more time.
When I tried the sensor with HA I assumed that it would be like the Sonoff Button and only trigger a zha_event and not show up as an entity, but I found that it in fact showed up as an entity and in operation didn’t trigger a zha_event. So far I can only get vibration, but not tilt or drop.
I’m testing the sensor using the Node-Red integration in HA. I find yaml very opaque and frustrating even though I’ve programmed in several languages (but not Java of Python).
FWIW, this is the Node-Red flow I’m using to test the device:
[{"id":"d0a83d36.35d8e8","type":"pushover","z":"bd0eed73.cd1508","name":"","device":"","title":"","priority":0,"sound":"bugle","url":"","url_title":"","html":false,"x":540,"y":180,"wires":[]}]
As you can see, I get an alert on my mobile 'phone if the sensor is triggered. If I decide that the device is reliable, like you I intend to use it in an intruder alert set-up.
I’m not very satisfied with the Aqara sensor, and look forward to Sonoff releasing one.
Jim