Another release is in the making. This release is about making jSunnyreports even more flexible. During development of jSunnyreports I made a lot of assumptions in my code which aren’t necessary the best assumptions made.
I’m fixing this by moving all these assumptions to the settings.ini file. 99.9% of the users don’t need to change a thing, these settings can be left untouched. More advanced users will love these features. Features added:
This feature describes how many days should be fully retained in the internal structure. The internal default was 14. This has been updated to 32 by default. People who update jSunnyreports on a daily basis can reduce this value to only 2 or 3 days. This will improve performance.
People who run jSunnyreports only occasionally e.g. once every month can increase this value to 32 days or even higher. This way all charts will be generated correctly.
This feature decribes the smallest timeinterval used for every inverter. Some inverters do very verbose logging e.g. every minute or even some every 10 seconds. Reading all of these individual entries will cost an enormous amount of memory and can cause jagged charts.
By default jSunnyreports would use a smallest interval of 2 minutes, smoothing out the graphs and to keep memory consumption to a reasonable value. After experimenting the new default is set to 3 minutes which should be sufficient for most users.
More information about this feature is in the settings.ini file.
Also one serious bug is fixed. In 1.6 I completely recoded the part which reads which inverters to process. I thought I had nailed it and checked everything, oh boy was I wrong. This is fixed in this version.
Another fix is for people with inverters who require to enter an additional optionfield. When this item was missing jSunnyreports would come up with a rather cryptic errormessage. This has been fixed.
These changes are necessary for the next step I’m going to take. In the near future it will be possible to create JSON objects for the data processed within jSunnyreports. In the near future jSunnyreports will support an all new charting engine with way more advanced capabilities like dynamically compare days, zoom capabilities and much more.