Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mosquitto-dev] Bridge to AWS IoT and retain flag

I'm trying to create an MQTT bridge from my Mosquitto broker running inside Home Assistant to the AWS IoT broker.

As far as I can tell the bridge is setup properly as I can test communication in both directions (followed this guide https://aws.amazon.com/blogs/iot/how-to-bridge-mosquitto-mqtt-broker-to-aws-iot/).

However it appears that MQTT messages sent from Home Assistant have retain=yes. Reading on AWS IoT I understand the retain flag is not supported and any client sending message with retain=yes get disconnected.

Assuming this is correct I need to find a way to globally disable retain on the Mosquitto end, right? Reading the mosquitto.conf man page the option retain_available [ true | false ] doesn't seem to help.

Is there a way to globally disable retain?

Thomas

Back to the top