Add checkbox to default the MQTT node name to broker name

But I can see that changing the default automatically to be broker name would muck up some peoples existing flows visually so that's why I'm suggesting adding a checkbox


1 Like

Would be great for dynamically assigned brokers! Happy Cake day too!

Not seeing how it would be useful for dynamic ones - isn't the point of them to change them while the flows running?

Node name can't be updated during flow execution - only at deployment

1 Like

Of course, my mistake!

1 Like

If the list of available configs were alphabetical so that your broker named (for example) 1: local broker (default) would appear before 2: test broker - would that be a reasonable workaround?

I seem to remember some request for the config nodes to be presented alphabetically (but I cant remember where I seen it! )

@ghayne - happy cake day


I'm just after the node name being populated by the broker name without having to type it in manually

I misunderstand your request since the name of the broker is auto generated from the host and port ( when displayed in the config drop down) so long as it's name is empty. I thought you wanted a default broker to be chosen upon adding an MQTT node to the editor.

Ps, now I understand, I don't think that is something I'd personally want. Maybe an alternative solution would be to auto display the broker name if the name of the MQTT out is explicitly left empty and no topic is set.

We today communicate well not :slight_smile:

I've added a "the" to the title :slight_smile:
[Add checkbox to default the MQTT node name to broker name]

I don't mind it happening but some other people would be well upset I imagine

I, for one, would not use the proposed feature.

I set my Out node names to that of the device that's in the topic but that would be messy to do by default.

The suggestion is to have a little checkbox to save typing the broker name when you want the node to show which broker it's connected to

If left unchecked then it would behave as it does now

Since I use more topics than brokers, I prefer the current default name - the topic set in node config.

But I'd welcome the broker name showing as the node status instead of "connected".
Untitled 2


There ya go! That would be useful to me. Do the same to the In node, too.

I really wasn't clear with my request was I :slight_smile:

This is for when topic is empty and set using msg.topic

Totally agree with sticking to topic if manually entered :slight_smile:


is genius level thinking - love it :smiley: :smiley: :smiley:

err - so how do you then show the actual status of the connection
Is copy/paste too hard for the name ?

Red / Green?

Needs a shape too since not everyone can differentiate such colours. Could add the status after the name - I quite like that idea.

1 Like

The green dot signifies state

Maybe in disconnected state - the status would have to add the state on as well e.g mainbroker(disconnected)

You can't (well I can't anyway) copy the server name from the server field - I have to go into the broker config to do that

All I wanted was one little checkbox .....

Maybe bring the checkbox idea back and use it to add(or not) the broker name in the status?