Skip to content

Latest commit

 

History

History

Automatic Gate

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Automatic Gate ⛩️

Description 📝

Modular and secure gate automation that opens your gate upon leaving or arriving Makes managing your gate while driving easier : don't ever touch your screen or remote again Have your gate greet you when you arrive home and be ready for you Customize the options to tailor the system to your exact needs

Key Features 🌟

  • Automatic Opening: Your gate will open automatically when you drive home. No need to press any buttons ! 🏠
  • Smart Navigation: Directly open the gate when leaving home, or launch an itinerary when starting from outside 🚀
  • Multi-User Support: Manages up to 10 drivers simultaneously 🚗
  • Collision Prevention: Ensures the gate doesn't close on anyone arriving or leaving at the same time 🚧
  • Security & Reliability:
    • Precise Waze and ETA calculations to have your gate fully open exactly when you arrive home 🎯
    • Real-time position tracking to adjust timing for traffic or if you pass by without entering 📍
    • Car status monitoring to cancel everything if you leave your car ✋
    • Built-in timeouts in case of an internet loss ⏳
    • Maximum entry and leaving time before auto-closing ⌛
    • Notification alerts at each decision of the automation 🚨
    • Manual actions prioritized over the automation, letting you control your gate even while the automation is running ✍️
  • Customizable Settings:
    • Auto-close with iBeacon 📡
    • Adjustable notifications 💬
    • Customizable security options 🔒
    • Customizable gate operation timings 🛠️
    • Customizable travel time refresh rate 🔁
    • Multiple gates supported by reusing the blueprint ♻️

Flowchart 🔀

How to Install 🚀

Import the blueprint 🗺️

Import Automatic Gate blueprint

Required sensors 📡

Sensor Type Provider Multiple Description
Gate switch/cover Any No Any gate or garage door which is either a switch or a cover. Could be from my esphome firmware or any other integration
GPS location trackers person Companion Yes ⚠️ Use high precision while driving near home or you could time out. Try to avoid using BLE/Wifi location trackers
Driving sensor binary_sensor Companion/Template Yes Either Android Auto, bluetooth connexion, or both grouped
Travel time sensor Waze Yes For now only Waze integration accepted, calculates the travel time between you and your destination
Proximity sensors sensor Proximity Yes Calculates the distance of each user from the targetted zone
Notify services service Companion Yes Each phone notification service to notify of the itinerary status. Comes by default when installing the companion app
Itinerary state input_text Helper Yes A helper you have to create which will store the state of each user itinerary
Planned opening input_datetime Helper No A helper you have to create which will store the planned automatic opening of the gate

Optional sensors

Sensor Type Provider Multiple Description
BLE transmitter none Companion Yes Companion app ble transmitter to automatically close gate upon leaving
BLE entities signal_strength Any Yes Each BLE entity to monitor, to close the gate when it goes to unavailable. Could be from my esphome firmware or else
BLE scanner switch switch Any No A switch which can turn on/off your BLE scanner. Not useful if you want your BLE scanner running 24/7
Nearest distance input_datetime Helper No Only necessary for itinerary tracker notification. Stores the timestamp of the last tracking notification sent
Notify all devices group Group No Only necessary for esphome firmware. Allows it to notify all devices when opening on in case of an error

How to update 🔁

Go to Settings > Automations & Scenes > Blueprints

Click on the three-dot menu to the right of Automatic Gate, and select "Re-import blueprint"

Extra ➕

Element Description
Automations 🤖 Automations that notifies all users if the gate has been left open or is unavailable, while playing a tts on speakers
Ble car device 🚗 A really small Arduino code to let an ESP32 sit in your car so that your phone can connect to it over BLE and monitor if you are driving
ESPHome gate firmware 🔧 My ESP32 gate firmware which only needs to be connected to one open&close pin. Works by guessing the actual state and locking new requests while not being ready
Vehicle tracker map 🗺️ A small dashboard which can track the position history of a user and display both the ETA and time remaining when an itinerary is in progress