Alarm notification for open gate?

Breaker187

Well-Known Member
Joined
Feb 13, 2012
Messages
166
Reaction score
7
Location
Cape Town
Hi, I have had a sonoff switch installed to my gate and can remotely open and close it which works like a charm. I'd like to know if it's possible to use an app like ewe to alert you if gate has either been opened not using the sonoff switch and or after a timeout send a notification to indicate gate is open,?
 
Depends on the gate motor controller, I guess. If you hook up a photo transistor to the LED that flashes to tell you when the gate is opening (essentially, the status LED), you could detect when that is operating and trigger an alert after a period of time.
 
Hi, I have had a sonoff switch installed to my gate and can remotely open and close it which works like a charm. I'd like to know if it's possible to use an app like ewe to alert you if gate has either been opened not using the sonoff switch and or after a timeout send a notification to indicate gate is open,?

You can easily connect a Reed switch to the GPIO pins of the Sonoff.

However I have no idea if you can use it for that purpose with the default firmware and Ewelink.

I use it with Tasmota + Home Assistant.
 
You can easily connect a Reed switch to the GPIO pins of the Sonoff.

However I have no idea if you can use it for that purpose with the default firmware and Ewelink.

I use it with Tasmota + Home Assistant.

this, but definately no way to do it inside ewelink
 
Hi, I have had a sonoff switch installed to my gate and can remotely open and close it which works like a charm. I'd like to know if it's possible to use an app like ewe to alert you if gate has either been opened not using the sonoff switch and or after a timeout send a notification to indicate gate is open,?
Hallo

Which Sonoff device did you use to control your gate?
 
You need to make sure that the relay is a "dry" contact. i.e. just acting as a switch, rather than actually providing a voltage on the terminals. Ideally something like the Sonoff SV (in isolated mode, see wiki page), or a Sonoff 4CH-Pro (the non-pro doesn't have dry contacts).
Alternatively, you can make something out yourself using any ESP8266 or ESP32 dev board, and an optoisolator/optotransistor and a suitable resistor.
 
I have a wemos d1 connected to my centurion d5. I use a power shield to power it from the 12v of the d5, a 3v relay to press the 'button' on the d5 to open and close it (the d5 'button' is 12v hence the relay), and a 12v to 3v voltage divider (ie two resistors) to check the 'gate open' indicator. I've flashed it with esphome.
I've programmed homeassistant to send my "home" telegram channel a message if it's open for more than 5 minutes. This goes to all who are given access to this channel.

Most of my sonoffs run esphome now, switched over from tasmota. Only ever tried ewelink once before realizing..... it's not for me. Bleep that 3rd party cloud dependency, no thank you.
 
I have a wemos d1 connected to my centurion d5. I use a power shield to power it from the 12v of the d5, a 3v relay to press the 'button' on the d5 to open and close it (the d5 'button' is 12v hence the relay), and a 12v to 3v voltage divider (ie two resistors) to check the 'gate open' indicator. I've flashed it with esphome.
I've programmed homeassistant to send my "home" telegram channel a message if it's open for more than 5 minutes. This goes to all who are given access to this channel.

Most of my sonoffs run esphome now, switched over from tasmota. Only ever tried ewelink once before realizing..... it's not for me. Bleep that 3rd party cloud dependency, no thank you.
a 3 volt relay you say.
 
Top
Sign up to the MyBroadband newsletter
X