1

As I understand it, Raspbian (2019-04-08-raspbian-stretch-full.img) features Node-Red out of the box.

I have seen the youTube examples that show Node-Red configuring an MQTT server and left to wonder does the Raspbian image already have an MQTT server?

If a default broker is installed,how does one 'smoke test' the broker?

I would like to understand how to test (from the command line) if an MQTT server is installed, so I can determine if I need to install MQTT on the rPi.

Bart
  • 2,151
  • 1
  • 10
  • 26
gatorback
  • 1,216
  • 20
  • 44

1 Answers1

1

You have to install MQTT, as it is not installed by default.

To check, use dpkg:

dpkg -l {package_name}

for instance, to check if mosquitto is installed, do:

dpkg -l mosquitto

See also a guide on how to install MQTT on Raspberry Pi here, here, and see the tutorial here.

Bart
  • 2,151
  • 1
  • 10
  • 26