kascetable.blogg.se

Esp8266 firmware tasmota
Esp8266 firmware tasmota





  1. ESP8266 FIRMWARE TASMOTA INSTALL
  2. ESP8266 FIRMWARE TASMOTA SERIAL
  3. ESP8266 FIRMWARE TASMOTA CODE

OPTIONAL Step 5b: Back up original firmware This will put the Sonoff into a mode where it waits for new firmware to be loaded. This process is explained in detail in the previous video. Step 5: Put Sonoff into bootloader modeĭisconnect power from the Sonoff, hold the GPIO0 pin low, and reconnect power. On my Mac, the port appeared at /dev/tty.usbmodem14201, so I’ll use that in the following examples.

ESP8266 FIRMWARE TASMOTA SERIAL

If you have the Arduino IDE installed, a good way to find the location of the virtual serial port is to start the IDE, look at the ports list in Tools -> Port, then plug in the converter and check the ports list again to see if a new port has appeared. 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. Your USB-to-Serial converter connects to your computer by USB, and appears to the computer as a virtual serial port.

ESP8266 FIRMWARE TASMOTA INSTALL

You can download esptool from /espressif/esptool.įollow the instructions on that page to install it on your computer. It’s written in Python so you will need a working Python environment on your computer. Step 3: Download and install esptoolĮsptool is a utility that can be used to read and write the flash memory on devices using the ESP8266 and ESP8285 microcontrollers, including all current Sonoff models. That way if I come back to it later, I can see what version I downloaded. I prefer to rename the binary file so that it includes the release version, such as “tasmota-8_4_0.bin”. Whichever version you select, download it to your computer. If you want to run Tasmota in a language other than English, select the appropriate “tasmota-XX.bin” file. The binaries with 2-letter country codes appended, such as “tasmota-IT.bin”, have the exact same functionality as the standard “tasmota.bin” but with different languages for the user interface. The binaries fall into several categories which are outlined on the releases page.įor most devices, you should choose the binary called “tasmota.bin” which includes all the features required for the majority of compatible hardware. There is a big list of binaries for each release, which can be confusing if you don’t know which one you need.

ESP8266 FIRMWARE TASMOTA CODE

If you want to compile the code yourself that’s fine, but you don’t need to if you just want the latest version. The Tasmota firmware and its documentation is available at /arendst/Sonoff-Tasmota, including both firmware and pre-compiled binary releases. Make sure the Sonoff is totally disconnected from any mains power.ĭon’t proceed unless you have done that! Connecting your computer to a Sonoff while it is connected to mains is extremely dangerous.ĭetails of the electrical connection are shown in the previous episode, so check that out if you need more information. Both methods do exactly the same thing: my programming adapter just makes it neat and easy. You can make the connections using jumper wires and the instructions in my previous video, or you can use my handy little programming adapter. You can use a mobile phone for the WiFi steps if you prefer.

  • Jumper wires or a programming adapter to connect the USB-to-Serial converter to the Sonoff.
  • A USB-to-Serial converter that can run in 3.3V mode (don’t use a 5V converter!).
  • A compatible Sonoff model or equivalent (more than 50 devices are supported by Tasmota).
  • To load new firmware onto a Sonoff, you need four pieces of hardware:
  • Episode #30 about putting any Sonoff into bootloader mode.






  • Esp8266 firmware tasmota