Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
wildcards
#1
Hi,
I need to subscribe to a mqqt topic where I don't know in advance a part of it, because it is part of the serial number of the installation.

So for example if the topic is
one/two/XYZ/charge/volt

In node-red I can use the wildcard '+' to jump a level, te example before will be:
one/two/+/charge/volt

How can I do in Virtuino IOT?

Thanks
Reply
#2
Hi, I am sorry but you can't do it.
It is very difficult for the application to handle such situations. 
In this case all values from the topic will send to the same variable.
I can add the ability to have all the values from a topic like one/two/+/charge/volt go into a variable but I don't know how useful that would be
Reply
#3
Hi Ilia, 
Thanks. I appreciated your answer. 
I understand your point.
You know, you are like a wizard for me, sometimes you solve my problems in minutes ?, that's why I asked. 

Thanks anyway for your incredible job.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)