; -D USE_WIFIMANAGER ; uncomment to switch to WifiManager
; -D SHOW_CONFIG_PORTAL_PIN_BUTTON=22 ; uncomment to enable config portal on demande with a pin used as button
; -D USE_OTA ; uncomment to enable OTA via Wifi
; -D OTA_PASSWORD='"'${sysenv.OTA_SEC}'"' ; uncomment and create an ENV variable named "OTA_SEC" which contains the password you want
In platformio.ini uncomment the following lines:
; -D USE_WIFIMANAGER ; uncomment to switch to WifiManager ; -D SHOW_CONFIG_PORTAL_PIN_BUTTON=22 ; uncomment to enable config portal on demande with a pin used as button ; -D USE_OTA ; uncomment to enable OTA via Wifi ; -D OTA_PASSWORD='"'${sysenv.OTA_SEC}'"' ; uncomment and create an ENV variable named "OTA_SEC" which contains the password you want