shafr / esp-canary

Simple ESP8266 / ESP32 Canary that simulates predefined application server and notifies you using E-mail, Telegram, etc if it was accessed.
MIT License
45 stars 5 forks source link

Ability to configure / flash device without platformio #8

Open shafr opened 3 years ago

shafr commented 3 years ago

Since we are already using EspAsyncWebServer and LittleFS it should be possible to do the following:

shafr commented 3 years ago

This should do a trick: https://github.com/Hieromon/AutoConnect

shafr commented 3 years ago

Another approach would be in using platformio build_flags & github_secrets:

build_flags =
 -D 'WIFI_SERVER_AP_NAME="${sysenv.WIFI_SERVER_AP_NAME}"'