I've remixed GrRivero's Xiaomi Aqara Door Window Sensor to fit my entrance door, it increases the height by 27mm from base. Slide the magnet part in from one side. I've used supports for the upper thin part, but was unable to remove the supports (20%) without breaking the thin parts. You might want to use less dense supports. It still works without these parts, because the double sided sticky tape holds the magnet in place nicely.