Home [Video] Connecting IoT Powered by ESP8266 to the Cloud with MQTT

[Video] Connecting IoT Powered by ESP8266 to the Cloud with MQTT

 
Our friend Leon Anavi has been busy with the Internet of Things, and in this case its the ESP8266 connecting to the cloud using MQTT and the open source project ESP8266-jajda. Previously he has covered how to set up MQTT broker in a Linux container, and now he goes through the details of connecting to it.
MQTT is a publish-subscribe machine to machine connectivity protocol. It is suitable for Internet of Things (IoT) as it works properly behind NAT. ESP8266 connects to the local WiFi router and through it to Mosquitto – an open source MQTT broker that Is deployed on the cloud.
 
This is a smart MQTT client for ESP8266 with the following features:

  • On the first boot an open WiFi network and HTTP server are launched. The user joins the network and configures the credentials for his home Wifi network. After that ESP8266 restarts and works as MQTT client,
  • On each next boot ESP8266 tried to connect to the home WiFi network with the configured credentials and to MQTT broker through the Internet connection,
  • The user can reset the configations at any time by holding GPIO0 to low for 5 seconds.

 

Video


 
You can find further Information about this project at Leon’s page Connecting ESP8266 to Cloud with MQTT.

About ReadWrite’s Editorial Process

The ReadWrite Editorial policy involves closely monitoring the tech industry for major developments, new product launches, AI breakthroughs, video game releases and other newsworthy events. Editors assign relevant stories to staff writers or freelance contributors with expertise in each particular topic area. Before publication, articles go through a rigorous round of editing for accuracy, clarity, and to ensure adherence to ReadWrite's style guidelines.

Get the biggest tech headlines of the day delivered to your inbox

    By signing up, you agree to our Terms and Privacy Policy. Unsubscribe anytime.

    Tech News

    Explore the latest in tech with our Tech News. We cut through the noise for concise, relevant updates, keeping you informed about the rapidly evolving tech landscape with curated content that separates signal from noise.

    In-Depth Tech Stories

    Explore tech impact in In-Depth Stories. Narrative data journalism offers comprehensive analyses, revealing stories behind data. Understand industry trends for a deeper perspective on tech's intricate relationships with society.

    Expert Reviews

    Empower decisions with Expert Reviews, merging industry expertise and insightful analysis. Delve into tech intricacies, get the best deals, and stay ahead with our trustworthy guide to navigating the ever-changing tech market.