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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login