#48 Connect ESP8266 with the world (and IFTT) through MQTT and Adafruit.io (Tutorial)
Andreas Spiess
In this video I connect my ESP8266 to the world. I build a MQTT connection to Adafruit.io and from there, to ,my IPAD, to IFTT and to a node-red instance hosted on IBM bluemix service. I also show why this is one of the simplest concepts to solve the connection problem from behind your firewall to the internet.
For my tests, I used three different MQTT client libraries:
https://github.com/i-n-g-o/esp-mqtt-arduino http://pubsubclient.knolleary.net/ https://github.com/adafruit/Adafruit_MQTT_Library Witty Board: http://s.click.aliexpress.com/e/EY3GoAy
They are all included in the Arduino IDE.
For your convenience, I posted the sketches I used for my tests to github. If you replace the credentials (and the feeds) you should be able to start with MQTT.
Example code: https://github.com/SensorsIot/MQTT-Examples
Supporting Material and Blog Page: http://www.sensorsiot.org Github: https://www.github.com/sensorsiot If you want to support the channel and buy from Banggood use this link to start your shopping: https://bit.ly/2jAQEf4 (no additional charges for you) Official Wemos Store: http://s.click.aliexpress.com/e/jUzBiIq https://www.facebook.com/SensorsIOT/ https://twitter.com/spiessa ... https://www.youtube.com/watch?v=9G-nMGcELG8
52586210 Bytes