I just installed gate lock and I’d like to somehow integrate an open/close sensor.
This is the lock:
Basically its just a dumb lock, when the right code is entered (or exit button pushed, from inside) it connects + & - terminals to release the latch.
I’m wondering how to integrate an open/close sensor directly so I can get an alert when the lock is engaged. I realize it will not report if the gate is physically opened or closed. In an ideal world I’d like both, to know when the lock is engaged and if the actual get is left in an open or closed position.
Here is the manual for the lock:
Any idea’s would be appreciated. Thank you.
P.S. This is outside so it has to withstand NYC weather (humid summers/cold winters). There MAYBE room inside the latch mechanism but I’m not sure I haven’t opened it.
What region do you live in? “Weatherproofed” for San Francisco is very different than “weatherproofed” for Copenhagen.
As far as the project itself, it may be pretty simple, it just depends on the exact shape of the bolt. In most cases you would just use a magnetic sensor so that when the lock was closed the sensor indicated one position, and when the lock was open it indicated the other.
Note that it doesn’t matter which side of the lock you are using as long as the magnet moves towards it and then away again. I just mention this because some locks have a turn bolt and it’s easier to capture the lock in its open position than in its closed position.
Anyway, the sensors have two parts. There’s the part with the sensor itself and the part with the magnet. You can use any magnet, you don’t have to use the one that comes with the sensor. And that gets themselves are generally quite weatherproof. So if you can find a small thin magnet that fits better on your project, you can usually use that.
Now it’s just a matter of figuring out how to mount the two pieces so that as the lock moves it will register with the sensor. Here is one example from someone who did this with an interior deadbolt. Again, there’s no networked control of the lock, just a sensor to say if the door is locked or not.
That is that with this type of sensor you could put a magnet on the very end of the deadbolt, but you don’t have to. Any place where the lock has a moving part can be used, including the Turnbolt.
The issue is its not a deadbolt type of lock. It has a latch that basically opens when magnetized and then retracts after three seconds (default time). I was more thinking of installing a sensor to register the completion of the circuit when the lock is energized.
BTW @JDRoberts you are amazing… I’m impressed every time with the amount of knowledge you have on almost all topics. As well as your dedication to this community.
Understood. If it retracts, it’s the same kind of setup. As long as there’s a moving part.
But if you just want to capture the Circuit being closed you can use any dry contact device that can handle the voltage. There are a couple of contact sensors used for this. If you look at the topics on pressure Mats that’s how they work – – stepping on the mat closes the circuit to the sensor.
The Aeotec is one of the newer devices for this purpose.
Note use of either of these may void your warranty on the gate lock, though, if you have to splice wires. If you could hook them up without having to actually cut wires, then you should be OK. So it just depends on the device.
I like the devices. And of course the network protocols. That’s the part I’m really interested in. But I rely on text to speech and can’t do anything with code these days, so you won’t find me in any of those topics. It just happens that the stuff I’m most interested in is the stuff most people find boring, so I stand out more.
I think you could use the MIMOlite relay wave device for this. Replace the push button with the relay, and it has a set of inputs for a contact sensor. You can install the contact sensor on the gate to report open/close status, and use the device to trigger the lock to open. This is similar to a garage door setup.
I thought about just doing, that would let me know when someone opens the gate, not necessarily if the gate is left opened/closed. I would be okay with that. Issue is i couldn’t find anything thats outdoor rated.
Not to dig up an old post, but how do you like your Mighty Mule lock setup? I’m thinking of ordering the same lock and contact relay to secure my side pedestrian gate. Any feedback would be appreciated. Cheers!
It’s been working really well. I haven’t had much time trying to intergrate a smartthings setup. I was thinking of sticking one of those tiny light switch relays inside the box to operate it. The code entry works well enoguh. I’ve had it now for almost a year and the batterys are still operational all throught NYC winter (though it was a mild one this year). Overall I’d recommend the product.
Awesome! My gate guy wanted $500 to install a double mechanical keypad (like was apartment gates use). This not only saves money it also let me automate it. I’ll let you know how the ST integration goes. Cheers