aderusha / HASwitchPlate

LCD touchscreen for Home Automation
MIT License
730 stars 128 forks source link

MQTTClient error #59

Closed abzaatari closed 5 years ago

abzaatari commented 5 years ago

Hi, I download all library (MQTT , wifimanager, arduinojson) and when I compiling the HASwithPlate code in Arduino IDE "MQTTClient does not name a type" is reported.

Please any help from you I will appreciate.

thanx

aderusha commented 5 years ago

Can you give me versions on the setup you have running? Which library versions specifically, along with the ESP8266 board manager version?

abzaatari commented 5 years ago

Hi, -This is title of the ESP8266 board version " esp8266 by ESP8266 Community version 2.5.0 INSTALLED" after the update I restart arduino IDE not my PC . -WiFiManager by Tzapu Version 0.13.0 INSTALLED.

abzaatari commented 5 years ago

Hi. Thanks for you help, it works after including in sketch and it should be befor MQTT.h otherwise it will not work.

aderusha commented 5 years ago

I'm still not certain what is going on here. I've just downloaded a fresh install of Arduino 1.8.9 (Windows), and deployed the board manager and libraries as documented here, and the project compiles with no warning and no changes required.