Chapter 3: Connecting IoT Devices
In this chapter, you will see several methods to get data from IoT devices.
You will learn how to use protocols such as MQTT, HTTP, CoAP, and WebSocket to send data from devices to IoT platforms.
You will learn how to implement your MQTT broker. Also, you will see how to use some cloud platforms to manage data from your devices.
In this chapter, we’ll cover the following topics:
- Sending data from IoT devices
- Using an online MQTT broker
- Running your MQTT broker
- Sending data through HTTP
- What is CoAP?
- What about WebSocket?
- How to select the right IoT protocol
Technical requirements
To follow some parts of the chapter, you will need access to cloud MQTT services, virtual Linux servers, or local Linux machines. ...
Get Building IoT Visualizations using Grafana 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.