Technical requirements
This chapter will require you to have the following hardware and software installed:
- Hardware:
- Two laptops (if you don’t have two, you can use the Raspberry Pi as one of them)
- Software:
- Mosquitto client
- Arduino IDE
- Command Prompt (you already have this on Windows)
- cURL
If you are not familiar with Mosquitto or cuRL and/or currently do not have them installed, we will guide you through installation in the following subsections. Otherwise, feel free to skip the next subsections and go to the next heading.
Installing Mosquitto
Mosquitto is an MQTT-based, open source message broker service that sends and receives messages. It is used within remote locations to power connections where the network bandwidth is limited or only a small code footprint is required. It is lightweight and can be used over all types of devices, from low-power microcomputers to full servers. In this chapter, we will be using it to establish MQTT connections. We will...