MQTT Explorer

From MQTT - Guide | OpenEnergyMonitor

When SSH in to the emonpi i am unable to run the command mosquitto_sub

-bash: mosquitto_sub: command not found

Also the last paragraph says

To avoid connecting via SSH alternately you could use MQTTlens Chrome Extension or any other MQTT client connected to the emonPi IP address on port 1883 with user name: emonpi and password: emonpimqtt2016 .

I have had a lot of trouble getting MQTTlens to run. they is another program call http://mqtt-explorer.com/ that works very well. might be worth while updating the guide

You need to install the mosquitto clients package. (You could have simply Googled mosquitto_sub: command not found) and you would have found the answer yourself.

sudo apt install mosquitto-clients

I use MQTT.fx from the Microsoft store.

1 Like