CHAPTER 10 ■ IOT PATTERNS: MACHINE TO HUMAN
The MQTT configuration dialog box will open, as shown in Figure 10-27. You need
to configure the same MQTT broker where Arduino is publishing messages, which in this
case is the publicly available broker from Eclipse Foundation. Enter iot.eclipse.org in
the Broker field, 1883 in the Port field, and nodeRedClient in the Client ID field. Click Add
to add the newly configured MQTT broker.
Figure 10-27. MQTT broker configuration
Now that you have configured the MQTT broker , you will need to enter a topic
that your mqtt node should subscribe. Since Arduino is publishing to codifythings/
garbagelevel , you need to enter the same in the Topic field. Update the name to Receive
MQTT Messages , as shown in Figure 10-28 , and click OK to save the changes.