Take a look at this picture. We have a warehouse door that we want to be sure remains locked. Sometimes our employees forget to lock the door at night. Unfortunately, our door lock is away from the wall - was thinking of trying to hack together using something like this: Aeon Labs Z-Wave Plus Magnetic Door - Window Recessed Sensor Gen 5 ZW089-A
I’d probably just go with a contact sensor on the wall behind it and attach the contact magnet to the circle area of the slide. Take it out of the plastic and it just might fit in that hole… Or find a magnet that will.
Pull slider out, contact is broken, put slider in, contact is closed.