Mqtt will not publish.
-
I have an M5Stack core 2 that I'm trying to get to publish to a Mosquito broker installed in Home Assistant. I can subscribe fine but I just can't get it to publish. Is anyone else having issues with this? Could it be the firmware revision? I can send topics through Node Red and receive them fine but no matter what I try I can't get it to publish.
-
We need to see code in order to help.
I have a core2 AWS that sends to a mosquito server on and RPI and it works fine -
Just a test setup at the moment. I can subscribe and get the topic message. When I press the buttons, the test display shows the buttons were pressed but the message does not post to the broker.
-
Hi @rob-driver1970,
For comparison, this is mine for AWS MQTT.
-
@rob-driver1970 it won’t, you have published and subscribed to 2 different topics
-
Check out my YouTube channel as I’m sure I covered it on their but I uploaded a tone of programs to my Adam Bryant GitHub repository
-
It just didn't like the Mosquitto broker in Home Assistant I installed EMQX Broker and it works like a charm.
-
@rob-driver1970 thanks for letting us know