I am using the IIOT libary 4.0.1 to make a mqtt connection to a broker. I`ve got this working.
I am now wondering how to subscribe and publish to multiple different topics. I only want to use the client once in the software. How do I solve something like that? Also i want an different publish timer for every topic. Some topics need an update interval 1 minute, but some topics is an update interval for 1 hour.
Do I have to make an ST program to change the topic and its content over and over again? Or should I better bundle everything in one topic?