# How to install Tasmota on an ESP8266

**URL:** <https://discourse.nodered.org/t/how-to-install-tasmota-on-an-esp8266/63587>\
**Category:** Share Your Projects\
**Tags:** node-red-dashboard, function-node, mqtt\
**Created:** [7 June 2022 19:06 UTC](https://discourse.nodered.org/t/how-to-install-tasmota-on-an-esp8266/63587 "2022-06-07T19:06:29Z")\
**Posts on this page:** 20\
**Page:** 5

<div class="post-metadata">

**Author:** ![WBr](https://avatars.discourse-cdn.com/v4/letter/w/b3f665/32.png) [@WBr](https://discourse.nodered.org/u/WBr)\
**Post date:** [20 September 2022 22:35 UTC](https://discourse.nodered.org/t/how-to-install-tasmota-on-an-esp8266/63587/81 "2022-09-20T22:35:14Z")

</div>

This worked! Thx

---

<div class="post-metadata">

**Author:** ![WBr](https://avatars.discourse-cdn.com/v4/letter/w/b3f665/32.png) [@WBr](https://discourse.nodered.org/u/WBr)\
**Post date:** [20 September 2022 22:35 UTC](https://discourse.nodered.org/t/how-to-install-tasmota-on-an-esp8266/63587/82 "2022-09-20T22:35:25Z")

</div>

That would be great!

---

<div class="post-metadata">

**Author:** ![9toejack](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/9toejack/32/56868_2.png) [@9toejack](https://discourse.nodered.org/u/9toejack)\
**Post date:** [21 September 2022 01:27 UTC](https://discourse.nodered.org/t/how-to-install-tasmota-on-an-esp8266/63587/83 "2022-09-21T01:27:06Z")

</div>

send a screen shot of the messages coming when when you have it up and running.  
did i get you the code to translate the number into a usable output?

---

<div class="post-metadata">

**Author:** ![9toejack](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/9toejack/32/56868_2.png) [@9toejack](https://discourse.nodered.org/u/9toejack)\
**Post date:** [28 September 2022 18:37 UTC](https://discourse.nodered.org/t/how-to-install-tasmota-on-an-esp8266/63587/84 "2022-09-28T18:37:33Z")

</div>

ok so here is new bin file because i was trying to do a video and the old one was fialing.  
[https://drive.google.com/file/d/1UufzScwCb1lANzBe\_HPMiDozO8Sb\_St1/view?usp=sharing](https://drive.google.com/file/d/1UufzScwCb1lANzBe_HPMiDozO8Sb_St1/view?usp=sharing)  
no i will start from sctratch and screen shot each step.  
Also i was able to use tasmotizer and install this new one directly with no issues.  
so here we go. on new step by step.  
im actually going to do the step by step in google docs and then share to make this easier.

---

<div class="post-metadata">

**Author:** ![WBr](https://avatars.discourse-cdn.com/v4/letter/w/b3f665/32.png) [@WBr](https://discourse.nodered.org/u/WBr)\
**Post date:** [14 April 2023 13:56 UTC](https://discourse.nodered.org/t/how-to-install-tasmota-on-an-esp8266/63587/85 "2023-04-14T13:56:13Z")

</div>

> [@9toejack](#):
>
> However you have to install minimal Tasmota first

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/7/d77b078bbb5b36ed4892a390d79393d9b91dab3a.png)  
Are you sure?

And the google drive file says tasmota i2c, isn't that a name that you gave to it?

---

<div class="post-metadata">

**Author:** ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Post date:** [14 April 2023 14:03 UTC](https://discourse.nodered.org/t/how-to-install-tasmota-on-an-esp8266/63587/86 "2023-04-14T14:03:28Z")

</div>

The lastest Tasmota build (as of 14th April 2023) is 12.4.0

> **[GitHub - arendst/Tasmota: Alternative firmware for ESP8266 and ESP32 based...](https://github.com/arendst/tasmota)**
>
> Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP...

[http://ota.tasmota.com/tasmota/release/](http://ota.tasmota.com/tasmota/release/)

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [14 April 2023 18:01 UTC](https://discourse.nodered.org/t/how-to-install-tasmota-on-an-esp8266/63587/87 "2023-04-14T18:01:21Z")

</div>

Doesn't the Tasmotizer make this easy ? [GitHub - tasmota/tasmotizer: ESP... The time has come to... Tasmotize!](https://github.com/tasmota/tasmotizer)

---

<div class="post-metadata">

**Author:** ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Post date:** [14 April 2023 18:24 UTC](https://discourse.nodered.org/t/how-to-install-tasmota-on-an-esp8266/63587/88 "2023-04-14T18:24:23Z")

</div>

YES it does.

---

<div class="post-metadata">

**Author:** ![9toejack](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/9toejack/32/56868_2.png) [@9toejack](https://discourse.nodered.org/u/9toejack)\
**Post date:** [14 April 2023 18:32 UTC](https://discourse.nodered.org/t/how-to-install-tasmota-on-an-esp8266/63587/89 "2023-04-14T18:32:49Z")

</div>

Yes it really does. Main thing to remember when making the new file you need to compile with sensors, and with i2c.  
The ads1115 analog converter communicates with parent devices via i2c.  
That's why on the Google drive bin file i did i renamed to i2c so i can differentiate it from the bin with just sensors.

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [15 April 2023 03:35 UTC](https://discourse.nodered.org/t/how-to-install-tasmota-on-an-esp8266/63587/90 "2023-04-15T03:35:09Z")

</div>

It's not always necessary to compile your own version.

There are many pre compiled versions of the firmware available, if you flash with the "sensor" version then most common sensors are included, along with i2c.

A list of features included in the different pre-built images can be found - [here](https://github.com/arendst/Tasmota/blob/v12.4.0/BUILDS.md)

---

<div class="post-metadata">

**Author:** ![9toejack](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/9toejack/32/56868_2.png) [@9toejack](https://discourse.nodered.org/u/9toejack)\
**Post date:** [15 April 2023 05:57 UTC](https://discourse.nodered.org/t/how-to-install-tasmota-on-an-esp8266/63587/91 "2023-04-15T05:57:17Z")

</div>

Yes but the i2c isn't included with the sensor one, i had to create one that had both.

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [15 April 2023 11:44 UTC](https://discourse.nodered.org/t/how-to-install-tasmota-on-an-esp8266/63587/92 "2023-04-15T11:44:43Z")

</div>

> [@9toejack](#):
>
> Yes but the i2c isn't included with the sensor one

That probably explains why I can't get my BME280 working on any ESP with tasmota-sensors.

[https://tasmota.github.io/docs/BME280/](https://tasmota.github.io/docs/BME280/) says "This feature is only included in tasmota-sensors binaries"

Foolishly I assumed it meant the feature is included in that precompiled binary.

---

<div class="post-metadata">

**Author:** ![M-a-r-t-i-n](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/m-a-r-t-i-n/32/52391_2.png) [@M-a-r-t-i-n](https://discourse.nodered.org/u/M-a-r-t-i-n)\
**Post date:** [15 April 2023 14:53 UTC](https://discourse.nodered.org/t/how-to-install-tasmota-on-an-esp8266/63587/93 "2023-04-15T14:53:49Z")

</div>

If it’s any help, I have a BME280 running ok with the sensors build ( v 9.2 ) on an ESP8266.

---

<div class="post-metadata">

**Author:** ![9toejack](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/9toejack/32/56868_2.png) [@9toejack](https://discourse.nodered.org/u/9toejack)\
**Post date:** [15 April 2023 14:57 UTC](https://discourse.nodered.org/t/how-to-install-tasmota-on-an-esp8266/63587/94 "2023-04-15T14:57:14Z")

</div>

I use the ads1115 and it uses i2c, it didn't work with the standard sensor build.

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [15 April 2023 15:30 UTC](https://discourse.nodered.org/t/how-to-install-tasmota-on-an-esp8266/63587/95 "2023-04-15T15:30:52Z")

</div>

I beg to differ, I have used it a lot with i2c sensors and if you check the link you can see exactly what each build includes.

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [15 April 2023 15:32 UTC](https://discourse.nodered.org/t/how-to-install-tasmota-on-an-esp8266/63587/96 "2023-04-15T15:32:59Z")

</div>

It is included in the sensor build 😉

If you have your sensor wired up correctly then it will be detected and show temps on the main web page of the esp.

---

<div class="post-metadata">

**Author:** ![Jean-Luc](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jean-luc/32/89996_2.png) [@Jean-Luc](https://discourse.nodered.org/u/Jean-Luc)\
**Post date:** [15 April 2023 17:29 UTC](https://discourse.nodered.org/t/how-to-install-tasmota-on-an-esp8266/63587/97 "2023-04-15T17:29:46Z")

</div>

I may be off topic.  
If you want to customize a tasmota binary without having to install everything locally on his machine. There is this solution via the web.

It's nice and easy to use.  
It creates a binary that can be installed via a browser or via tasmotizer

> **[GitHub - benzino77/tasmocompiler: Web GUI for custom Tasmota compilation](https://github.com/benzino77/tasmocompiler#super-easy-way-thanks-to-meingraham-and-jason2866)**
>
> Web GUI for custom Tasmota compilation. Contribute to benzino77/tasmocompiler development by creating an account on GitHub.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/c/ac9c1e15cd95b70537447c1762c9675e393ab9aa.png)

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [15 April 2023 19:33 UTC](https://discourse.nodered.org/t/how-to-install-tasmota-on-an-esp8266/63587/98 "2023-04-15T19:33:00Z")

</div>

I confirmed that my BME280 is not dead by using the Arduino IDE, then back to Tasmota.

Yes I2C does work with tasmota-sensors (I'm using v12.4.0)

The settings that work are the same as I first tried so I guess repeated removal/insertion has finally cleaned the breadboard connections

---

<div class="post-metadata">

**Author:** ![WBr](https://avatars.discourse-cdn.com/v4/letter/w/b3f665/32.png) [@WBr](https://discourse.nodered.org/u/WBr)\
**Post date:** [18 April 2023 14:22 UTC](https://discourse.nodered.org/t/how-to-install-tasmota-on-an-esp8266/63587/99 "2023-04-18T14:22:04Z")

</div>

> [@Sean-McG](#):
>
> If you have your sensor wired up correctly then it will be detected and show temps on the main web page of the esp.

It didn't do that with my esp8266 setup!

I used the tasmota-sensors-bin.gz and connected a DS18B20 to it. Said the D2 was the data pin. No values were shown...

---

<div class="post-metadata">

**Author:** ![WBr](https://avatars.discourse-cdn.com/v4/letter/w/b3f665/32.png) [@WBr](https://discourse.nodered.org/u/WBr)\
**Post date:** [18 April 2023 14:24 UTC](https://discourse.nodered.org/t/how-to-install-tasmota-on-an-esp8266/63587/100 "2023-04-18T14:24:03Z")

</div>

How did you configure the tasmota after installing tasmota-sensors.bin.gz?

[Previous page](https://discourse.nodered.org/t/how-to-install-tasmota-on-an-esp8266/63587.md?page=4)

[Next page](https://discourse.nodered.org/t/how-to-install-tasmota-on-an-esp8266/63587.md?page=6)
