I tore apart one of my Wyze Contact Sensors the other day. The sensor uses a simple reed switch to detect when a magnet is present, closing the circuit.
I desoldered the reed switch and wired up a Cherry MX switch I had lying around. I also 3D printed a quick casing up and made a button that allows me to trigger lights on and off.
I also got this working with a toggle switch, but it only allows two states: on and off. You can add more functionality by adding more rules for 6 seconds, 8 seconds etc.
This is a great idea! Would love to see a full tutorial. I use a Philips Hue dimmer switch with HomeKit/IFTTT to control my Wyze lights but it would be much faster to use a native Wyze device.
Hello sholland91
Very nice transformation of the contact sensor to a smart push button switch.
When I have modified modified a contact sensor only the stake post had to be snipped.
The side features could remain untouched by angling the PCB out.
A question, how is the battery changed?
Victor Maletic.
I used double sided tape to adhere the back of the contact sensor housing to my 3d printed enclosure. I just pry the back off and the battery is exposed. It’s not the cleanest design in the world. I may make a brand new enclosure that will simplify everything
I made a crude switch out of some pieces of wood to attach the sensor to. The hinge is thin plastic from a lettuce container and staples. I found this spring in my scrounge bin and drilled a hole just big enough to fit it in the bottom piece of wood. It tended to go to the left or right when I pushed it, so I put 2 pieces of wood on the sides to guide it. My contact is V2 on a Pan Cam with Hub. It doesn’t work on a non panning V2 cam or on the pan cam without the Hub. But it works flawlessly with the pan cam + hub setup.