You could try a smaller sensor like from Aeotec, Monoprice or others which can be attached to the black door jamb area and on the white separately. You can also get some ideas here: [FAQ] SmartThings Sliding Door Lock & Patio Door Lock with Keypads User Codes / Access Control