Category: Tasmota download bin

Tasmota download bin

Aragrel / 14.12.2020

Make the Sonoff smart power controller even more awesome by installing the Tasmota open source firmware. Tasmota adds many new features, and allows you to integrate Sonoffs into an existing home automation system without relying on external cloud services.

You can make the connections using jumper wires and the instructions in my previous video, or you can use my handy little programming adapter. Both methods do exactly the same thing: my programming adapter just makes it neat and easy.

Connecting your computer to a Sonoff while it is connected to mains is extremely dangerous. Details of the electrical connection are shown in the previous episode, so check that out if you need more information.

The Tasmota firmware and its documentation is available at github. The binary releases are at:. The binaries fall into several categories which are outlined on the releases page.

That way if I come back to it later, I can see what version I downloaded. Esptool is a utility that can be used to read and write the flash memory on devices using the ESP and ESP microcontrollers, including all current Sonoff models. You can download esptool from github.

The exact location of the virtual serial port will vary depending on the type of converter that you have, what operating system you use, and which physical USB port you plug the converter into. Then release GPIO0. This process is explained in detail in the previous video. If you want to make a backup of the original firmware so you can restore it back to factory-original later, jump to the addendum near the bottom and then return here.

Otherwise, carry on! Open a terminal, and go into the directory where you have the Tasmota binary. Use esptool to push it to the Sonoff using the serial port location that you found earlier:. While esptool is doing the upload it will report useful information about the hardware in your Sonoff, including the MAC address. You can copy and paste the MAC address out of the terminal and save it in a document or spreadsheet for future reference if you want to.

Disconnect the Sonoff power power, then reconnect it. On your computer or smartphone, go into WiFi settings and look for a network with a name similar to this. Make a note of the network name, because you will need it in a moment! Your computer should then automatically open a captive portal, with a WiFi configuration screen for the Sonoff. Enter the WiFi settings for your normal network into the Sonoff. This will cause your computer to drop off the temporary WiFi network that was created by the Sonoff, and reconnect to your normal network.

For example, the address could be something like. This will open a configuration interface where you can view information about the device, change its settings, backup and restore the configuration, install firmware updates, and control the output.

Many of the configuration options are explained in the video. Explore the menus and set up the Sonoff to suit your home automation system. Instead, you can put it into WiFi recovery mode. Tasmota can use the button on the Sonoff to put it into special modes.

If you quick-press the button 4 times, it will restart the setup process and create its own WiFi network again just like in step 7. Then you can connect to its WiFi, and give it new details so it can connect to your main WiFi network again. If you press and hold the button for more than 40 seconds, Tasmota will clear all its settings, reboot, create a WiFi network, and begin the setup process from scratch.

Other things you can do with the button are explained at github. If you want to keep the option of returning the Sonoff to factory-original condition, you can download the original firmware out of its flash memory and save it for later use.Any variation of the ESP chip can be flashed with Tasmota. The power supplied to the device is one of the most important elements for both flashing the device and for stable operation.

You must ensure that the device receives sufficient power current AND appropriate voltage level to properly flash the firmware on the device. Some adapters can be switched between 3. To solder you'll of course need a soldering iron, soldering tin and some flux.

Getting Started

If you're new to soldering check out some soldering tutorial videos while you're at it. If you're intimidated by soldering you could get away with holding the headers with jumper wires in the pin holes during flashing but it is not a fool proof process and flashing might fail. You could use any kind of wire but jumper wires also called DuPont wires are more practical than soldering and desoldering. Pin headers come in male or female version. Choose according to your jumper wire connectors.

Tasmota installed from a precompiled binary needs to be configured to work with your Wi-Fi network before you can access the Tasmota web UI. Download a Tasmota firmware binary file. If you're not sure which binary is the right one for you just start with tasmota. Latest development branch binaries are available only from our OTA server. The latest merged development code is compiled hourly. A program that connects to your Tasmota device directly over the serial connection you used to flash it.

This is an optional way to configure your device using Commands and Backlog. Enable local echo so that you can see what is typed and transmitted to the device. Tasmota is designed to be controlled and communicate via MQTT.

To use it to its fullest potential you need an MQTT broker.

tasmota download bin

If you want to modify the code or default settings and compile your own Tasmota firmware. We need to connect to the serial programming interface of the ESP chip. In most cases those pins are available on the PCB in the form of pin holes or solder pads but pin headers or jumper wires need to be soldered or otherwise applied.

In some cases you will need to solder wires directly on the chip's pins which requires some experience and good soldering equipment. If you are not careful, your own health will be in danger.

Shorting your serial interface with mains AC power will fry your device and serial adapter and will also harm or destroy your computer. It is important to always have all mains power cables disconnected from the device while being connected via serial or even while the case of the device is opened. Each device has its pins labelled differently. If the labelling isn't visible on the PCB please refer to the devices flashing guide or search the Internet for correct pin locations.As mentioned in previous post, all 3 options Tasmota, ESPurna and ESPEasy offer pre-compiled binaries, so you can just download the image you need and get going very fast.

