I bought my two sensors two years ago now. Haven't had to replace the batteries yet and no connection issues or anything. I use one of them to turn on the lights at my front door when I open it and it's always done it's job quickly. Z-wave so ofc you'll need a dongle.
I have some cheap ass Tuya Zigbee sensors from AliExpress. In my experience they are reliable, quite small, i sill haven't changed the battery, and they are super cheap. Make sure you get the Zigbee ones, not the wifi version.
Alternatively, if you're keen to tinker a bit you can get an SDR and then use 433MHz sensors. (Requires using RTL_433 and MQTT).
I was able to use the existing sensors from my traditional security system this way. Nice thing is that it's the most reliable wireless components on my system and the battery lasts forever.