How to control our Smart RGBW Wifi Downlight using Tasmota and Home Assistant!

How to control our Smart RGBW Wifi Downlight using Tasmota and Home Assistant!

https://www.ozsmartthings.com.au/products/smart-wifi-rgbw-downlight

Our guide on Using Tasmota to control our Smart RGBW Downlight in Home Assistant:

 

To do the original Tasmota over the air flash I followed the instructions I found on youtube: https://www.youtube.com/watch?v=dt5-iZc4_qU&list=WL&index=18&t=0s

 

And here: http://www.thesmarthomehookup.com/tuya-convert-walk-through-february-2019/

 

I found it useful to watch both, but used the instructions in thesmarthomehookup blog more.

 

Basic workflow was:

  • Get a Raspberry Pi, I used an old Pi-B (as in the second model, not a 3-B or anything nice like that)
  • Install Raspbian <current release> Lite on it
    • I used Etcher as recommended to flash the SD card
    • I use Putty to access the Pi on my network from my Windows machine
    • Remember the Pi has to be connected via ethernet AND have wireless available (built in for a Pi-3, but using a wlan usb adapter for mine)
  • Add the extra software on the R-pi as per: http://www.thesmarthomehookup.com/tuya-convert-walk-through-february-2019/

 

I also turned “wifi steering” off in my router. I was thinking this may have been causing my devices to not be able to log back into the wifi … not sure if it was causing an issue or if I was not being patient enough. Either way, it’s gone now!

 

When you’re all setup then start the flash process:

  • Boot up the Pi and login via Putty
  • Type "cd tuya-convert" and press enter.
  • Type "./start_flash.sh".
  • Use my mobile phone to connect to “vtrust-flash” wireless network when it shows up (no password was required for me)
  • Then put the downlight into programming mode
  • Turn on/off 4 times, leaving on the last time
    • Might have to try 3 times on/off
    • Maybe 5 times on/off
    • Just leave the light off at least 10 seconds between tries
  • After a few seconds it started the rapid blink
  • Then hit enter on the Pi to start the process
  • Select “option 2” when it comes up which is to install Tasmota
  • Say yes … and wait …
  • Wait … I didn’t wait long enough with a Mirabella globe and bricked it by cycling power part way through the upgrade
    • When the Pi says it’s done check the phone for a new wireless SSID (it will be “tasmota-XXXX”) and connect to it
  • On the phone open a browser and go to 192.168.4.1
  • This should get you to the initial Tasmota menu on the downlight
    • Select to scan for networks and enter the details of your network (SSID / Password, then hit “save)
  • Then it will disconnect
  • Go to your router or use something like “Fing” to find the IP address of the downlight on your regular network
      • The device will be listed as “tasmota-XXXX…”
  • Use a browser to go to its IP address
  • Select the menu option to “Update firmware”
  • Hit enter and wait (note previous warning about cycling power too early)
  • Once it comes back then you can go to the “configuration” menu and choose to “configure other”
  • In the “template” filed use {"NAME":"ZemiDownLight","GPIO":[0,0,0,0,0,0,0,0,0,143,0,144,0],"FLAG":0,"BASE":27}
  • Then set up your MQTT parameters, name, etc
  • Also have to go to “console” and enter “setoption19 1” to get it to auto discover in Home assistant
  • and switch over to Home Assistant to get that side working 

Special thanks goes to Darren Good for providing this instruction!

Can't find what you are looking for? Send us an email: info@ozsmartthings.com.au
We are also on YouTube where we post many useful videos on our products

Leave a comment

Please note, comments must be approved before they are published