It just didn't like the Mosquitto broker in Home Assistant I installed EMQX Broker and it works like a charm.
Best posts made by rob.driver1970
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.