giladger / ElectraWifi

Control Electra AC with esp8266
GNU General Public License v3.0
29 stars 13 forks source link

fix for esp32 nodemcu v3 Arduino Lolin Homie compile error #7

Open tomergam opened 2 years ago

tomergam commented 2 years ago

use this fix for using esp32 nodemcu v3 Arduino Lolin compile error Homie v2.0.0 source: https://issueexplorer.com/issue/homieiot/homie-esp8266/711

the fix is to add WiFiClient _wifiClient; to the class in BootConfig.hpp and then fix the call (_httpClient.begin(_wifiClient, url);)

garci66 commented 2 years ago

I just added the same comment on a PR and readme so that in can compile with Homie v3.0.1.

Also added some changes to it to support ArduinoJson 6 and now ill issue a new PR with support for ESP01

tomergam commented 2 years ago

Thanks @garci66 it is possible to upload image OTA? not able with PlatformIO

garci66 commented 2 years ago

I will try to do so these days.. not sure how it handles the size as my current image is already more than half a megabyte

guysoft commented 2 years ago

I think this is fixed now. Also CI confirms it.