tasmota-sml-script
tasmota-sml-script copied to clipboard
Arrays for 24h Chart too large
The array "s24h" in 2_SML_Script_Chart_PV_EcoTrackerEmu.tas is defined with size 1441, but only 1000 Elements are technically possible (stated in https://tasmota.github.io/docs/Scripting-Language/#d-ssize; "#define LARGE_ARRAYS allows for arrays up to 1000 entries"). This results in 24h charts, which only have a fraction of data (16 hours + some minutes)
queried like this:
16:34:28.091 CMD: backlog script>print %s24h[-1]% 16:34:28.107 1000.00
Sorry, I accidentally uploaded the new version of the script I'm currently working on. The scripts will change significantly. I have uploaded the old version again.