Hey,
is there a reason why integrator name is limited to 15 chars IoTaWatt/SD/index.htm at master · boblemaire/IoTaWatt · GitHub
while input seems to be unlimited? IoTaWatt/SD/index.htm at master · boblemaire/IoTaWatt · GitHub
I tried changing that to 40 symbols and then using 16 symbol name … seems to work?
couple of reasons:
The ESP8266 has very limited heap, and the general philosophy is to restrict abuse of that critical resource.
More specifically, in the case of integrators, the ESP8266 implementation requires creation of a discrete datalog, of the same name as the integration, to store the integrated result. Filenames size is limited to 16 characters in the SD file system. (Integrator names are actually limited to 16 characters:
namePattern : “{1}[a-zA-Z0-9_]{0,15}$”
brush up on your regular expressions)
1 Like
Thanks! And yes, you’re totally right regarding the 16 symbols, not 15
I guess I’ll need to dig deeper.
Perhaps since I self-compiled something changed in platformio and esp-idf.
Log files with long names exists, graphs seem to work
Recommend you review what integrators are, how they work and when you should use them.
1 Like