Hi all,
Some updates
While diving a little more with the help of the Nodered team, I appears that original subscriptions are sent by Nodered with 1 topic per request.
However, in case of a reconnection, this is the underlying MQTT.js library that reconnect and send the all the subscripted topics in a single request because I checked the Clean Session option.
When Clean Session is not checked, MQTT.js do not resend the subscription as it expects the broker to restore the session.
Tested ok with a 1 minute connection outage.
For now, I will use that configuration but I would like to try with a longer outage.
@dexif adsa Is there a timeout after which the Flespi MQTT broker will cleanup the session so I can make a test with an outage long enough to validate this ?
Thanks for the support