MQTT Explorer

Very new to HA and smart devices. I’ve been trying (for days) to use data from my solar inverter in HA. Along my journey I have installed MQTT Explorer to let me confirm the data I expect is available in HA.

What I see in MQTT Explorer though is not what I expected, none of the devices I’ve set up in HA appear as I’ve seen in MQTT screenshots (eg kitchen, living room etc). See screenshot attached.
Advice would be appreciated as to what I’m doing wrong. Thanks

What kind of system are you running (HAOS, container?)
Where it the MQTT broker running? Do you use the MQTT broker addon?
If so, is 192.168.1.237 the address of HomeAssistant?

The SSYS topic is internal housekeeping for MQTT. It seems nothing is connected yet to the broker.

A MQTT system exists of 2 parts : clients that connect to a broker and publish and subscribe to messages, and a broker that distributes the received messages to subscribed clients.
It seems you have the broker, but no clients.

Hi

Thanks for responses.

aceindy. HA is running on a rpi4 and I’m accessing on my pc browser. The MQTT broker is Mosquitto and yes 192.168.1.237 is the IP address of my rpi.

francisp. Ok noted. My main goal is to send data from my solar system to PVOutput.org using HA. The solar inverter is monitored by another rpi running Solar Assistant. I followed detailed instructions MQTT Setup, MQTT Integration provided by Solar Assistant.
In the MQTT explorer screen print on my first post, I can see there’s a connection shown to core.mosquitto.Solar.Assistant but no details of the data coming from the solar system (which unsurprisingly never arrives at PVOutput) That’s when I also noticed none of other of the devices shown on my HA Overview appear. I’ve obviously missing something pretty basic.

Did you follow these steps :

?

Hi francisp.

Yes, broker set up steps followed to the letter, several times. The log entries after restatring MQTT broker may give some insight - some of the warnings/errors are beyond my level of expertise but may be telling something is not right - although it looks as if solar_assistant.conf loads ok. I’ve pasted the entire log below under ‘Mosquitto broker log’. Note too that data from the solar inverter is being received in HA, see screenshot below under ‘Listen to a topic’, so why no data appears in MQTT or indeed at PVOutput is beyond me.
Thanks again.

