Genmon - MQTT - Cannot get them to talk

I have a raspberrypi that is running Genmon (generator monitor app). I installed MQTT on the Raspberrypi, but after doing that I found that Genmon has add-ons . . . MQTT integration and MQTT Sensor Input. Pics attached . . .

The plan is the raspberrypi runs Genmon app and it is the MQTT broker.

I have Home Assistant which would be the MQTT client, if I understand MQTT. Receiving the data from Genmon being passed through MQTT.

I ran test for each and they individually pass info back and forth.

The issue I’m having is getting the Broker to handoff to Client.

On the broker side I’m figuring I would use the Genmon/MQTT integration add-on and on the HA I would use the MQTT service to do the receiving, but I cannot get them to talk . . . I’ve tried multiple different setting with no success.

I’m new to MQTT and have never tried this before.

I attached pics so hopefully somebody can point me in the right direction. Of course, I might even be looking at this from the wrong direction.

Thanks in advance !!

Hello Overwatch,

If I understand you correctly, you have set up the broker already, but struggle to pass messages from the publisher to the subscriber.

First question: Are you able to successfully connect the clients? That would be the first step.
Locally, it could be enough to use anonymous, so you don´t need to add authentication and authorization. Here is an example config for this setup.

# Listener on standard MQTT port 1883
listener 1883
# Allow anonymous connections
allow_anonymous true

This could make sense, though, at least for setting up, you can stay with anon.

In MQTT you have topics, which work like a hashtag in social media.
Any client publishing on a topic will send the message to all clients subscribing to that topic.
So make sure to set up the same topic for publishing and subscribing.

For debugging, you can also add logs, which might help you.

log_type all

I hope that helps with your next steps!