I don’t trust any of the major phone manufacturers to update my device for an extended time. It is intrinsically against their interest to support a platform long term at the expense of a missed sale on a new device.
Not that I like Motorola, but they do offer an unlocked bootloader on most of their phones. LineageOS supports a number of them officially, which makes for a very easy install and extended support model. Not bad for a $300 phone.
A camera platform small enough to fit a standard door frame isn’t going to be able to hold serious optics. The sensor sizes are going to be too small for good night vision, if nothing else.
The temperature issue is probably an issue of economics. Most people don’t need such a wide range, so off the shelf products don’t support the application, as it would incur additional cost.
Both of these are solvable issues however if you’re willing to use a standard security camera mounted over the door instead. There are many cameras that you could pick with large sensors, heating elements, and more.
I hate that bug so much… If you forget to log out however, you can hit ctrl-alt-f1 to switch to the x session, which frees up the shutdown.