
- DIY AUTOMATIC GATE OPENER HOW TO
- DIY AUTOMATIC GATE OPENER INSTALL
- DIY AUTOMATIC GATE OPENER UPDATE
In my case, I add a piece of configuration inside the configuration.yaml file because DuckDNS doesn't manage the https, just the let's encrypt certificate and the DuckDns update : http: I decide to configure HA with a static IP because it is simpler and you are sure that the IP will be the same after a reboot and then your port forwarding rules will continue to work. Don't forget to accept_terms with "true". For example, you can see in the pictures, a piece of my configuration. ConfigurationĬonfigure DuckDNS with you domain and with the token. You must be able to reach it through HTTP and a local IP or try. Īfter all these points, you have a nice Home Assistant running on your Raspberry PI.
DIY AUTOMATIC GATE OPENER INSTALL
Install DuckDNS Add-on for Home Assistant.Network configuration for Home Assistant can be found here :.Install Home Assistant with this article.In fact, before this project I didn't know this software.
DIY AUTOMATIC GATE OPENER HOW TO
I clearly don't have any added values to told you how to setup and install Home Assistant.
The main features that I like the most are the dashboard, the API and the diversity of add-ons. It will be a good place to control all the connected devices and add a lot of features. Home Assistant can be seen as a hub for all your home IOT stuff.
ESPHome trigger the Automatic Sliding Gate motor. Home Assistant send the request action to ESPHome. Your Internet router route the request to the Home assistant application.
A request is sent to your Home Assistant Web address (resolved by DuckDNS and TLS by let's encrypt). From you mobile phone, you push on the Home Assistant mobile app widget. A mobile phone to install Home Assistant App and a widget on screen. A DuckDNS account to allow the name resolution to your Home Assistant. An Internet connection with a router (need NAT rule configuration feature). Two resistors to divide voltage from the open/close sensor. An old 5V power supply to power the ESP8266. Two relays to simulate push button to open or close the gate. A prototype PCB to solder components and connect them. Installing ESPHome as the firmware inside the ESP8266. Using Home Assistant as a hub for controlling the portal and receiving requests from a user. In my case, after some experiments, I decided to go with : Of course, there are multiple ways to achieve this. To do this, let's turn the automatic sliding gate into an IOT device. The main challenge here is to connect the automatic sliding gate to a smart phone. Warning: Be careful and don't forget to switch off the electrical power before opening the main controller. Remember, if you don't have the exact same automatic gate, don't forget to download and read the technical documentation for your model. The idea behind this article is not to give you something ready-to-use, but rather to inspire you. I achieved this by using Home Assistant, ESPhome and a few electronic parts. With this new, connected gate, I can answer use cases like controlling the sliding gate with my mobile phone. For me, one way to solve this limitation was to find a way to connect the automatic sliding gate controller to the Internet. I also have a Google Nest Hello doorbell, which unfortunately cannot be plugged into the sliding gate controller to remotely open the gate from the mobile app. This gate, branded "V2 Alfariss", was provided with a few Phox V2 remotes to control it. The following article is some feedback on my personal experience controlling the automatic sliding gate that I had installed on my house.