Skip to Content
Internet of Things with Python
book

Internet of Things with Python

by Gastón C. Hillar
May 2016
Intermediate to advanced content levelIntermediate to advanced
388 pages
9h 9m
English
Packt Publishing
Content preview from Internet of Things with Python

Summary

In this chapter, we combined many cloud-based services that allowed us to easily publish data collected from sensors and visualize it in a web-based dashboard. We realized that there is always a Python API, and therefore, it is easy to write Python code that interacts with popular cloud-based services.

We worked with the MQTT protocol and its publish/subscribe model to process commands in our board and indicate when the commands were successfully processed through messages. First, we worked with the PubNub cloud that works with the MQTT protocol under the hoods. Then, we developed the same example with Mosquitto and Eclipse Paho. Now, we know how we can write applications that can establish bi-directional communications with our IoT devices. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Getting Started with Python for the Internet of Things

Getting Started with Python for the Internet of Things

Tim Cox, Dr. Steven Lawrence Fernandes, Sai Yamanoor, Srihari Yamanoor, Prof. Diwakar Vaish

Publisher Resources

ISBN: 9781785881381Supplemental Content