So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By tonyg17
#81468 I have just finished an application with an ESP8266 to read some pressure and temp sensors attached to my beer kegerator so I can monitor the keg pressures from my cellphone. I use a webserver and the html and javascript is placed in SPIFFS. I would like to be able to update everything with OTA.

I've been able to update the ESP firmware successfully, but I can't figure out (or don't understand) how I can update the SPIFFS area using OTA. I tried the Arduino IDE "ESP8266 Sketch Data Upload" tool, but it seems to only talk to the USB COM Port and not to the ESP8266 IP address selection under Port.

Am I missing something obvious or is updating the SPIFFS with OTA and Arduino IDE not possibe?

Thanks for any help.
User avatar
By tonyg17
#81498 Well, I sort of found an answer. Turns out that the ability to upload SPIFFS to an ESP device IP address was added to the Arduino ESP8266FS.jar at version 0.2.0. It only works if you leave the default settings for server name and no password, but I tried it and it does work. It works in version 0.3.0 also, but it appears it was broken in the latest version 0.4.0. When changes were made to use python for more functionality.
So for now at least I can do OTA updates of SPIFFS files using Arduino IDE with the older ESP8266FS.jar files. Maybe this will get fixed in a future update?