Переглядів 108,214
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:
github.com/i-n-g-o/esp-mqtt-a...
pubsubclient.knolleary.net/
github.com/adafruit/Adafruit_...
Witty Board: 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: github.com/SensorsIot/MQTT-Ex...
Supporting Material and Blog Page: www.sensorsiot.org
Github: www.github.com/sensorsiot
If you want to support the channel and buy from Banggood use this link to start your shopping: bit.ly/2jAQEf4 (no additional charges for you)
Official Wemos Store: s.click.aliexpress.com/e/jUzBiIq
/ sensorsiot
/ spiessa