Tasmotaoffers 2 main variants of the firmware: minimal image only good for initial flashing and one-size-fits-all image with all features turned on. ESPurna offers 52 different pre-compiled images, to exactly match your need.

Have Sonoff Basic module? Get espurna Added DHT sensor to it? You get the idea. Repository of images is available here. ESPEasy also comes precompiled, and is offering 3 everything-included images, made for different flash sizes your boards might have they offer firmware for 1M, 2M and 4M flash boards, conveniently namedand … why? They also include upload tool for Windows in the archive, together with a source tree of ESPEasy, which makes is quite convenient for flashing.

Always fresh link to actual image archive is provided here. Compiling your own firmware is not as hard as it seems, and, once you overcome the initial fear of it, will become your preferred method of getting new versions of the firmware.

One of the rules I set for myself is not to have a dead-code compiled and uploaded to the devices, so I prefer images where I can choose exactly what I need.

What is Tasmota and What Can it do for You?

So, before you actually build your images, you might want to change some of the parameters that will govern what options get compiled in your firmware. Most of the parameters are self explanatory and have comments on a side that would help you determine what you should change. Truth be told, Xose left the option of defining your own custom.

Feel free to customize your other options. As I mentioned in my previous post, almost all of ESPEasy configuration is runtime rather than compile time so there are not a lot of options you can se during compilation time. Build system offers more choices than you get with precompiled binaries, so now you can choose firmware for ESP and ESP chips, with various Flash sizes and with, or without included development plugins.

Build process will result in a zip archive similar to the one you can download, just with few more firmware options. All 3 firmware option prefer serial upload of the images to boards, which requires you to have FTDI programmer module and make sure you have real 3v3 version one! Images can be flashed using esptool. ESPurna Binaries documentation. ESPEasy Connecting and flashing. Process is actually same for all 3 firmware options, so I suggest that you read all 3 instructions to understand the root principle behind uploading a firmware.

After that, the only difference is a filename. By default, Itead Sonoff devices include custom firmware with custom OTA mechanism that will try to update Itead-supplied firmware to newer version. Few very smart people behind SonOTA and Espressif2Arduino projects figured out how to intercept those requests and serve your firmware of choice instead of Itead one. Note that not all Itead devices are supported.

I might provide a writeup for that somewhere in the future. Game is the same for all 3 options, when it comes to pre-compiled binaries, with Tasmota and ESPEasy having all-included binaries that are less complicated to start with than ESPurnas matrix of choices. In this light, I prefer ESPurna way of configuring different boards, as it allows me to select and include only the code I actually need and have different configuration for different boards, without juggling with files.

If you only have one type of boards, Tasmota offers same experience, but it become a bit complicated if you have multiple boards. Getting firmware for your board Precompiled binaries As mentioned in previous post, all 3 options Tasmota, ESPurna and ESPEasy offer pre-compiled binaries, so you can just download the image you need and get going very fast. Images are located here.

How to Flash Tasmota onto Sonoff Basic - Home Assistant Basics

Repository of images is available here ESPEasy also comes precompiled, and is offering 3 everything-included images, made for different flash sizes your boards might have they offer firmware for 1M, 2M and 4M flash boards, conveniently namedand … why?The makers of Sonoff published the libraries and Arduino files on their GitHub page.

In the new updated firmware, you can easily choose the different ESP Boards easily. Did you use this instructable in your classroom?

Flashing SONOFF Tasmota Firmware on NodeMCU

Add a Teacher Note to share how you incorporated it into your lesson. Download the Sonoff Tasmota Firmware from this link. Open the Sonoff Tasmota folder. Inside the downloaded file, Open the sonoff. It will open all the necessary files in next tabs in Arduino IDE. Now open the userconfig. Make sure the settings are like this for NodeMCU 1.

And search for the IP address inside your network IP.

#31: Sonoff Tasmota installation and configuration

In my case, My IP will range from Click scan and you can see the project name you given in the userconfig. It will show the Sonoff Tasmota page to configure your module. By default, it will be in Sonoff Basic. Select the board as Generic and Save.

The device will restart. This option is for all ESP boards. Now if you click the configuration, then you can able to see more GPIO options. For more tutorials, visit our blog - Factory Forward Blog. Question 1 year ago.

tasmota download bin

Reply 1 year ago. Some ppl facing problems with Version 6. Answer 1 year ago. El problema que tengo es que En off - enciende On - apaga 0 - enciende 1 - apaga Como invierto?

tasmota download bin

Use other Pins. By Sarath FactoryForward Follow. More by the author:. Add Teacher Note. Let's configure our code. Board: NodeMCU 1. Did you make this project? Share it with us! I Made It! RaimisB 6 months ago. Reply Upvote. PercyF Question 1 year ago.If you are at all involved in home automation and control and you have not been living under a rock, chances are you have heard of or have seen Tasmota mentioned.

