-->
Page 1 of 1

MQTT client with HTTP server?? Is it possible?

PostPosted: Tue Apr 12, 2016 6:13 am
by Kosi_101
Hi all,
I am currently modifying a coffee machine to have IOT functionality. As for the electronics side of the project I am sorted. However, I need a bit of help with the software. Currently I have the ESP8266 in my project running LUA Nodemcu firmware. The firmware runs a HTTP web server. Now I would like the ESP8266 to run a HTTP server and connect to the adafruit.io MQTT server. I would like to do so to provide a failure over to ensure that the ESP8266 can be controlled without an internet connection. My question is, How would I integrate a MQTT client with a HTTP server using Nodemcu firmware ?
If any of you have done so, it would be appreciated if you could share your code