Install Mosquitto Broker

Install Mosquitto on Raspberry Pi:

sudo docker pull eclipse-mosquitto

Run Mosquitto to test the connection:

sudo docker run -it -p 1883:1883 -p 9001:9001 eclipse-mosquitto

Good tips:

You can remotely control the raspberry pi from your computer by going to the terminal on Mac and type "ssh@raspberry_pi_ip_addr" for example "ssh@192.169.34.1"

Last updated