This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

MQTT Topics
#1
Hi, looking for assistance on how build a script that can generate all the required topics for an IoT MQTT Broker, before we go to site and put on line the LM machines.
So if we were going to commission 20 site in a week, then in the office we could simply generate the topics for each site, just by running a Master Setup Script before hand.

Would like to build the script so that we can choose the QoS and Retain options for each Topic, prior to the LM's going on line. Thus once the LM connects, the required RETAINED values are auto updated.
We will be having a lot of sites (100s) for the same client, so to build a common set of topics for each site 
Like:
Site Name= DS-LM110

Topics would then be like
DS-LM110/Alarm/  ... QoS 1  Retain True
DS-LM110/Door/  ... QoS 1  Retain False
DS-LM110/Temp_IN/  ... QoS 1  Retain True
DS-LM110/Temp_Out/  ... QoS 1  Retain False
 etc. etc.
Thank you for any help.
Reply


Forum Jump: