Skip to content

Tag: dht22

Linking the ESP8266 to a Raspberry Pi through MQTT

In my previous blog post I have tried to explain why MQTT is the right protocol for IoT scenario’s. So it would be nice if the ESP8266 would be able to leverage this protocol as well. And it does! Over on the ESP forum, Tuan PM has been working on code to allow us to use the ESP boards as an MQTT client. The forum post is here and the wiki here. To get the ESP8266 to talk to the Raspberry Pi, I flashed Tuan PM’s MQTT examples with a few changes into the ESP and installed Mosquitto on my…