Chapter 4. Publishing Information Using MQTT
In the previous chapter, you learned how to create an actuator app that runs on the Raspberry Pi. You also learned how to do basic I/O directly using your Raspberry Pi.
In this chapter, we'll start publishing data we collect on the internet. The first protocol we'll study is the MQTT protocol. This chapter covers:
- An introduction to the MQTT protocol
- The Publish/Subscribe communication pattern
- Connecting to a broker
- Publishing information
- Subscribing to information
- Testing and troubleshooting communication
- Basic security considerations