Suggested to install latest Arduino IDE and remove old Espert example.


Open Library Manager (menu Sketch > Include Library > Manage Libraries…) then install the following libraries

Tested:

  • ESPert by Jimmy (current version 1.2.6)
  • DHT sensor library by Adafruit (current version 1.2.3) *
  • PubSubClient by Nick O'Leary (current version 2.6.0)
  • ArduinoJson by Benoit Blanchon (current version 5.8.3)
  • HttpClient by Adrian McEwen (current version 2.2.0)
  • ESP8266 Oled Driver for SSD1306 display by Daniel Eichborn, Fabrice Weinberg (current version 3.2.6)
  • Adafruit NeoPixel by Adafruit (current version 1.0.6)
  • ArduinoHttpClient by Arduino V0.3.1


ESP8266 Board Manager

  • Start Arduino and open Preference
  • Enter the URL http://arduino.esp8266.com/stable/package_esp8266com_index.json into Additional Board Manager URLs field. If you have multiple URLs, separating them with commas.
  • Open Boards Manager from Tools > Board > Board Manager then install esp8266 by ESP8266 Community (current version is 2.2.0)
  • From menu Tools > Board select Generic ESP8266 Module


Run examples from ESPert

  • Open Arduino IDE, try examples of ESPert library



Here is APPs download link.

https://drive.google.com/open?id=1WMbs0hNW7bW0CgsvZpdTiLF146otQ2dr


Reference:

Follow this guide, https://github.com/JimmySoftware/ESPert
For library try to use version as same as posible.
Maybe need to add ArduinoHttpClient by Arduino V0.3.1 if compile error.