Help with momentary relay for Garage Door controller?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
TommySharp
Normal user
Posts: 19
Joined: 20 Oct 2017, 14:30

Help with momentary relay for Garage Door controller?

#1 Post by TommySharp » 12 May 2018, 03:32

Hi everyone,

I have a garage door where it can be activated by momentarily closing a circuit.

I'm trying to do this with a Wemos D1 Mini and a relay board. I need the relay to "close" for 500ms and then open again.
Is anyone able to suggest how I can do this easily within ESPEasy?
2018-05-12_133141.png
2018-05-12_133141.png (17.19 KiB) Viewed 5127 times

User avatar
budman1758
Normal user
Posts: 301
Joined: 15 Apr 2017, 05:13
Location: Riverside CA USA

Re: Help with momentary relay for Garage Door controller?

#2 Post by budman1758 » 12 May 2018, 04:10

"The glass is twice as big as it needs to be".

TommySharp
Normal user
Posts: 19
Joined: 20 Oct 2017, 14:30

Re: Help with momentary relay for Garage Door controller?

#3 Post by TommySharp » 12 May 2018, 04:35

I was hoping to control it via MQTT just like I am querying the open/close status of the reed switch connected to the same Wemos D1 Mini.

However it looks like this HTTP call works well enough and sets GPIO5 to high for 500ms and then turns it off again.
Should work perfectly for my use case.

http://192.168.1.xxx/control?cmd=Pulse,5,1,500

User avatar
budman1758
Normal user
Posts: 301
Joined: 15 Apr 2017, 05:13
Location: Riverside CA USA

Re: Help with momentary relay for Garage Door controller?

#4 Post by budman1758 » 12 May 2018, 06:25

I haven't used MQTT yet but I'm fairly sure it can do the same thing. No doubt someone will come along here and offer some help along those lines. :ugeek:
"The glass is twice as big as it needs to be".

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Help with momentary relay for Garage Door controller?

#5 Post by grovkillen » 12 May 2018, 06:42

ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

danmero
Normal user
Posts: 64
Joined: 11 May 2017, 01:19

Re: Help with momentary relay for Garage Door controller?

#6 Post by danmero » 12 May 2018, 10:16

You need to declare a device only when you want to know the state of the device.
For output only you just pulse the GPIO since you don't care the state after.

Regards,

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests