Тёмный

Tasmota and Tasmotizer - Easy Flashing Guide for ESP8266 devices 

KPeyanski
Подписаться 29 тыс.
Просмотров 38 тыс.
50% 1

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

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 63   
@fazzah777
@fazzah777 4 года назад
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 года назад
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?
@berndzethner7422
@berndzethner7422 4 года назад
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!
@jtreg
@jtreg Год назад
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 Год назад
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 ;)
@billysanches2202
@billysanches2202 4 года назад
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 4 года назад
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 4 года назад
You are welcome. I'm glad you like them!
@ssinseeme
@ssinseeme 4 года назад
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.
@knax97
@knax97 4 года назад
Thank you verry much vor this nice Video...It still works in August 2020...
@KPeyanski
@KPeyanski 4 года назад
Thanks for sharing that. There should be no reason not to work 😉
@barrydonaldson
@barrydonaldson 4 года назад
Excellent video - Crystal clear! Thanks, man!
@KPeyanski
@KPeyanski 4 года назад
Very welcome!
@galoblanco691
@galoblanco691 3 года назад
Excelent!, impossible to be clearer, Thanks for share
@KPeyanski
@KPeyanski 3 года назад
Glad you enjoyed it 😁
@xbitterpillxX
@xbitterpillxX 4 года назад
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 года назад
@@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 года назад
KPeyanski Some info of ‘setoption19 1’ for example so auto discovery works and any other setoptions that are good. Cheers
@nevancasey5552
@nevancasey5552 4 года назад
Thanks for making this tutorial. It was really informative.
@KPeyanski
@KPeyanski 4 года назад
Glad it was helpful, Nevan!
@smartatwork2344
@smartatwork2344 4 года назад
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 года назад
@@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 ;)
@alynmaynard7156
@alynmaynard7156 4 года назад
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 4 года назад
Thanks for the idea!
@Fun-io9kv
@Fun-io9kv 3 года назад
Thanks
@KPeyanski
@KPeyanski 3 года назад
No problem
@Fun-io9kv
@Fun-io9kv 3 года назад
@@KPeyanski Is Tasmota better than ESPHome?
@Kirkbdavis
@Kirkbdavis 4 года назад
Good info well presented thanks
@KPeyanski
@KPeyanski 4 года назад
Thanks Kirk. Check my other videos as well.
@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 года назад
No, sorry! But it seems like a nasty issue.
@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
@shaunwhiteley3544
@shaunwhiteley3544 4 года назад
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?
@danielpancho1
@danielpancho1 4 года назад
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
@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
@liveartrainbow
@liveartrainbow 4 года назад
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 года назад
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
@fredvign431
@fredvign431 4 года назад
Hello... What will be required to use a dimmer on the configuration side? TIA
@KPeyanski
@KPeyanski 4 года назад
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 года назад
KPeyanski will try it in these coming days but you gave me great advice already 👨🏻‍🏫🍎A+😊
@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 :)
@josecorreia2584
@josecorreia2584 4 года назад
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?
@jemanuelmhz7972
@jemanuelmhz7972 4 года назад
Para restaurar?
@KPeyanski
@KPeyanski 3 года назад
What does this mean?
@jemanuelmhz7972
@jemanuelmhz7972 3 года назад
@@KPeyanski se puede borrar trasmota?
Далее
Intro to TASMOTA What is it? How do I? ESP8266?
25:39
Прохожу маску ЭМОЦИИ🙀 #юмор
00:59
The COMPLETE Guide to Tasmota 2019
16:41
Просмотров 258 тыс.
Flashing ESPHome or Tasmota to a Smart Device
26:20
Просмотров 10 тыс.
Installing Tasmota in 2022
9:30
Просмотров 21 тыс.
Adding Matter to Sonoff BasicR4
16:36
Просмотров 10 тыс.
SuperHouse #37: Installing Tasmota using Tasmotizer
10:30
Прохожу маску ЭМОЦИИ🙀 #юмор
00:59