The $50 sensor runs on two coin cell batteries so you don’t need a nearby power source for installation.
However, one that fits into a smart home can be very different to a conventional one purchased in a store. In my case, I have ...