Skip to main content

Making your driveway gates smart

Installing a Sonoff Gate Switch

By installing a Sonoff Gate Switch will allow you to open or close your your driveway gate from your cellphone, voice assistance or even your smart home hub like Home Assistant

Setup the Gate Switch

Below is a typical setup.

You will power the Gate Switch by connecting the 12V/24V and NEGATIVE (or COM) to the Gate Switch as shown above.
Then connect the TRG to NO pin and the COM on the gate motor to the COM on the switch.

Some technical terms
TRG - This is the Trigger pin on the motor. This pin allows the gate to open or close. By connecting a wire to the TRG and COM pin, they gate will trigger.
COM - This is know as a Common Pin or Negative
NO - This is referred to as Normally opened, meaning the switch is open and current doesnt flow.

Setup and pair the switch

Open your eWelink app the Gate switch as per normal.
Upgrade your device firmware if applicable.
Once the firmware update is completed, go to the device setting and look for the Inching Settings and set it to 0.5 seconds

This setting allows the switch to turn on for 0,5 seconds and then turn off again, simulating the pressing of the remote button.

Now turn the gate switch On on the app, your gate should open. Then press it again and your gate should close.

Your current remotes will also work as well.


  1. Perfect, thank you very much for tutorial.

    1. Did you ever complete the installation? I want to buy this and introduce my kids to some basic electronics AND some IoT as this is currently my interest.

    2. Hello. Check out some Arduino kits to get the kids started. Also check for the microbits.

  2. Can I connect this in parallel with the existing remote receiver?

    1. Yes you connect it in parallel and your existing remote will still work.

    2. Somehow the WiFi board is upsetting the 433hz receiver. Once installed in parallel, the remote button works until I activate the WiFi switch. Thereafter the 433hz receiver won’t work. Any idea how to overcome this?

  3. Hi there. Is this Wifi Switch compatible with the DTS ECO 500 gate motor ?I cant identify the COM on the DTS PCB ?

  4. Hi I was just wondering if this can be connected from inside your house using the intercom?

    1. Hello, yes you can connect it that way.

  5. Can you control this wifi switch also with a sonof rf remote? What is the procedure to connect RF remote?


Post a Comment

Popular posts from this blog

Sonoff Micro

Installing a Sonoff Micro Please note: This is one of our customers stories As a novice user, linking the Sonoff micro was quite simple after getting the basics ( that I should have known ) right.   Downloading the EWELINK app was straight forward. Just ensure that you link to a 2.4ghz WiFi network when pairing your app to device and enter your network password ( not your EWELINK app password - Took me a few tries to figure this out). Once that’s done you can jump back to a 5ghz network.   You would need a USB port to connect the micro to - it’s quite bulky to connect to a laptop so I wouldn’t suggest that unless you have an external USB adapter. For best results connect the micro to a USB port on a wall socket or connect it to a usb charger.   With a 5w charging capacity the micro is great for scheduling recurring charges for devices such as your cellphone or powerbanks. You can also set a timer to switch of c

Adding Smart Lights to your Home

Making your lights Smart.  By making your lights smarts in your home means that you can switch it ON or OFF with your phone, control it via a voice assistance like Alexa or Google Home or even a home automation hub like Home Assistant. This also means you can control it from anywhere, even if you are not at home. Apart from that you can create Automations for it. This can include things the following: Automatically switching the light on at sunset and switching it on in the morning. Automatically switching on a light at night and when you open a door Automatically switching on a light at night when your kid is going to the bathroom at night. Automatically dim the lights when you switch your home entertainment to movie mode. The possibilities of use cases for lighting is endless BUT first you will need to ensure you lights are smart. There are different ways that you can make your light at home smart and this blog is going to explain to you the different ways using different devices fro