- Posts: 8
- Thank you received: 0
Boaz101 wrote: Thank you for this awesome automation program and the tutorials! I am trying to automate my garage door. I would like to be able to open and close the garage door. I bought an active low relay board and hooked it up using a NPN transistor and some resistors to reverse the polarity of the pi's gpio. I am able to control the relay board using the pi's gpio and a digital output in EasyIoT. However the garage door only needs the relay to be on for half a second for the door to start opening. Is there any way to do this in EasyIoT?
I am also going to tell if the door is open or closed using a reed switch connected to the pi's gpio. Can the status of the door be combined into one control where you can click Open or Close to control the garage door?
Thank you for any tips you can give me! When I get this working I will add it to the Community Projects.
Boaz101 wrote: Thank you! I was able to use GetProperty to tell if the reed switch is open or closed. If an event comes in from the virtual switch and the door is already in that state the event is ignored. Works quite well. I am currently using Digital Output "On" for Garage Door open and "Off" for Garage Door closed. Is there any way to rename the states of the Digital Output so the UI displays Closed and Open?