# Again: How to find a node

**URL:** <https://discourse.nodered.org/t/again-how-to-find-a-node/49401>\
**Category:** General\
**Created:** [5 August 2021 23:37 UTC](https://discourse.nodered.org/t/again-how-to-find-a-node/49401 "2021-08-05T23:37:15Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [5 August 2021 23:37 UTC](https://discourse.nodered.org/t/again-how-to-find-a-node/49401/1 "2021-08-05T23:37:15Z")

</div>

I am again confronted with this problem.

I want to find `MQTT` nodes which use a certain broker and change them...

Specifically them.

So I can't just edit the configuration.

How do I do that?

Searching for that broker shows me the config node, but not the nodes using it.  
So that doesn't do what I want/need to happen.

---

<div class="post-metadata">

**Author:** ![Mrb32](https://avatars.discourse-cdn.com/v4/letter/m/cdc98d/32.png) [@Mrb32](https://discourse.nodered.org/u/Mrb32)\
**Post date:** [5 August 2021 23:45 UTC](https://discourse.nodered.org/t/again-how-to-find-a-node/49401/2 "2021-08-05T23:45:33Z")

</div>

If you click on the configuration node, the nodes using it will be highlighted on the canvas in the active tab.

N

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [5 August 2021 23:48 UTC](https://discourse.nodered.org/t/again-how-to-find-a-node/49401/3 "2021-08-05T23:48:24Z")

</div>

Thanks, but as handy as that is, when you have a lot of tabs and don't know on which one it is.....

Sorry.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [5 August 2021 23:54 UTC](https://discourse.nodered.org/t/again-how-to-find-a-node/49401/4 "2021-08-05T23:54:28Z")

</div>

(In the mean time I have resolved **THIS** instance.)

But it does seem to be something with which I need help as this happens a fair bit.

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [6 August 2021 02:44 UTC](https://discourse.nodered.org/t/again-how-to-find-a-node/49401/5 "2021-08-06T02:44:17Z")

</div>

Click the config **tab** , find the specific configuration, doubleclick, edit the config.

![Screenshot 2021-08-06 at 04.43.23](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/e/2ece308fcff4f3d7dbaa7b3a5beff42d97030960.jpeg)

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [6 August 2021 03:21 UTC](https://discourse.nodered.org/t/again-how-to-find-a-node/49401/6 "2021-08-06T03:21:47Z")

</div>

Sorry, I really must be stupid.

Taking you example.....

There are 50 nodes with that configuration.

I know I can edit the MQTT configuration if I edit the node, but this is only how the problem presented itself to me today.

And you example is you want to change them ALL.

Mine is more a question that I want to `find` them in the flow.  
There are many tabs, and the tabs are very populated with a lot of nodes.

(Oh, but thanks, I found another one I need to update)

So I still may not be getting what you mean.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [6 August 2021 03:24 UTC](https://discourse.nodered.org/t/again-how-to-find-a-node/49401/7 "2021-08-06T03:24:58Z")

</div>

Not to go on about it, but here is maybe a better view of the problem:

![Screenshot from 2021-08-06 13-22-22](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/0/908bc637fac97e5f9579e787feb36b2af953da8d.png)

I have my main `TIMEPI MQTT` broker.

_Somewhere_ I have a node (see red arrow) that uses/has that name..

I want to find the node which is using it and make it use the `TIMEPI MQTT` instead.

Clearer?

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [6 August 2021 05:57 UTC](https://discourse.nodered.org/t/again-how-to-find-a-node/49401/8 "2021-08-06T05:57:48Z")

</div>

I was answering this question

> [@Trying\_to\_learn](#):
>
> I want to find `MQTT` nodes which use a certain broker and change them...

In your case, you want to change them to use an existing broker. I don't know the answer to that one.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [6 August 2021 05:59 UTC](https://discourse.nodered.org/t/again-how-to-find-a-node/49401/9 "2021-08-06T05:59:53Z")

</div>

Sorry... My linguistic skills are really failing me just now.

---

<div class="post-metadata">

**Author:** ![Gunner](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gunner/32/43582_2.png) [@Gunner](https://discourse.nodered.org/u/Gunner)\
**Post date:** [6 August 2021 06:00 UTC](https://discourse.nodered.org/t/again-how-to-find-a-node/49401/10 "2021-08-06T06:00:17Z")

</div>

> [@Trying\_to\_learn](#):
>
> _Somewhere_ I have a node (see red arrow) that uses/has that name..

I think I understand what you are looking for... click on the number part and it will bring up another window that will have flow name. Click on that and it will take you to the node.

Writing with a mouse is hard 😛

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

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [6 August 2021 06:02 UTC](https://discourse.nodered.org/t/again-how-to-find-a-node/49401/11 "2021-08-06T06:02:07Z")

</div>

{{{HUGS}}}

Thanks mate.

Appreciated.

Never though of doing that.

Shall now try to remember it too. That's a whole other set of problems for me.

😉

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [6 August 2021 06:16 UTC](https://discourse.nodered.org/t/again-how-to-find-a-node/49401/12 "2021-08-06T06:16:42Z")

</div>

I thought you wanted to update in bulk. For single nodes, indeed clicking the number works. For bulk update I am not sure how to do it.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [6 August 2021 06:37 UTC](https://discourse.nodered.org/t/again-how-to-find-a-node/49401/13 "2021-08-06T06:37:47Z")

</div>

I am not sure that is really in the scope of the problem as I have it.

But that trick @Gunner showed me is really neat.

---

<div class="post-metadata">

**Author:** ![Mrb32](https://avatars.discourse-cdn.com/v4/letter/m/cdc98d/32.png) [@Mrb32](https://discourse.nodered.org/u/Mrb32)\
**Post date:** [6 August 2021 11:40 UTC](https://discourse.nodered.org/t/again-how-to-find-a-node/49401/14 "2021-08-06T11:40:52Z")

</div>

And the node you are looking for is a tasmota node,

The Node-red tasmota nodes create their own broker config, looks like you only have one of those in your flows, should be easy to find....

N

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [6 August 2021 22:27 UTC](https://discourse.nodered.org/t/again-how-to-find-a-node/49401/15 "2021-08-06T22:27:16Z")

</div>

Yes, again: thanks.

But that is specific to **this** example.

May times I have been caught where I know there is a node _in there somewhere_ which I need to change, and the only way I can find it is via the `config` menu. Which is fine in that it confirms the node exists. But not where it is.

What was shown (and marked as the solution) is a great trick I now know and shall use when in the future I need to find a node that way

And yes it is a `Tasmota` node. Found it. All good with it now.  
Not that \*_that_ was critical. I realised the _problem_ when I found the node and saw _what_ it was.

---

<div class="post-metadata">

**Author:** ![SoggyGeek](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/soggygeek/32/40956_2.png) [@SoggyGeek](https://discourse.nodered.org/u/SoggyGeek)\
**Post date:** [7 August 2021 01:15 UTC](https://discourse.nodered.org/t/again-how-to-find-a-node/49401/16 "2021-08-07T01:15:24Z")

</div>

What I would do in this case is a bit of a brute force...but export all your flows to a text file, then use a text editor to search, and if necessary, replace. Then re-import. Or, if the text search reveals where that flow is, go back to Node Red and edit it there. If you export in formatted format, you can use the structure to see which tab it's on.

---

<div class="post-metadata">

**Author:** ![craigcurtin](https://avatars.discourse-cdn.com/v4/letter/c/94ad74/32.png) [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Post date:** [7 August 2021 10:09 UTC](https://discourse.nodered.org/t/again-how-to-find-a-node/49401/17 "2021-08-07T10:09:47Z")

</div>

Andrew,

Have a read of this thread - there is a great example in there that i have never thought of before but i intend to rework all my flows)

> [@Custom node vs subflow](https://discourse.nodered.org/t/custom-node-vs-subflow/49434/4):
>
> I guess the trade-off is one is easy to maintain (sub-flow - changes in one place only) and the other is easier to customize (repeated code - easier to tweak for a particular use case).

Put all of your incoming and outgoing MQTT nodes on a single page and have links to and from them on the other pages as required - by looking at the link nodes you will easily be able to see what uses them and where they are - you could also place comment nodes on the individual pages that provide information on this.

Craig

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [7 August 2021 10:13 UTC](https://discourse.nodered.org/t/again-how-to-find-a-node/49401/18 "2021-08-07T10:13:17Z")

</div>

Good idea, but that too has its limitations/problems.

But again, this _example_ with the `MQTT` is just that: an example.

I have found this problem a few times with other nodes and was stuck in how to find them.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [21 August 2021 10:13 UTC](https://discourse.nodered.org/t/again-how-to-find-a-node/49401/19 "2021-08-21T10:13:31Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
