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
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
Of course, my mistake!
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
I've added a "the" to the title
[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".
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
This is for when topic is empty and set using msg.topic
Totally agree with sticking to topic if manually entered
But
is genius level thinking - love it
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.
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?