An open API service indexing awesome lists of open source software.

https://github.com/adrianbenavides/esp8266-mqtt-experiments

MQTT experiments using a couple of ESP-8266 and a dockerized RPi
https://github.com/adrianbenavides/esp8266-mqtt-experiments

balena embedded mqtt raspberry-pi

Last synced: 6 months ago
JSON representation

MQTT experiments using a couple of ESP-8266 and a dockerized RPi

Awesome Lists containing this project

README

          

# Exploring MQTT With The ESP8266

![](https://uploads-ssl.webflow.com/5d0320c393cf98e9a472b352/5d79c9eeef0e0f0fe3a473e1_mqtt-with-esp8266.jpg)

In any IoT project, we have a number of unique requirements and restrictions. The communication strategy to connect devices and send data between them is critically important.

In this project, we will explore a powerful, simple and lightweight messaging protocol over the wire: MQTT.

Full guide [published on my blog](https://kokonatt.com/embedded/mqtt-with-esp8266).

## Table of contents
* [MQTT Basics](https://kokonatt.com/embedded/mqtt-with-esp8266#mqtt-basics)
* [Dev Environment](https://kokonatt.com/embedded/mqtt-with-esp8266#dev-environment)
* [ESP8266 Filesystem](https://kokonatt.com/embedded/mqtt-with-esp8266#esp-filesystem)
* [Communicating Two Devices](https://kokonatt.com/embedded/mqtt-with-esp8266#two-devices)
* [Tracking Devices Status](https://kokonatt.com/embedded/mqtt-with-esp8266#last-will)

## A preview of what you can build

### Communicating two devices
![](assets/mqtt-two-devices.gif)

### Tracking device status (last will message)
![](assets/mqtt-lwt-message.gif)