Hey in this video I will tell and show you what Tasmota is, as well as the easiest way to flash compatible devices with a new tool called #Tasmotizer.
What is Tasmota?
If you are new in the Smart Home & IoT world you probably wonder what #Tasmota is?
With one sentence - It is an alternative open source firmware that allows you to locally control your ESP8266 based devices using MQTT, HTTP or Web Interface.
What is ESP8266 device then?
This probably leads to your next question, What is ESP8266 device? The #ESP8266 is a low-cost Wi-Fi microchip with full TCP/IP stack and microcontroller capability. So an ESP8266 device is simply a device with ESP8266 chip inside it.
To demonstrate you the best what Tasmota is, I’ll just flash a D1 Mini device to show you and after that we will continue to talk about Tasmota
Prerequisites
To flash a device with Tasmota you will need:
* Any variation of the ESP8266 chip based device - in my case it will be WeMos D1 Mini and Sonoff Basic
* D1 Mini - amzn.to/2QvxK8I
* Sonoff Basic - amzn.to/2QrpJBy
* You’ll need a computer with a USB port to upload the firmware to your device and configure it.
* Serial-to-USB Adapter (optional) - To upload Tasmota firmware on an ESP8266 device without USB, you need a serial-to-usb adapter to start the initial communication with that device. Fortunately these adapters are really cheap. The FTDI FT232RL adapter below is exactly the same as main adapter and it works great, so if you want to buy one I highly recommend such adapter.
* FTDI FT232RL adapter - amzn.to/36hGGp6
* Soldering Tools (optional) - Some ESP8266 devices doesn’t have USB ports on them and the only way to flash them is to hold several tiny wires for a minute without moving anything or eventually you can solder these wires, so you don’t have to do Houdini tricks.
* To solder you'll of course need:
* Soldering iron - amzn.to/2tgmjK6
* Soldering tin - amzn.to/2F5VLhl
* Some flux - amzn.to/2F8ALXm
* Wires (optional)
* Jumper wires - amzn.to/2F69gxt
* With soldering or not - You will need some kind of wires. Jumper wires (also called DuPont wires) will do the job and in some cases are more practical than soldering and desoldering
With that being said let’s start flashing.
Steps to execute:
* Go to GitHub site (github.com) and download:
* Tasmota firmware, generally you need tasmota.bin file - github.com/are...
* Tasmotizer - github.com/tas...
* Tasmotizer for Windows - download & start the EXE file from here - github.com/tas...
* Tasmotizer for Linux & MacOS (you need pip3 installed on your system)
* From terminal execute:
* pip3 install tasmotizer
* and then simply run tasmotizer.py (to find tasmotizer.py on MacOS you can use: find / -name tasmotizer.py)
* Connect your ESP8266 device to your computer either:
* Directly via the USB port on the device - as with the D1 mini or NodeMCU.
* Or using Serial-to-USB adapter and connecting:
* VCC on Serial-to-USB adapter to VCC on ESP8266 based device.
* GND on Serial-to-USB adapter to GND on ESP8266 based device.
* RX on Serial-to-USB adapter to TX on ESP8266 based device.
* TX on Serial-to-USB adapter to RX on ESP8266 based device.
* You also have to put the ESP8266 device in flash mode by holding down the board button as you insert the VCC pin (or by connecting GPIO0 to GND with a wire) and then you can let go.
* Start Tasmotizer then click Refresh button to find the newly attached device.
* Click Open button and chose your firmware, in general this is tasmota.bin file that you downloaded in the first step.
* Check the “Backup original firmware” tick and finally click on the Tasmotize! button.
* Restart your ESP8266 device and connect to the WIFI hotspot that your device will create for initial configuration.
* After successful connection to the device WIFI, you can enter your real/local/home WIFI SSID and password click save - the device will auto restart and will connect your home WIFI.
* Find the assigned IP of the device by either log in to your router or by using any kind of network scanner.
* Enter the IP of the device in a Web Browser and you will open the Tasmota web interface from where you can configure your device as I’m showing in the video.
You can then attach the following sensors on ESP8266 devices flashed with Tasmota: Motion sensors, Temperature and humidity sensors, Smoke detectors, Relays and so on and so on.
I really hope that you find this information useful and you now know what Tasmota is and how to flash an ESP8266 device.
DISCLAIMER
Note: Some of the links used in the description will direct you to Amazon. As an Amazon Associate, I will earn revenue from qualifying purchases at no additional cost to you.
7 сен 2024