Closed bobvc133 closed 1 year ago
Short answer
File is too big for the available memory.
Long answer
To deserialise your BANK file 68Kb are requested as minumum by ArduinoJSON library. Unlikely not more than 65K are available.
Solution
Split the configuration file in multiple short files ad apply them one be one. Your file has "only" 205 Actions.
Short answer
File is too big for the available memory.
Long answer
To deserialise your BANK file 68Kb are requested as minumum by ArduinoJSON library. Unlikely not more than 65K are available.
Solution
Split the configuration file in multiple short files ad apply them one be one. Your file has "only" 205 Actions.
It depends of the dimension of the maximum allocation block in heap. Check the log for error like this one
Memory allocated for JSON document: 42076 bytes Reading /Ampero-part1.TXT.cfg from SPIFFS ... deserializeJson() failed with code NoMemory
To not override configuration comment the following line
Configuration file can be appended to current profile (only Actions) in version 3.1.5.
When there are many BANK configurations, it can be configured and used normally, but it cannot be saved to the available configuration list, or it will be saved as an empty file, or the device will restart. Use the configuration editor to configure directly, and it can be saved to the available configuration list, but the application is saved to The current configuration is either invalid or causes the device to restart. The firmware version is 2.5.4. Because the configuration is more complicated, the 3.0 firmware has not been tested yet. BANK.txt