"SmartGATE" - The ultimate Doorbell and Gate Logger!

#Update Time!

Updates to hardware:

So this project is 6 months old now, but recently we had a huge rain storm and the button and electronics got soaked! And since then, the button and gate have been random setting themselves off. So annoying in the middle of the night or when we genuinly think someone has just come through the gate.

So I decided to order some new buttons. I got these blue LED ring buttons with the black finish and flush button (there is a huge range of non-flush and metal buttons too… latching or not).

I drilled the 16mm hole all the way through the post to mount the elecrtonics on the back, out of sight. You can see the holes from where it used to be mounted on the front.

Im not happy with the way the drill roughed up the edge around the button hole. I have ordered a metal plate form China which I will paint black to hide it.

I also upgraded to a hall sensor for the gate switch. Previously I used a micro switch. Pleased to have moved to non-contact as the water is what killed the old one.

The button is connected through a 3pin JST on the back of the black box through a hole. I used a common ground for the blue LED and bell button.

This is my first PCB… ever! I thought It was pretty good! But I forgot to allow room for oppisite screws to hold it in!

The unplugged blue JST connector is for an LED light which will face us on the inside letting us know if the gate is open of shut… but that was really for the old broken hardware… not sure if I need it for the new stuff.

https://easyeda.com/export_58a6d09637b04851bbcacdb6d79058d3/Main.png?type=1&width=0&penWidthIncrease=0&version=4.1.3&_t=1490491776364


Updates to code:

  1. Added Silent Mode silder.
  • Modes: Inactive, Bell Only, Gate Only, Bell & Gate.

  • CCTV Webhook to record.

  • Using Synology Surviellance Station which provides methods to create multiple triggers via a secure HTTP API and other methods.

  • Added Back Gate support for later when there is power at the back gate.

  • Notify delay slider for each gate.

  • 0 disables notifications.

  • Uses Bridge to trigger the Front House lights system.

  • Has a crude NightMode which is triggered when the front lights turn on via bridge, and then times out 10 hrs later when the sun is up. This means that if the front lights are off (after 1030pm), then its dark right? well open the gate during “nightMode” and it will turn the lights on for 1min (or defined in the dash of that lights app).

Code: https://github.com/jaminNZx/ESP8266-Blynk-Gate-Logger-And-Counter


5 Likes