Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
ESP8266 Home Automation Projects

You're reading from  ESP8266 Home Automation Projects

Product type Book
Published in Nov 2017
Publisher Packt
ISBN-13 9781787282629
Pages 196 pages
Edition 1st Edition
Languages
Authors (2):
Catalin Batrinu Catalin Batrinu
Profile icon Catalin Batrinu
Constantin Tambrea Constantin Tambrea
View More author details

Introducing Mosquitto broker


Eclipse MosquittoTM is an open source MQTT broker that implements the MQTT v3.1 and MQTT v.3.1.1 standards and provides a lightweight method to transport messages, allowing publish and subscription for low power sensors, mobile devices, embedded computers, and micro controllers.

You can install Mosquitto on a Raspberry Pi or on AWS instance or on a VirtualBox Linux instance directly from your Linux repository distribution; or you can get the source code and compile it yourself if you want support from websockets.

Installing from your Linux distribution repository:

  1. First upgrade to the latest version:
    sudo apt update && sudo apt upgrade
  1. Then install mosquito:
sudo apt install mosquitto

You should see the following screen:

Installing Mosquitto

  1. After installing the Mosquitto broker verify that the broker is started and install mosquitto-clients as follows:

Verify if Mosquitto is running

  1. Type the following command:
sudo apt install mosquitto-clients

You will get the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}