[Project] Tasmota for Hubitat (T4HE) Garage Door Controller

  1. Purchase your parts and then solder the headers together when it arrives. Item list is detailed below including some pics of the setup (harness) together.
    a. Wemo’s D1 mini
    i. Page Not Found - Aliexpress.com
    b. 1 channel Relay Shield for WEMOS D1 mini
    i. 1Set Ein Kanal Wemos D1 Mini Relais Schild Wemos D1 Mini Relais Modul für ESP8266 Entwicklung Bord 1 kanal|shield relay|relay moduled1 mini - AliExpress
    c. Dupont Jumper cables (female to female)
    i. 50 stücke 10CM/20CM/30CM Dupont Kabel Draht Für Arduino Breadboard Männlich weibliche Dupont Jumper draht Kabel 1P 1P 2,54 MM Draht Stecker|Drähte und Kabel| - AliExpress
    Note, you will need some cable to go from the 1 channel relay shield to your garage door (note in green in the picture).


  1. Install Tasmota @markus Hubitat firmware details here onto your Wemo’s D1 mini device and follow the below.
    a. You will see an AP pop up showing TasmotaXXXX. click on that to join then type into your web browser 192.168.4.1.
    b. Fill out your wireless username, password and type in YOURHOSTNAME for the device example. Garage Door Controller. click save.
    c. Find your devices new IP address. Also don’t forget to add a STATIC IP or DHCP reserved address on your router as you don’t want the IP to change then type that into your web browser.

  2. Configure Tasmota portal by clicking on “configuration”, “configure module” and changing:
    a. D1 to Relay1 (wemos 1 channel relay)
    b. D7 to Relay2 (not physical connected)
    c. D5 to Switch2 (reed switch)

  3. While still within the Tasmota portal click on “console” and type in the following:
    a. “pulsetime1 5” for turning on for 0.5 seconds then off again.
    b. “switchmode2 1” for disabling it as a toggle switch.
    c. ONLY IF REQUIRED - “switchmode2 2” if your reed switch shows ON when closed so this inverts it.

  4. Configure your newly loaded device into Hubitat e.g. “add virtual device” and select the “Tasmota - Universal Parent” driver.
    a. this assumes you familiar with the existing Tasmota Hubitat drivers and how to load them etc.

  5. Configure your unique settings and hit “refresh” which will build two new Child devices under the parent device e.g POWER1 and POWER2.
    a. POWER1 is the reed switch on D5.
    b. POWER2 is the wemos 1 channel relay on D1.

  6. Click on the POWER2 and change the driver to “Tasmota - Universal Switch as Garage Door (Child)”
    a. this assumes you familiar with the existing Tasmota Hubitat drivers and how to load them etc.

  7. POWER1 will remain unchanged as it should already be assigned the “Generic Component Switch” driver.

  8. You are now ready to physically wire this all together.
    a. Connect your reed switch to D7 and GND on the Wemos D1 mini. Note reed switch mounting options can be found in DrZzz Youtube video here
    b. Connect your Wemos 1 channel relay to D1 and GND on the Wemos D1 mini. Note you will need to share the ground wire with the reed switch as a Wemos D1 mini only has a single ground connection so just splice them together.
    i. Connect your Wemos 1 channel relay as per picture and then other end will be plugged into your garage door motor. You can find informaiton on how to do this by viewing DrZzz Youtube video here
    c. Do not physically connect D7 to anything it’s not supposed to be physically connected to make this project work.

  9. You are now finished so please enjoy this automation. If you any questions, please ask us in the community and we will be happy to help :slight_smile:

7 Likes

Had my head down learning Groovy code
Looked up and everybody was gone!
What the hell !
Wanted to say thanks for recommending the Shelly 1

Found a hardware circuit problem with mimolite
Figured out a DH SW way to get around it but added delay and more load to the hub.
So didn’t like it.

I tried the Shelly 1 as a garage door controller and it worked great !
super fast

Still have one more garage controller to replace how does the Tasmota compare to the Shelly 1 ?
Any pros or cons or pretty much the same?
Tasmota is a lot cheaper
Is it still 100% local?

1 Like

Welcome to the community mate it’s good to be able to talk to you again! :slight_smile:

Very cool the Shelly’s are great devices too so you can definitely use them as well. I just happened to have some Wemo’s d1 mini and I use Tasmota a lot plus @markus was happy enough to build the HE driver for it so I went that route. Yes still 100% local which is good :wink:

1 Like

cool thanks
I ordered the Tasmota parts and will give them a try
Taught myself groovy guess I will start learning typescript code while I wait.

1 Like