# WiFi Relay

**URL:** <https://community.openhab.org/t/wifi-relay/16822>\
**Category:** Home Automation\
**Created:** [November 16, 2016, 11:17pm UTC](https://community.openhab.org/t/wifi-relay/16822 "2016-11-16T23:17:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KidSquid](https://community.openhab.org/user_avatar/community.openhab.org/kidsquid/32/3985_2.png) [@KidSquid](https://community.openhab.org/u/KidSquid)\
**Post date:** [November 16, 2016, 11:17pm UTC](https://community.openhab.org/t/wifi-relay/16822/1 "2016-11-16T23:17:00Z")

</div>

Is anyone familiar with a WiFi Relay that will communicate with OH so that I can attach to a garage door remote button? I currently have a gate that is operated by a wireless garage style remote. Inside the house I wired a wall plate push-button to the circuit board and then placed inside a wall switch electrical box. This way I have a nice push button on the wall to open the front gate.

I’s like to expand this to my Amazon Echo and have voice control over this…is there a wifi based relay I could wire up just like i did with the push-button so I can control via OH?

Thanks,

Squid

---

<div class="post-metadata">

**Author:** ![TommySharp](https://community.openhab.org/user_avatar/community.openhab.org/tommysharp/32/2171_2.png) [@TommySharp](https://community.openhab.org/u/TommySharp)\
**Post date:** [November 17, 2016, 12:45am UTC](https://community.openhab.org/t/wifi-relay/16822/2 "2016-11-17T00:45:40Z")

</div>

If you want something “off the shelf” then something like [https://garageio.com/](https://garageio.com/) might suit the bill.

But for about $10 you can get a Wemos D1 Mini (ESP8266 board that has wifi) with a Relay Shield. I used the “Homie” framework (a search of the forums should find it) and I was able to program it up easily enough to talk to my openhab server.

I have 3 of these controlling 2 garage doors and an electric gate. I also added magnetic reed switches to my setup so I can actually tell if the garage/gate is open or closed. A couple of times I still get that email from OpenHAB at 11pm at night reminding me that I’ve left a garage door open.

---

<div class="post-metadata">

**Author:** ![MikeD](https://community.openhab.org/user_avatar/community.openhab.org/miked/32/3341_2.png) [@MikeD](https://community.openhab.org/u/MikeD)\
**Post date:** [November 17, 2016, 12:54am UTC](https://community.openhab.org/t/wifi-relay/16822/3 "2016-11-17T00:54:06Z")

</div>

Another option to consider is the SONOFF product from ITEAD.

> [@ITEAD Sonoff switches and sockets - cheap ESP8266 Wifi+MQTT hardware](https://community.openhab.org/t/itead-switches-and-sockets-cheap-esp8266-wifi-mqtt-hardware/15024/1):
>
> ITEAD Smart Home Products These very cheap modules come with their special smartphone app but are all actually based on the famous ESP8266. It didn’t take long till the tinkerer community got a hold of that and started hacking. After opening up the cases, all you need to do is solder a few header pins and connect your FTDI breakout programmer. Alternative firmwares are ready to provide nice MQTT based Wifi SmartHome endpoints without the need to either pay a lot of mone…

Also

> **[GitHub - arendst/Sonoff-MQTT-OTA-Arduino: Provide ESP8266 based itead Sonoff with Web, MQTT...](https://github.com/arendst/Sonoff-MQTT-OTA-Arduino)**
>
> Provide ESP8266 based itead Sonoff with Web, MQTT and OTA firmware using Arduino IDE - Now EOL
