ПРЕДУПРЕЖДЕНИЕ: библиотека LiquidCrystal_I2C должна запускаться на архитектурах avr и может быть несовместима с вашей платой на архитектуре esp8266.
meteoClock_v2020:196:43: error: no matching function for call to 'PubSubClient:
ubSubClient(WiFiClient&, IPAddress&)'
PubSubClient client(espClient, mqtt_server);
^
Z:\Arduino\meteoClock_v2020\meteoClock_v2020.ino:196:43: note: candidates are:
In file included from Z:\Arduino\meteoClock_v2020\meteoClock_v2020.ino:144:0:
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:116:4: note: PubSubClient:
ubSubClient(const char*, uint16_t, std::function<void(char*, unsigned char*, unsigned int)>, Client&, Stream&)
PubSubClient(const char*, uint16_t, MQTT_CALLBACK_SIGNATURE,Client& client, Stream&);
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:116:4: note: candidate expects 5 arguments, 2 provided
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:115:4: note: PubSubClient:
ubSubClient(const char*, uint16_t, std::function<void(char*, unsigned char*, unsigned int)>, Client&)
PubSubClient(const char*, uint16_t, MQTT_CALLBACK_SIGNATURE,Client& client);
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:115:4: note: candidate expects 4 arguments, 2 provided
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:114:4: note: PubSubClient:
ubSubClient(const char*, uint16_t, Client&, Stream&)
PubSubClient(const char*, uint16_t, Client& client, Stream&);
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:114:4: note: candidate expects 4 arguments, 2 provided
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:113:4: note: PubSubClient:
ubSubClient(const char*, uint16_t, Client&)
PubSubClient(const char*, uint16_t, Client& client);
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:113:4: note: candidate expects 3 arguments, 2 provided
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:112:4: note: PubSubClient:
ubSubClient(uint8_t*, uint16_t, std::function<void(char*, unsigned char*, unsigned int)>, Client&, Stream&)
PubSubClient(uint8_t *, uint16_t, MQTT_CALLBACK_SIGNATURE,Client& client, Stream&);
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:112:4: note: candidate expects 5 arguments, 2 provided
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:111:4: note: PubSubClient:
ubSubClient(uint8_t*, uint16_t, std::function<void(char*, unsigned char*, unsigned int)>, Client&)
PubSubClient(uint8_t *, uint16_t, MQTT_CALLBACK_SIGNATURE,Client& client);
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:111:4: note: candidate expects 4 arguments, 2 provided
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:110:4: note: PubSubClient:
ubSubClient(uint8_t*, uint16_t, Client&, Stream&)
PubSubClient(uint8_t *, uint16_t, Client& client, Stream&);
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:110:4: note: candidate expects 4 arguments, 2 provided
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:109:4: note: PubSubClient:
ubSubClient(uint8_t*, uint16_t, Client&)
PubSubClient(uint8_t *, uint16_t, Client& client);
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:109:4: note: candidate expects 3 arguments, 2 provided
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:108:4: note: PubSubClient:
ubSubClient(IPAddress, uint16_t, std::function<void(char*, unsigned char*, unsigned int)>, Client&, Stream&)
PubSubClient(IPAddress, uint16_t, MQTT_CALLBACK_SIGNATURE,Client& client, Stream&);
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:108:4: note: candidate expects 5 arguments, 2 provided
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:107:4: note: PubSubClient:
ubSubClient(IPAddress, uint16_t, std::function<void(char*, unsigned char*, unsigned int)>, Client&)
PubSubClient(IPAddress, uint16_t, MQTT_CALLBACK_SIGNATURE,Client& client);
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:107:4: note: candidate expects 4 arguments, 2 provided
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:106:4: note: PubSubClient:
ubSubClient(IPAddress, uint16_t, Client&, Stream&)
PubSubClient(IPAddress, uint16_t, Client& client, Stream&);
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:106:4: note: candidate expects 4 arguments, 2 provided
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:105:4: note: PubSubClient:
ubSubClient(IPAddress, uint16_t, Client&)
PubSubClient(IPAddress, uint16_t, Client& client);
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:105:4: note: candidate expects 3 arguments, 2 provided
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:104:4: note: PubSubClient:
ubSubClient(Client&)
PubSubClient(Client& client);
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:104:4: note: candidate expects 1 argument, 2 provided
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:103:4: note: PubSubClient:
ubSubClient()
PubSubClient();
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:103:4: note: candidate expects 0 arguments, 2 provided
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:83:7: note: PubSubClient:
ubSubClient(const PubSubClient&)
class PubSubClient {
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:83:7: note: candidate expects 1 argument, 2 provided
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:83:7: note: PubSubClient:
ubSubClient(PubSubClient&&)
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:83:7: note: candidate expects 1 argument, 2 provided
Z:\Arduino\meteoClock_v2020\meteoClock_v2020.ino: In function 'void setup()':
meteoClock_v2020:816:14: error: 'class PubSubClient' has no member named 'set_server'
client.set_server(mqtt_server,mqtt_port.toInt());
^
meteoClock_v2020:820:18: error: 'class PubSubClient' has no member named 'set_server'
else {client.set_server(mqtt_ip,mqtt_port.toInt()); Serial.print("MQTT name: "); Serial.println(mqtt_ip); Serial.print("MQTT PORT: "); Serial.println(mqtt_port);}
^
Z:\Arduino\meteoClock_v2020\meteoClock_v2020.ino: In function 'void loop()':
meteoClock_v2020:1058:30: error: 'MQTT' has not been declared
if (client.connect(MQTT::Connect("espClient").set_auth(mqtt_auth, mqtt_pass))) Serial.println("Connected to MQTT server");
^
meteoClock_v2020:1063:56: error: no matching function for call to 'PubSubClient:
ublish(String&, String)'
client.publish(mqtt_Temp, String (dispTemp,1));
^
Z:\Arduino\meteoClock_v2020\meteoClock_v2020.ino:1063:56: note: candidates are:
In file included from Z:\Arduino\meteoClock_v2020\meteoClock_v2020.ino:144:0:
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:130:12: note: boolean PubSubClient:
ublish(const char*, const char*)
boolean publish(const char* topic, const char* payload);
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:130:12: note: no known conversion for argument 1 from 'String' to 'const char*'
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:131:12: note: boolean PubSubClient:
ublish(const char*, const char*, boolean)
boolean publish(const char* topic, const char* payload, boolean retained);
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:131:12: note: candidate expects 3 arguments, 2 provided
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:132:12: note: boolean PubSubClient:
ublish(const char*, const uint8_t*, unsigned int)
boolean publish(const char* topic, const uint8_t * payload, unsigned int plength);
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:132:12: note: candidate expects 3 arguments, 2 provided
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:133:12: note: boolean PubSubClient:
ublish(const char*, const uint8_t*, unsigned int, boolean)
boolean publish(const char* topic, const uint8_t * payload, unsigned int plength, boolean retained);
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:133:12: note: candidate expects 4 arguments, 2 provided
meteoClock_v2020:1064:52: error: no matching function for call to 'PubSubClient:
ublish(String&, String)'
client.publish(mqtt_Hum, String (dispHum));
^
Z:\Arduino\meteoClock_v2020\meteoClock_v2020.ino:1064:52: note: candidates are:
In file included from Z:\Arduino\meteoClock_v2020\meteoClock_v2020.ino:144:0:
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:130:12: note: boolean PubSubClient:
ublish(const char*, const char*)
boolean publish(const char* topic, const char* payload);
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:130:12: note: no known conversion for argument 1 from 'String' to 'const char*'
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:131:12: note: boolean PubSubClient:
ublish(const char*, const char*, boolean)
boolean publish(const char* topic, const char* payload, boolean retained);
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:131:12: note: candidate expects 3 arguments, 2 provided
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:132:12: note: boolean PubSubClient:
ublish(const char*, const uint8_t*, unsigned int)
boolean publish(const char* topic, const uint8_t * payload, unsigned int plength);
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:132:12: note: candidate expects 3 arguments, 2 provided
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:133:12: note: boolean PubSubClient:
ublish(const char*, const uint8_t*, unsigned int, boolean)
boolean publish(const char* topic, const uint8_t * payload, unsigned int plength, boolean retained);
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:133:12: note: candidate expects 4 arguments, 2 provided
meteoClock_v2020:1065:55: error: no matching function for call to 'PubSubClient:
ublish(String&, String)'
client.publish(mqtt_Press, String (dispPres));
^
Z:\Arduino\meteoClock_v2020\meteoClock_v2020.ino:1065:55: note: candidates are:
In file included from Z:\Arduino\meteoClock_v2020\meteoClock_v2020.ino:144:0:
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:130:12: note: boolean PubSubClient:
ublish(const char*, const char*)
boolean publish(const char* topic, const char* payload);
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:130:12: note: no known conversion for argument 1 from 'String' to 'const char*'
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:131:12: note: boolean PubSubClient:
ublish(const char*, const char*, boolean)
boolean publish(const char* topic, const char* payload, boolean retained);
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:131:12: note: candidate expects 3 arguments, 2 provided
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:132:12: note: boolean PubSubClient:
ublish(const char*, const uint8_t*, unsigned int)
boolean publish(const char* topic, const uint8_t * payload, unsigned int plength);
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:132:12: note: candidate expects 3 arguments, 2 provided
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:133:12: note: boolean PubSubClient:
ublish(const char*, const uint8_t*, unsigned int, boolean)
boolean publish(const char* topic, const uint8_t * payload, unsigned int plength, boolean retained);
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:133:12: note: candidate expects 4 arguments, 2 provided
meteoClock_v2020:1066:52: error: no matching function for call to 'PubSubClient:
ublish(String&, String)'
client.publish(mqtt_CO2, String (dispCO2));
^
Z:\Arduino\meteoClock_v2020\meteoClock_v2020.ino:1066:52: note: candidates are:
In file included from Z:\Arduino\meteoClock_v2020\meteoClock_v2020.ino:144:0:
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:130:12: note: boolean PubSubClient:
ublish(const char*, const char*)
boolean publish(const char* topic, const char* payload);
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:130:12: note: no known conversion for argument 1 from 'String' to 'const char*'
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:131:12: note: boolean PubSubClient:
ublish(const char*, const char*, boolean)
boolean publish(const char* topic, const char* payload, boolean retained);
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:131:12: note: candidate expects 3 arguments, 2 provided
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:132:12: note: boolean PubSubClient:
ublish(const char*, const uint8_t*, unsigned int)
boolean publish(const char* topic, const uint8_t * payload, unsigned int plength);
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:132:12: note: candidate expects 3 arguments, 2 provided
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:133:12: note: boolean PubSubClient:
ublish(const char*, const uint8_t*, unsigned int, boolean)
boolean publish(const char* topic, const uint8_t * payload, unsigned int plength, boolean retained);
^
C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.h:133:12: note: candidate expects 4 arguments, 2 provided
Несколько библиотек найдено для "PubSubClient.h"
Используется: C:\Users\Inzh-OIK\Documents\Arduino\libraries\PubSubClient
Не используется: z:\Arduino\libraries\PubSubClient-2.7.0
Несколько библиотек найдено для "LittleFS.h"
Используется: C:\Users\Inzh-OIK\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.2\libraries\LittleFS
Не используется: z:\Arduino\libraries\LittleFS
exit status 1
no matching function for call to 'PubSubClient:
ubSubClient(WiFiClient&, IPAddress&)'