Free Storage used for OTA

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
ingoiot
Normal user
Posts: 83
Joined: 15 Aug 2019, 22:09

Free Storage used for OTA

#1 Post by ingoiot » 06 Jul 2020, 00:58

hi,

would it be possible to use the OTA Partition (ESP32) for data logging or my own html pages?
E.G. if i do not want to use OTA just mount the partition as for example SPiffs.

i wouldn mind loosing the data when later deciding updating OTA and transfer my data back.

TD-er
Core team member
Posts: 8738
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Free Storage used for OTA

#2 Post by TD-er » 06 Jul 2020, 10:28

Right now we don't support writing to files outside the SPIFFS.
You could re-partition the flash, so you get a larger SPIFFS.
But then you loose the OTA upgrade option.

The Cache Controller can log data to bin files on the file system, if you didn't know already.

ingoiot
Normal user
Posts: 83
Joined: 15 Aug 2019, 22:09

Re: Free Storage used for OTA

#3 Post by ingoiot » 07 Jul 2020, 22:28

didnt know about that controller.
is it the c16 controller? quite a bit todos on the github page..
Do need to compile it myself?

Not very high in priority list, i just wanted to serve some css stuff with my page.

TD-er
Core team member
Posts: 8738
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Free Storage used for OTA

#4 Post by TD-er » 07 Jul 2020, 22:50

See this topic, where it was discussed how to use it and how it is being use by that user in his RV home
https://www.letscontrolit.com/forum/vie ... 1&start=50

Post Reply

Who is online

Users browsing this forum: No registered users and 44 guests