Good morning to everyone.
In my house I use MQTT to connect all my sensors and actuators to home assistant.
Now, I want to create a black box for all MQTT messages in my network. More specifically I would like to save to an sd card all datas together with the current time. The problem is that I will be adding new sensors and new actuators in the next years and I want to avoid to re-program this black-box arduino to subscribe to new topic each time.
Is there an MQTT library with specific command to list or to subscribe to all MQTT topic of your network?
In windows I use MQTT explorer and it is able to see all topics in my network.
Thank you very much in advance.