
Then you can just create connection and test MQTT by subscribing and publishing. In my case, I used Raspberry Pi’s IP which is connected my Mac since Mosuqitto is on Raspberry Pi. Once you launch MQTTLens, you can add a new connection using + icon.įill any name you want in the connection name and MQTT broker’s IP in the hostname. I installed MQTTLens but if you have any favorite tools other than Chrome extension, you can also use them. The next thing is installing Chrome extension for subscribing and publishing topics. Then I load config using following command.
#SPHERO EDU CHROME EXTENSION INSTALL#
Sudo apt-get install mosquitto mosquitto-clients However, I didn’t install mosquitto client and there are slight differences in editing nf file and loading it as below.


Please refer the “Installation Mosquitto with WebSocket Support” and “Enable WebSocket Support” sections in his blog. Since peter6960 (Peter van der Walt)’s blog explains the detailed steps in regard to the installation, I’ll not explain it here. The first thing you need to do is installing Mosquitto on Raspberry Pi with WebSocket support. SAP Korea team used Mosquitto as our MQTT broker and we installed it on Raspberry Pi since we don’t need a public MQTT broker.

