IP Camera + Xiaomi Gateway / Aqara devices

Hi everyone! So I’ve been using OpenHab2 for a long time, and I just wanted to add an IP camera to my configuration. I’m currently using the Xiaomi IO / Xiaomi Aqara bindings to make the Xiaomi devices work.
This leads me to ask if anyone has an IP camera working in harmony with Xiaomi Aqara devices.

I would like to take a short recording / take a picture when my house’s door is opened. The Xiaomi’s door sensor is working correctly, but I don’t know if It would be easy to implement an IP camera to my Xiaomi environment.

¿Can you help me by showing your setup / giving an advice?