# Cant find the node "mqtt-dynamin in"

**URL:** <https://discourse.nodered.org/t/cant-find-the-node-mqtt-dynamin-in/19077>\
**Category:** General\
**Created:** [12 December 2019 14:03 UTC](https://discourse.nodered.org/t/cant-find-the-node-mqtt-dynamin-in/19077 "2019-12-12T14:03:06Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gryskop](https://avatars.discourse-cdn.com/v4/letter/g/a3d4f5/32.png) [@Gryskop](https://discourse.nodered.org/u/Gryskop)\
**Post date:** [12 December 2019 14:03 UTC](https://discourse.nodered.org/t/cant-find-the-node-mqtt-dynamin-in/19077/1 "2019-12-12T14:03:06Z")

</div>

I have a ESP8266 that publishes a temperature reading every 5 seconds.  
I subscribe to that topic on my node-red flow, but the values from the esp8266 only updates if I actually publish something back to the esp8266 (switching a relay on/off)

I've search the forum and it seems that I need to use mqtt-dynamic-topic ([from here](https://flows.nodered.org/node/node-red-contrib-mqtt-dynamictopic))  
I followed the instructions. Did the "npm install node-red-contrib-mqtt-dynamictopic" install, but I still cannot find the node called "mqtt dynamic in" as shown on the page mentioned before.

Any suggestions on how I can get an input mqtt node to get the dynamic data? I am using Dashboard to display the temperature, but as mentioned before, the value does not change unless I issue a command back to the esp from the dashboard.

I have Node Red version 0.20.7 installed

---

<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:** [12 December 2019 14:09 UTC](https://discourse.nodered.org/t/cant-find-the-node-mqtt-dynamin-in/19077/2 "2019-12-12T14:09:53Z")

</div>

What platform are you running Node-RED on??

The MQTT nodes are part of the core nodes and should appear in the left-hand palette.

I use loads of ESP8266 devices (Wemos D1 Mini) with Node-RED with just the standard MQTT nodes.

If you are running on a Raspberry PI - why not update to the latest version v1.0.2

---

<div class="post-metadata">

**Author:** ![edje11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/edje11/32/572_2.png) [@edje11](https://discourse.nodered.org/u/edje11)\
**Post date:** [12 December 2019 14:27 UTC](https://discourse.nodered.org/t/cant-find-the-node-mqtt-dynamin-in/19077/3 "2019-12-12T14:27:47Z")

</div>

Check first with a tool like [Mqtt explorer](http://mqtt-explorer.com/) if the ESP8266 is really sending every 5 seconds data and on what topic this data is published.  
If the ESP8266 is really sending data every 5 seconds it should not be any problem for the default mqqt node in NR to receive this data, no need for some other nodes.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [12 December 2019 14:52 UTC](https://discourse.nodered.org/t/cant-find-the-node-mqtt-dynamin-in/19077/4 "2019-12-12T14:52:34Z")

</div>

> [@Gryskop](#):
>
> I need to use mqtt-dynamic-topic

I would be careful using that node, there are reports that it is broken see: [Pull requests · rswilem/node-red-contrib-mqtt-dynamictopic · GitHub](https://github.com/xTheRamon/node-red-contrib-mqtt-dynamictopic/issues)

---

<div class="post-metadata">

**Author:** ![Gryskop](https://avatars.discourse-cdn.com/v4/letter/g/a3d4f5/32.png) [@Gryskop](https://discourse.nodered.org/u/Gryskop)\
**Post date:** [12 December 2019 15:29 UTC](https://discourse.nodered.org/t/cant-find-the-node-mqtt-dynamin-in/19077/5 "2019-12-12T15:29:08Z")

</div>

Hi.  
I am using Raspberry Pi as my MQTT server. Unfortunately I am booting my Pi from a USB, and the latest Raspbian OS (as from July this year) has a major problem with booting USB and displaying on HDMI, hence I was forced to downgrade the OS.  
As for the ESP8266 NodeMCU, I am running MicroPython with Thonny editor. I know the values are being updated. It does show on the debug window every 5 seconds.  
I think my problem is in the MicroPython library used for MQTT.  
It looks like it only replies back on MQTT once a message was received, but the temperature reading is being updated every 5 seconds.

---

<div class="post-metadata">

**Author:** ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)\
**Post date:** [12 December 2019 16:15 UTC](https://discourse.nodered.org/t/cant-find-the-node-mqtt-dynamin-in/19077/6 "2019-12-12T16:15:37Z")

</div>

> [@Gryskop](#):
>
> I know the values are being updated. It does show on the debug window every 5 seconds.

Which debug window?

---

<div class="post-metadata">

**Author:** ![Gryskop](https://avatars.discourse-cdn.com/v4/letter/g/a3d4f5/32.png) [@Gryskop](https://discourse.nodered.org/u/Gryskop)\
**Post date:** [15 December 2019 06:29 UTC](https://discourse.nodered.org/t/cant-find-the-node-mqtt-dynamin-in/19077/7 "2019-12-15T06:29:11Z")

</div>

Hi. Sorry, bad choice of words. Thonny has a "Shell" at the bottom that shows your MicroPython interactions and replies. There the update is updated every 5 seconds.

I have however manage to solve the problem I had.

The original publish command was

```auto
client.publish(topic, message)

```

I had to add the following ...

```auto
client.publish(topic, message, qos=1, retain=False)

```

My Node Red dashboard is now updated without any interaction from my side. Just what I wanted.

Thanks all for the help and replies
