Hi, there!
I have a real Shelly with its original name like shelly2pm-12345678
and I have a virtual Shelly shelly2pm
only present in Node-RED.
I prepared the UI so the user can select one or another to send the messages to.
Now I want to prepare the UI for unknown, future Shelly2pm in the field. Suppose this is Shelly shelly2pm-abcdefg
.
Changing the name of Shelly shelly2pm-abcdefg
in the field to one of the previously defined names is not an option (name clashes ahead and difficult to achieve!).
The user in the field is not supposed to edit flows and add shelly2pm-abcdefg
or modify hard coded entries.
Did you come across this problem and how did you solve it?
It looks like I cannot solve this with standard MQTT nodes. There was a discussion once upon a time about if or when to change that. And there is 4 yrs old, not-so-extensivly-documented node mqtt-in-dynamicsub
. But I do not want to introduce fragile, brittle dependencies.
Any help and/or information is appreciated.
Cheers, Uwe