I'd rather have something 100% passive on the door, and then the sensor that reads it can be wired. I'd like fewer things with batteries that need changing, please.
(That position will change when wireless charging of low-powered devices becomes more widely available.)
I used a Meross device in our old home that came with sensors to install and detect the door state. If I remember correctly, the connection between the device and the opener was through a wireless remote that we paired with the opener like any other remote.