Hands-On MQTT Programming with Python

Work with the lightweight IoT protocol in Python



Bookstore > Books > Hands-On MQTT Programming with Python

Hands-On MQTT Programming with Python
Buy
Preview
Price$27.99 - $34.99
Rating
AuthorGaston C. Hillar
PublisherPackt Publishing
Published2018
Pages228
LanguageEnglish
FormatPaper book / ebook (PDF)
ISBN-10178913854X
ISBN-139781789138542
EBook Hardcover Paperback

MQTT is a lightweight messaging protocol for small sensors and mobile devices. This book explores the features of the latest versions of MQTT for IoT and M2M communications, how to use them with Python 3, and allow you to interact with sensors and actuators using Python.

The book begins with the specific vocabulary of MQTT and its working modes, followed by installing a Mosquitto MQTT broker. You will use different utilities and diagrams to understand the most important concepts related to MQTT. You will learn to make all the necessary configuration to work with digital certificates for encrypting all data sent between the MQTT clients and the server. You will also work with the different Quality of Service levels and later analyze and compare their overheads.

You will write Python 3.x code to control a vehicle with MQTT messages delivered through encrypted connections (TLS 1.2), and learn how leverage your knowledge of the MQTT protocol to build a solution based on requirements. Towards the end, you will write Python code to use the PubNub cloud-based real-time MQTT provider to monitor a surfing competition.

In the end, you will have a solution that was built from scratch by analyzing the requirements and then write Python code that will run on water-proof IoT boards connected to multiple sensors in surfboards.


  1. (5 books)


Similar Books


Hands-On Bitcoin Programming with Python

Hands-On Bitcoin Programming with Python

Bitcoin is a cryptocurrency that's changing the face of online payments. Hands-On Bitcoin Programming with Python teaches you to build software applications for mining and creating Bitcoins using Python.This book starts with the basics of both Bitcoin and blockchain and gives you an overview of these inherent concepts by showing you how t...
Hands-On Markov Models with Python

Hands-On Markov Models with Python

Hidden Markov Model (HMM) is a statistical model based on the Markov chain concept. Hands-On Markov Models with Python helps you get to grips with HMMs and different inference algorithms by working on real-world problems. The hands-on examples explored in the book help you simplify the process flow in machine learning by using Markov mode...
Hands-On Reactive Programming with Reactor

Hands-On Reactive Programming with Reactor

Reactor is an implementation of the Java 9 Reactive Streams specification, an API for asynchronous data processing. This specification is based on a reactive programming paradigm, enabling developers to build enterprise-grade, robust applications with reduced complexity and in less time. Hands-On Reactive Programming with Reactor shows yo...
Learn Raspberry Pi Programming with Python, 2nd Edition

Learn Raspberry Pi Programming with Python, 2nd Edition

Learn how to program your nifty new $35 computer to make a web spider, a weather station, a media server, and more. This book explores how to make a variety of fun and even useful projects, from a web bot to search and download files to a toy to drive your pets insane.Even if you're completely new to programming in general, you'll see how...
Beginning Programming with Python For Dummies

Beginning Programming with Python For Dummies

Python is one of the fastest growing programming languages, and no wonder. It requires three to five times less time than developing in Java, is a great building block for learning both procedural and object-oriented programming concepts, and is an ideal language for data analysis. Beginning Programming with Python For Dummies is the perf...
Learn Raspberry Pi Programming with Python

Learn Raspberry Pi Programming with Python

Learn Raspberry Pi Programming with Python will show you how to program your nifty new $35 computer to make a web spider, a weather station, a media server, and more. You'll learn how to program in Python on your Raspberry Pi with hands-on examples and fun projects.Even if you're completely new to programming in general, you'll figure out...