Fed up with motion detectors failing

One option would be to look at the Xiaomi Motion Detector.

They are about a tenner and I can’t fault them. Footprint is a lot smaller than the ST ones as well.

See this post and the associated thread for more information:

I use these guys:

Be prepared to wait a couple of weeks for delivery.