garage door openner espeasy button update

Moderator: leecollings

Post Reply
franckrem
Posts: 3
Joined: Wednesday 16 March 2016 13:47
Target OS: Windows
Domoticz version:
Contact:

garage door openner espeasy button update

Post by franckrem »

hi all,
First thanks for this awesome program this is a nice piece of software, very stable and super flexible.

I'm very new with this software and I'm not good with codding very much. I Made myself a garage door oppener using espeasy, a relay board, a magnetic switch and a dht22. It's working very well. The only small snag I have is that I have to use two different swith, one on/off for the state of the door and an other push button (http://<ESP IP address>/control?cmd=Pulse,2,1,500) to pulse the relay to open and close the door.

When I tried to combine the two switch in one ON/OFF switch (both command are a pulse) it dosent work. The state of the switch dosent get updated and domoticz isnt in sync whith the module anymore.

The toggle in domoticz move each time I click the switch but is not connecteded to the mag switch anymore.

Is there a way to make the toggle of the switch in domoticz only move when the magnetic switch change state?

Forgive me if this is a common question I dident found any thing in on this subject.

I also joined a screen shot to ilustrate my point.

thanks
Attachments
Screenshot_2016-03-15-20-44-26.jpg
Screenshot_2016-03-15-20-44-26.jpg (26.3 KiB) Viewed 1540 times
franckrem
Posts: 3
Joined: Wednesday 16 March 2016 13:47
Target OS: Windows
Domoticz version:
Contact:

Re: garage door openner espeasy button update

Post by franckrem »

I gess espeasy is not realy popular here...
User avatar
remb0
Posts: 499
Joined: Thursday 11 July 2013 22:21
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: garage door openner espeasy button update

Post by remb0 »

I'm also looking for this option to control my garage door.
you can add a on command as script and also a off command. and then set a off delay by the on button.

so when you switch it on it automaticly goes of after 1 sec.


which realy/esp do you use? can you post pictures how you connect it to the motor?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest