I’m trying to use the manual python publish function from the MQTT Transmission module.
My goal is to send an event driven JSON message via the MQTT protocol to a customer’s broker.
system.cirruslink.transmission.publish(mqttServerName, topic, payload, qos, retained)
I can successfully send a message and the Broker receives the message.
However, when the broker is offline or the connection cannot be established, it appears that there is no buffering or store and forward included with this function. I have a History Store set up with this transmitter, but appears it doesn’t get used.
Is it true that the History Store does not work with the function above?
Being able to buffer these messages when the broker is offline is a requirement for the solution I’m trying to create. Would I be better off using REST API?