ESP8266 and MQTT

To use the ESP8266 as a client for sending data to a broker you will need a library that offers MQTT support. For this you can use the PubSubClient library, which can be installed like other libraries; see Chapter 1, Getting Started with the ESP8266:

  1. Go to Sketch | Include Library | Manage Libraries..., as follows:
Manage libraries
  1. And search for the PubSubClient library and click Install as in the following screenshot:
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.26.90