If you are like me however you may never have really understood what it was and what it could be used for. In this article, I hope to be able to answer some questions about Tasmota so that you can understand what it is, how it is used and how you can benefit from it.

Tasmota is custom firmware that is available for ESP based devices allowing for web, timer, OTA firmware updates and sensor support. So this probably leads us to your first question, What is ESP? For this article, all you really need to know is that it is the Wi-Fi chip used in a lot of connected devices. While not limited to below is a list of some of the most popular:. Now at this point, I have either enlightened or confused you as to what Tasmota is.

This is a simple question to answer and I already have answered it briefly in telling you what Tasmota is but to reiterate, Tasmota can unlock your devices freeing them to communicate with systems and ecosystems that they were never intended to communicate with. This can allow you to roll all of your devices under the same cloud infrastructure those simplifying your home automation system and your life.

Now you need to know that in most cases after flashing Tasmota your device will no longer be covered under warranty nor will it be able to communicate in the manner intended by its manufacturer meaning it will not be able to communicate to there servers. Instead of whatever cloud the manufacturer of your device wants you to be communicating with, Tasmota can allow you integration with any ecosystem that supports MQTT like:.

If you are with me this far and have a compatible device you most likely want to know how you go about getting Tasmota onto that device. Well, there are a lot of devices, even more than I listed above so I can in no way go into them all but I will take you through a Sonoff Basic setup.

I will say though that a simple Google search will bring up countless YouTube videos on just about any device that can show you the process.

tasmota download bin

Follow along with me:. First, we need to connect to the internal serial interface. Sounds simple except for the fact that the terminals needed are not pinned so you will need to solder onto them.

Now if you are handy with a soldering iron you should not have any problems with this. If you are not I would recommend getting someone who is to do this for you. Next up we need to get a computer ready for flashing. I am a Linux guy so I will be telling you how to do this all from the command line. Now that you are connected to the Sonoff Basic and have the computer ready we need to connect it to your computer.

Before connecting anything to your computer, press and hold the Push Button on the Sonoff Basic and with the button pushed plug the USB cable into your computer.GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

If you do not have an installed copy of Python 2. Packages for Esptool are maintained for Debian and Ubuntu and can be installed with sudo apt install esptool. Download the latest Tasmota release firmware file tasmota. A second source is thehackbox This source can be used for OTA too.

When performing a firmware upload do not connect the device to AC but use the power supply provided by your FTDI type serial interface. Deviations may apply. Esptool uses the serial interface to communicate with your device. Before using Esptool make sure you know to which serial interface name your device is connected to.

NOTE2: For a proper device initialization after first firmware upload power down and power up the device. If you want features from the current development codebase which has not been included in the last release please download this tasmota. Once the device is in firmware upload mode the following commands are recommended for completion of the firmware flashing. Erase the flash completely with the following command substituting the COM port for the one which was used on your computer.

Once the erase is complete, reset your device back into programming mode and then upload the firmware using the following command. Skip to content. Permalink Dismiss Join GitHub today GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

Sign up. Branch: master. Find file Copy path. Raw Blame History. How to setup and configure Esptool for Tasmota upload. Download Esptool If you do not have an installed copy of Python 2. Install Esptool Go to the known folder and install Esptool with command python setup. Download Tasmota Download the latest Tasmota release firmware file tasmota. Upload Tasmota Put device in firmware upload mode When performing a firmware upload do not connect the device to AC but use the power supply provided by your FTDI type serial interface.

Put the device in firmware upload mode by grounding pin GPIO00 while applying power. In the following commands I use COM5 as an example.Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 40 million developers.

See migration path for instructions how to migrate to a major version. Pay attention to the following version breaks due to dynamic settings updates:. While fallback or downgrading is common practice it was never supported due to Settings additions or changes in newer releases. Starting with release v8. Once at v7. This will also support gzipped binaries. Although it might still compile on previous Core versions all support will be removed in the near future.

Read full documentation. For initial configuration this release supports Webserver based WifiManager or Serial based command interface only. Complete list of available feature and sensors. Over additional devices are supported using templates. See wiki migration path for instructions how to migrate to a major version. Although it might still compile on previous Core versions all support will be removed starting in the next Release. TLS is supported on core 2. For others core 2. Firmware binary sonoff-classic.

The default tool is Wps. Core version 2. Skip to content. Dismiss Be notified of new releases Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 40 million developers.

Sign up. Releases Tags. Latest release. Choose a tag to compare. Search for a tag. Tasmota v8. Pay attention to the following version breaks due to dynamic settings updates: Migrate to Sonoff-Tasmota 3. Read full documentation Initial configuration tools For initial configuration this release supports Webserver based WifiManager or Serial based command interface only. This version should NOT be used for initial installation. List of embedded modules. Changelog Version 8. Assets Source code zip.

Source code tar. Tasmota v7. Changelog Version 7.


Comments

Add Comment

Leave a Reply

Your email address will not be published. Required fields are marked *