MQTT broker

Here we will install the EMQ broker on our Windows server, which is our laptop in this case, and create an MQTT client application, which will run on Raspberry Pi:

  1. Download a stable release package of the EMQ broker for Windows (or the OS of your server) using this link: http://emqtt.io/downloads.
  2. Unzip the downloaded package and place it in any folder of your choice.
  3. Open the Command Prompt and move to the bin folder of the package using the cd command as shown:
  1. Start the broker in console mode using the emqttd command:

Get Internet of Things with Raspberry Pi 3 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.