# Esp8266 and multiple ds18b20's with mqtt

**URL:** <https://discourse.nodered.org/t/esp8266-and-multiple-ds18b20s-with-mqtt/60556>\
**Category:** General\
**Tags:** http-request, mqtt\
**Created:** [30 March 2022 17:47 UTC](https://discourse.nodered.org/t/esp8266-and-multiple-ds18b20s-with-mqtt/60556 "2022-03-30T17:47:18Z")\
**Posts on this page:** 20\
**Page:** 5

<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:** [5 April 2022 16:45 UTC](https://discourse.nodered.org/t/esp8266-and-multiple-ds18b20s-with-mqtt/60556/81 "2022-04-05T16:45:47Z")

</div>

ok so i flashed it with nodemcu bin file and then reflashed with Tasmota, and used laptop to set up instead of cell phone.  
now i am connected. but its not letting me go into the config screen!  
 ![Screenshot 2022-04-05 094245](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/f/9fbf85a2e2cea54cae30b52317c3f8e53a63e4e5.png)  
i should just be typing in the ip address right?

---

<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:** [5 April 2022 16:54 UTC](https://discourse.nodered.org/t/esp8266-and-multiple-ds18b20s-with-mqtt/60556/82 "2022-04-05T16:54:06Z")

</div>

are these setttings in wifi ok or do i need to change something?

 ![Screenshot 2022-04-05 095243](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/2/a2c23422a8184558813be9fc343d0dbd7ad1ef06.png)

![Screenshot 2022-04-05 095314](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/2/d21fd583586d5cac9c1313b2b3de91472f075deb.png)

---

<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:** [5 April 2022 17:04 UTC](https://discourse.nodered.org/t/esp8266-and-multiple-ds18b20s-with-mqtt/60556/83 "2022-04-05T17:04:08Z")

</div>

![Screenshot 2022-04-05 100206](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/d/8dd70274db60792085fb8ace3eb06152991d6fce.png)

 ![Screenshot 2022-04-05 100230](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/a/6a41be5bf792e1d8bb04d2171d137d525c4a0cae.png)

2 more settings, the esp8266 keeps loging out of wifi. and struggles to establish and hold a connection.

---

<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:** [5 April 2022 17:07 UTC](https://discourse.nodered.org/t/esp8266-and-multiple-ds18b20s-with-mqtt/60556/84 "2022-04-05T17:07:46Z")

</div>

if it drops off do you see its AP

---

<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:** [5 April 2022 17:12 UTC](https://discourse.nodered.org/t/esp8266-and-multiple-ds18b20s-with-mqtt/60556/85 "2022-04-05T17:12:11Z")

</div>

that would be the tasmota wifi popping up in available wifi, if so, yes

---

<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:** [5 April 2022 17:13 UTC](https://discourse.nodered.org/t/esp8266-and-multiple-ds18b20s-with-mqtt/60556/86 "2022-04-05T17:13:56Z")

</div>

yes - did you tick the box next to password to be sure it is correct ?

---

<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:** [5 April 2022 17:16 UTC](https://discourse.nodered.org/t/esp8266-and-multiple-ds18b20s-with-mqtt/60556/87 "2022-04-05T17:16:20Z")

</div>

LOL silly question but needed I assume.  
Yes i did. more then once because I know i have fat fingers.

---

<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:** [5 April 2022 17:17 UTC](https://discourse.nodered.org/t/esp8266-and-multiple-ds18b20s-with-mqtt/60556/88 "2022-04-05T17:17:18Z")

</div>

in screen shot I cannot see the ssid - only mac addresses ?  
do you have ssid hidden ?

---

<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:** [5 April 2022 17:20 UTC](https://discourse.nodered.org/t/esp8266-and-multiple-ds18b20s-with-mqtt/60556/89 "2022-04-05T17:20:17Z")

</div>

Seems not looking at your router screen shot.  
if you click scan for networks what do you see ?

---

<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:** [5 April 2022 17:26 UTC](https://discourse.nodered.org/t/esp8266-and-multiple-ds18b20s-with-mqtt/60556/90 "2022-04-05T17:26:47Z")

</div>

it sees the network and i select the pass  
then it acts like it connects then disconnects.

---

<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:** [5 April 2022 17:35 UTC](https://discourse.nodered.org/t/esp8266-and-multiple-ds18b20s-with-mqtt/60556/91 "2022-04-05T17:35:38Z")

</div>

Do you see ssid on esp other screen shot had mac

---

<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:** [5 April 2022 17:46 UTC](https://discourse.nodered.org/t/esp8266-and-multiple-ds18b20s-with-mqtt/60556/92 "2022-04-05T17:46:10Z")

</div>

yes , when i log into esp wifi broadcast  
it takes me to set up screen.  
i scan for networks and it is there.  
i select,  
enter in password  
select save.  
then it either says couldnt connect and asks me to re-enter pass  
or it acts as it connected. it did once then disconnected.  
either there is a wifi setting thats wrong on my router or a config issue with board and or bad board.

 ![20220405_103644](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/5/35672bdcf515c5ad2ab7486fb62b64efcfc10ef1.jpeg)  
 ![20220405_103702](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/6/16e17b485678c54db0d20af8d6d473f40c711e7e.jpeg)

---

<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:** [5 April 2022 17:47 UTC](https://discourse.nodered.org/t/esp8266-and-multiple-ds18b20s-with-mqtt/60556/93 "2022-04-05T17:47:26Z")

</div>

![Screenshot 2022-04-05 094245](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/f/9fbf85a2e2cea54cae30b52317c3f8e53a63e4e5.png)  
this is what i got when it was connected to my wifi

---

<div class="post-metadata">

**Author:** ![Zodiac-69](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zodiac-69/32/29022_2.png) [@Zodiac-69](https://discourse.nodered.org/u/Zodiac-69)\
**Post date:** [5 April 2022 18:39 UTC](https://discourse.nodered.org/t/esp8266-and-multiple-ds18b20s-with-mqtt/60556/94 "2022-04-05T18:39:42Z")

</div>

I had similar issues.  
Flash your ESP with a "BLANK" bin file.  
That will make sure that here is not any garbage data screwing you around.  
Then flash your image again. That always work for me.

---

<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:** [5 April 2022 18:52 UTC](https://discourse.nodered.org/t/esp8266-and-multiple-ds18b20s-with-mqtt/60556/95 "2022-04-05T18:52:40Z")

</div>

where do i find a "blank" bin file

---

<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:** [5 April 2022 18:54 UTC](https://discourse.nodered.org/t/esp8266-and-multiple-ds18b20s-with-mqtt/60556/96 "2022-04-05T18:54:07Z")

</div>

maybe a better question.  
i have read it needs to be in "flash" mode.  
does Tasmotize handle that or should i be doing something before i flash it.

---

<div class="post-metadata">

**Author:** ![Zodiac-69](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zodiac-69/32/29022_2.png) [@Zodiac-69](https://discourse.nodered.org/u/Zodiac-69)\
**Post date:** [5 April 2022 19:04 UTC](https://discourse.nodered.org/t/esp8266-and-multiple-ds18b20s-with-mqtt/60556/97 "2022-04-05T19:04:37Z")

</div>

I presume you have an ESP with 4MB flash.  
You can get a [blank bin](https://github.com/letscontrolit/ESPEasy/tree/mega/dist/bin) here.  
Not sure, but i think Tasmotizer will be able to flash a blank bin

---

<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:** [5 April 2022 19:06 UTC](https://discourse.nodered.org/t/esp8266-and-multiple-ds18b20s-with-mqtt/60556/98 "2022-04-05T19:06:56Z")

</div>

did it and reflashed tasmota  
still having issues

---

<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:** [5 April 2022 19:08 UTC](https://discourse.nodered.org/t/esp8266-and-multiple-ds18b20s-with-mqtt/60556/99 "2022-04-05T19:08:20Z")

</div>

If you use tasmotezr software there is an option to erase flash. This will clear everything before flashing.

---

<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:** [5 April 2022 19:10 UTC](https://discourse.nodered.org/t/esp8266-and-multiple-ds18b20s-with-mqtt/60556/100 "2022-04-05T19:10:06Z")

</div>

Tbh it sounds like an issue with wifi network. You did say you had it working ok at home ?

[Previous page](https://discourse.nodered.org/t/esp8266-and-multiple-ds18b20s-with-mqtt/60556.md?page=4)

[Next page](https://discourse.nodered.org/t/esp8266-and-multiple-ds18b20s-with-mqtt/60556.md?page=6)
