However in the realm of monitoring motion, temperature and environment, open/closed doors, and more checkout company Wireless Sensor Tags
https://wirelesstag.net/index.html
They offer very reliable monitoring, with full API and SDK. Their cloud based backend is free and offers integration in many other services. I believe there are projects to replace their back end with your own.
I have first learned of this company at least 10 years ago.
Their sensors are reliable and inexpensive. I know these are used in restaurants to monitor refrigeration temperatures.
It is really worth your time to dig deep into their website to learn everything they offer in sensors, automation and programming
They were/are the answer for me once i didn’t enjoy having to play troubleshooter anymore on the less polished type setups like Home assistant.