Have a look at zigbee2mqtt. This Movement/Vibration Sensor may be what your looking for. It is not yet supported, but it is being worked on. Watch the progress here.
Edit: Sorry, was thinking about a cat door. This sensor may be what you’ve been looking for. This already works with zigbee2mqtt. Hints for setting up in openHAB are here.