Open Vmie opened 1 year ago
Actually I investet a lot of time to make this compiling, but no success. My workaround is to reqest the data via the REST commands. This works very stable.
I think you use the incorrect library, try with [PubSubClient] library
thanks @hidaba, good hint, I had the same problem!
For anyone else using Arduino IDE (as I do), do the following:
Hi all, In general all works well and I've access to the Pylontech Batteries. But if I like to enable the MQTT function, I get the following error, if I try to compile it: ....Documents\Arduino\libraries\ESP8266_Microgear\MicroGear.cpp: In member function 'void MicroGear::syncTime(Client, long unsigned int)': ....Documents\Arduino\libraries\ESP8266_Microgear\MicroGear.cpp:150:23: error: 'class WiFiClientSecure' has no member named 'setFingerprint' clientsecure->setFingerprint(tstr); ^ ....Documents\Arduino\libraries\ESP8266_Microgear\MicroGear.cpp:159:27: error: 'class WiFiClientSecure' has no member named 'setInsecure' clientsecure->setInsecure();
I couldn't fine any solution for this issue. Maybe somebody know how to solve it.