Tasmota and Tasmotizer - Easy Flashing Guide for ESP8266 devices

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ธ.ค. 2019
  • 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/arendst/Tasmota/re...
    * Tasmotizer - github.com/tasmota/tasmotizer
    * Tasmotizer for Windows - download & start the EXE file from here - github.com/tasmota/tasmotizer...
    * 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.
  • แนวปฏิบัติและการใช้ชีวิต

ความคิดเห็น • 63

  • @fazzah777
    @fazzah777 4 ปีที่แล้ว +12

    Hello! I'd like to thank you for making the video! I'm the author of this app and I'd just like to point out that you manually did all the things that are doable via "Send config" function. After the device power cycles, you wait a few seconds, open the dialog, enable the checkboxes to the left of the config group boxes and send all the basic config details to the device via serial.

    • @KPeyanski
      @KPeyanski  4 ปีที่แล้ว +1

      Thanks. Great work. It’s the easiest way to flash a device by far. I’m honored that you like my video. BTW did you plan to explore the OTA options?

    • @firmbutton6485
      @firmbutton6485 3 ปีที่แล้ว

      OTA possible now?

  • @jtreg
    @jtreg 9 หลายเดือนก่อน

    Subscribed. This has answered so many questions I had and I managed to get my ESP8266 working perfectly. Clear and good instructions with no 'theatrics'; please tell me why there are so many weirdos and jokers discussing IOT on YT? It seems that the subject is only covered by people I can't bear to watch, truly. Anyway, thanks; I have naturally added your video to my notes in Obsidian, look forward to seeing more - thanks man.

    • @KPeyanski
      @KPeyanski  9 หลายเดือนก่อน

      I’m glad that this video was helpful for you and thanks for the sub. I’m releasing new ones every week so you can have a lot of content to watch ;)

  • @berndzethner7422
    @berndzethner7422 4 ปีที่แล้ว +3

    One of the best tutorials I´ve ever seen! Thanks for sharing

    • @KPeyanski
      @KPeyanski  4 ปีที่แล้ว

      Thank you. Your comment make my day, really. Check my other tutorials as well and let me know what you think!

  • @billysanches2202
    @billysanches2202 4 ปีที่แล้ว +1

    Congratulations, you keep it simple, and updated. All that I need

    • @KPeyanski
      @KPeyanski  4 ปีที่แล้ว

      Glad you like it. Check my other video tutorials as well

  • @riteshmakan7716
    @riteshmakan7716 3 ปีที่แล้ว

    Thank you. I love your tutorials, It also helps that you have the narrations and links in your descriptions. Hopefully others do the same

    • @KPeyanski
      @KPeyanski  3 ปีที่แล้ว

      You are welcome. I'm glad you like them!

  • @barrydonaldson
    @barrydonaldson 4 ปีที่แล้ว +1

    Excellent video - Crystal clear! Thanks, man!

    • @KPeyanski
      @KPeyanski  4 ปีที่แล้ว +1

      Very welcome!

  • @nevancasey5552
    @nevancasey5552 3 ปีที่แล้ว

    Thanks for making this tutorial. It was really informative.

    • @KPeyanski
      @KPeyanski  3 ปีที่แล้ว

      Glad it was helpful, Nevan!

  • @galoblanco691
    @galoblanco691 3 ปีที่แล้ว +1

    Excelent!, impossible to be clearer, Thanks for share

    • @KPeyanski
      @KPeyanski  3 ปีที่แล้ว

      Glad you enjoyed it 😁

  • @smartatwork2344
    @smartatwork2344 4 ปีที่แล้ว +1

    Hey Kiril, great Job. Very good explained. Also thx for the extensive description. Wish you a happy new year. Looking forward to your next Video. Had you ever played with Blynk-Sever?

    • @KPeyanski
      @KPeyanski  4 ปีที่แล้ว

      Hi and thank you. Wish you a happy new year too. Glad to have you here. About the Blynk it is kind of my TODO list, I have only read some headlines about it and never use it till now. Is it kind of cloud based service or there is local version as well?

    • @smartatwork2344
      @smartatwork2344 4 ปีที่แล้ว +1

      @@KPeyanski I read only the overview of Blynk-Server. It is installable locally - also seen as Docker-Container at IOT-stack. Looks interesting to me. Will have a deeper look on this, because seems having a nice mobile-app with nice frontend dashboard.

    • @KPeyanski
      @KPeyanski  4 ปีที่แล้ว

      Thanks for this information. It sounds very interesting. And if the docker and IOTstack are involved it will be very easy to try it. I will definitely play with it later. I will keep you informed ;)

  • @ssinseeme
    @ssinseeme 4 ปีที่แล้ว +1

    very important for newbies. before you plug your USB to the adapter, push the button on your Sonoff and release after you plug your USB

    • @KPeyanski
      @KPeyanski  4 ปีที่แล้ว

      Thanks for that comment, you are completely right. The device should be set in programming mode in order flashing to be successful.

  • @Kirkbdavis
    @Kirkbdavis 4 ปีที่แล้ว

    Good info well presented thanks

    • @KPeyanski
      @KPeyanski  4 ปีที่แล้ว

      Thanks Kirk. Check my other videos as well.

  • @knax97
    @knax97 3 ปีที่แล้ว +1

    Thank you verry much vor this nice Video...It still works in August 2020...

    • @KPeyanski
      @KPeyanski  3 ปีที่แล้ว

      Thanks for sharing that. There should be no reason not to work 😉

  • @xbitterpillxX
    @xbitterpillxX 4 ปีที่แล้ว +2

    Good explanation and easy to understand. I would like to see a video where you explain Tasmota + MQTT + HA

    • @KPeyanski
      @KPeyanski  4 ปีที่แล้ว

      Thank you for your comment. I'll consider very carefully your idea :) What exactly do you think will be most interesting to discuss in such a video? Controlling a Switch/Lights or something other?

    • @xbitterpillxX
      @xbitterpillxX 4 ปีที่แล้ว +1

      @@KPeyanski switch /lights would be a good starting point, I know there are multiple tutorials already, but the way you explain makes it easier to understand, at least for me. Keep up the good work.

    • @KPeyanski
      @KPeyanski  4 ปีที่แล้ว

      Thanks for your good words about me. This is really motivating. I may even use your comment in the video if I make it eventually. Of course if you don’t mind ;)

    • @shaunwhiteley3544
      @shaunwhiteley3544 4 ปีที่แล้ว +1

      KPeyanski Some info of ‘setoption19 1’ for example so auto discovery works and any other setoptions that are good. Cheers

  • @alynmaynard7156
    @alynmaynard7156 3 ปีที่แล้ว

    Hey there! I would love to see a tutorial on how to have TLS to your ESP as well making the ESP more secure against hackers. Thank!

    • @KPeyanski
      @KPeyanski  3 ปีที่แล้ว +1

      Thanks for the idea!

  • @mandeepmails
    @mandeepmails 3 ปีที่แล้ว

    Nice and informative video.
    Question - i connected wemos with relay and AC power accessories. i'm able to control but because of no power-backup or whatever reason if there's couple power fluctuations, it wipes out the config from the esp8266.
    Any ideas, how to avoid it ?

    • @KPeyanski
      @KPeyanski  3 ปีที่แล้ว +1

      No, sorry! But it seems like a nasty issue.

  • @nawafbana8100
    @nawafbana8100 3 ปีที่แล้ว

    Hello brother, thank you for your videos, I flashed my Sonoff mini to Tasmota, how can I get back to original firmware because no need now to flash Tasmota and I can use it in Home Assistant with original firmware?

    • @KPeyanski
      @KPeyanski  3 ปีที่แล้ว

      Sorry, don't know that. Probably it's possible but I never did that till now. I just stick to Tasmota :)

  • @liveartrainbow
    @liveartrainbow 4 ปีที่แล้ว +1

    Hey: first i would like to tahnk you for sharing. I am just wondering about installing tasmotizer on linux. I tried to install it on ubuntu 18.04 and I am not able to . If you did try it already , your help to resolve such issue will be much appreciated. Thank you in advance.

    • @KPeyanski
      @KPeyanski  4 ปีที่แล้ว +2

      Thanks for your comment. What’s the error you are getting? You have to have pip3 installed on your system, then you just simply execute: pip3 install tasmotizer

  • @jeevakkuwar
    @jeevakkuwar 3 ปีที่แล้ว

    I have flashed an esp8266-01 module with tasmota. My question is that How and Where can I integrate a reset button to the circuit to reset the firmware to factory defaults?

    • @KPeyanski
      @KPeyanski  3 ปีที่แล้ว

      I don't know that sorry

  • @josecorreia2584
    @josecorreia2584 3 ปีที่แล้ว

    Hi, but it's not better make the backup of the original esp8622 firmware?
    Do you know how we can achieve that?
    tks&rgds

    • @KPeyanski
      @KPeyanski  3 ปีที่แล้ว

      I didn't try that till now and I cannot point you to the right direction. I guess, you have to search a bit in google

  • @rkbest9783
    @rkbest9783 4 ปีที่แล้ว

    I am trying my first time- tasmotizer and I use windows. The moment I connect and refresh ports, nothing new is detected and on pressing tasmotizer the tasmotizer.exe closes without any message. Did I miss any step.?
    I trying to flash D1 mini as your link below. I tried it on two Windows 10 laptops with a similar crash of the application.

    • @KPeyanski
      @KPeyanski  4 ปีที่แล้ว

      I’m afraid I cannot help here. I can suggest to go to the Tasmotizer GitHub page and open an issue there. Good luck and let me know what happened?

  • @danielpancho1
    @danielpancho1 4 ปีที่แล้ว +1

    Hello, thank you for your video. I have a problem, I can perfectly tasmotize my esp8266 module, but after a few seconds it just resets. It gives me this error:
    ets Jan 8 2013,rst cause:1, boot mode:(1,7)
    ets Jan 8 2013,rst cause:4, boot mode:(1,7)
    wdt reset
    I am trying to tasmotize my module to configure it in home assistant, but I can not do it because of this error. Maybe you can help me, thank you very much.

    • @KPeyanski
      @KPeyanski  4 ปีที่แล้ว

      Hey Daniel, try to open an issue in the Tasmotizer GitHub page

  • @fredvign431
    @fredvign431 4 ปีที่แล้ว +1

    Hello... What will be required to use a dimmer on the configuration side? TIA

    • @KPeyanski
      @KPeyanski  4 ปีที่แล้ว +1

      You just have to use the Light card in Lovelace with your Tasmota device as entity. Dimmer is embedded in the light card and it works flawlessly.

    • @fredvign431
      @fredvign431 4 ปีที่แล้ว

      KPeyanski thank you so much!

    • @KPeyanski
      @KPeyanski  4 ปีที่แล้ว

      For nothing, did you manage to get it work?

    • @fredvign431
      @fredvign431 4 ปีที่แล้ว +1

      KPeyanski will try it in these coming days but you gave me great advice already 👨🏻‍🏫🍎A+😊

  • @Fun-io9kv
    @Fun-io9kv 2 ปีที่แล้ว +1

    Thanks

    • @KPeyanski
      @KPeyanski  2 ปีที่แล้ว +1

      No problem

    • @Fun-io9kv
      @Fun-io9kv 2 ปีที่แล้ว

      @@KPeyanski Is Tasmota better than ESPHome?

  • @IoIon2010
    @IoIon2010 3 ปีที่แล้ว

    Hallo boss!
    How can avoid a relay turn off/on after every restart?
    I have 2 relays set in interlock , but every time the wemos tasmota restarts they will go on together for few than a second.... can you help me?

    • @KPeyanski
      @KPeyanski  3 ปีที่แล้ว

      Sorry, don't know that. I think mine Tasmota devices are also blink when they are restarted

  • @shaunwhiteley3544
    @shaunwhiteley3544 4 ปีที่แล้ว +1

    8.10 I believe the ‘random number’ for the device are the last 4 numbers of its MAC address.
    Edit 😂 at 9.50 that proved me wrong ☹️

    • @KPeyanski
      @KPeyanski  4 ปีที่แล้ว

      Thanks, probably it is not so random number. It must have some connection with the hardware, but at the end of the day the important part is that to work stable. Did you manage to try this out?

  • @jemanuelmhz7972
    @jemanuelmhz7972 4 ปีที่แล้ว

    Para restaurar?

    • @KPeyanski
      @KPeyanski  3 ปีที่แล้ว

      What does this mean?

    • @jemanuelmhz7972
      @jemanuelmhz7972 3 ปีที่แล้ว

      @@KPeyanski se puede borrar trasmota?