Mosquitto broker log
[06:35:32] INFO: Service restart after closing
2024-05-24 07:35:32: mosquitto version 2.0.18 terminating
time=“2024-05-24T07:35:32+01:00” level=error msg=“POST error: Post "http://127.0.0.1:80/superuser\”: dial tcp 127.0.0.1:80: connect: connection refused"
time=“2024-05-24T07:35:32+01:00” level=error msg=“POST error: Post "http://127.0.0.1:80/acl\”: dial tcp 127.0.0.1:80: connect: connection refused"
time=“2024-05-24T07:35:32+01:00” level=error msg=“Post "http://127.0.0.1:80/superuser\”: dial tcp 127.0.0.1:80: connect: connection refused"
2024-05-24 07:35:32: Saving in-memory database to /data//mosquitto.db.
[06:35:32] INFO: Service restart after closing
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/mosquitto.sh
[07:35:40] INFO: SSL is not enabled
cont-init: info: /etc/cont-init.d/mosquitto.sh exited 0
cont-init: info: running /etc/cont-init.d/nginx.sh
cont-init: info: /etc/cont-init.d/nginx.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun mosquitto (no readiness notification)
services-up: info: copying legacy longrun nginx (no readiness notification)
[07:35:41] INFO: Starting NGINX for authentication handling…
s6-rc: info: service legacy-services successfully started
[07:35:42] INFO: Starting mosquitto MQTT broker…
1716532542: Loading config file /share/mosquitto/solar_assistant.conf
2024-05-24 07:35:42: Warning: Mosquitto should not be run as root/administrator.
2024-05-24 07:35:42: mosquitto version 2.0.18 starting
2024-05-24 07:35:42: Config loaded from /etc/mosquitto/mosquitto.conf.
2024-05-24 07:35:42: Loading plugin: /usr/share/mosquitto/go-auth.so
2024-05-24 07:35:42: ├── Username/password checking enabled.
2024-05-24 07:35:42: ├── TLS-PSK checking enabled.
2024-05-24 07:35:42: └── Extended authentication not enabled.
2024-05-24 07:35:42: Opening ipv4 listen socket on port 1883.
2024-05-24 07:35:42: Opening ipv6 listen socket on port 1883.
2024-05-24 07:35:42: Opening websockets listen socket on port 1884.
2024-05-24 07:35:42: Connecting bridge SolarAssistant (192.168.1.157:1883)
2024-05-24 07:35:42: mosquitto version 2.0.18 running
2024-05-24 07:35:42: New connection from 127.0.0.1:55586 on port 1883.
2024-05-24 07:35:42: Client disconnected due to protocol error.
2024-05-24 07:35:42: New connection from 172.30.32.1:52085 on port 1883.
2024-05-24 07:35:42: New client connected from 172.30.32.1:52085 as 1wCu3lFXZ7kAHtrgp1qmMO (p2, c1, k60, u’mqtt-user’).
[07:35:43] INFO: Successfully send discovery information to Home Assistant.
[07:35:43] INFO: Successfully send service information to the Supervisor.
s6-rc: info: service legacy-services: stopping
[06:44:00] INFO: Service restart after closing
2024-05-24 07:44:00: mosquitto version 2.0.18 terminating
time=“2024-05-24T07:44:00+01:00” level=error msg=“POST error: Post "http://127.0.0.1:80/superuser\”: dial tcp 127.0.0.1:80: connect: connection refused"
time=“2024-05-24T07:44:00+01:00” level=error msg=“POST error: Post "http://127.0.0.1:80/acl\”: dial tcp 127.0.0.1:80: connect: connection refused"
time=“2024-05-24T07:44:00+01:00” level=error msg=“Post "http://127.0.0.1:80/superuser\”: dial tcp 127.0.0.1:80: connect: connection refused"
2024-05-24 07:44:00: Saving in-memory database to /data//mosquitto.db.
[06:44:01] INFO: Service restart after closing
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/mosquitto.sh
[07:44:09] INFO: SSL is not enabled
cont-init: info: /etc/cont-init.d/mosquitto.sh exited 0
cont-init: info: running /etc/cont-init.d/nginx.sh
cont-init: info: /etc/cont-init.d/nginx.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun mosquitto (no readiness notification)
services-up: info: copying legacy longrun nginx (no readiness notification)
[07:44:10] INFO: Starting NGINX for authentication handling…
s6-rc: info: service legacy-services successfully started
[07:44:10] INFO: Starting mosquitto MQTT broker…
1716533050: Loading config file /share/mosquitto/solar_assistant.conf
2024-05-24 07:44:10: Warning: Mosquitto should not be run as root/administrator.
2024-05-24 07:44:10: mosquitto version 2.0.18 starting
2024-05-24 07:44:10: Config loaded from /etc/mosquitto/mosquitto.conf.
2024-05-24 07:44:10: Loading plugin: /usr/share/mosquitto/go-auth.so
2024-05-24 07:44:10: ├── Username/password checking enabled.
2024-05-24 07:44:10: ├── TLS-PSK checking enabled.
2024-05-24 07:44:10: └── Extended authentication not enabled.
2024-05-24 07:44:10: Opening ipv4 listen socket on port 1883.
2024-05-24 07:44:10: Opening ipv6 listen socket on port 1883.
2024-05-24 07:44:10: Opening websockets listen socket on port 1884.
2024-05-24 07:44:10: Connecting bridge SolarAssistant (192.168.1.157:1883)
2024-05-24 07:44:10: mosquitto version 2.0.18 running
2024-05-24 07:44:10: New connection from 127.0.0.1:53944 on port 1883.
2024-05-24 07:44:10: Client disconnected due to protocol error.
2024-05-24 07:44:10: New connection from 172.30.32.1:42679 on port 1883.
2024-05-24 07:44:10: New client connected from 172.30.32.1:42679 as 1wCu3lFXZ7kAHtrgp1qmMO (p2, c1, k60, u’mqtt-user’).
[07:44:11] INFO: Successfully send discovery information to Home Assistant.
[07:44:12] INFO: Successfully send service information to the Supervisor.

Listen to a topic

Sorry, typo, should read … no data appears in MQTT Explorer …