Replies: 1 comment 1 reply
-
Add the following to platformio.ini: Change the port number to your ESP32 device And also set the ENABLE_OTA to 1 in globals.h |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've read many mention OTA updates, but how does that work with this project and PlatformIO?
I was able to implement OTA for another project of mine last summer which utilized Autoconnect library. It's main purpose was to provide a means to configure WiFi but as two side benefits provided a JSON web framework and OTA updates by uploading the compiled BIN file using the Autoconnect website with the BIN files generated by the ArduinoIDE platform.
It also provided a means to upload config files to the SPIFF which I had it update configuration parameters for my project instead of having to recompile and upload new code just to change a temperature threshold.
I'm not promoting using the AutoConnect, I encountered some frustration with quirks it had managing WiFi connections, but there's lots of ideas that can be gleaned from it.
Beta Was this translation helpful? Give feedback.
All reactions