Direct json writing
Finish direct json writing, fix T trigger
Fix ukladani historickych dat
Revert "Fix ukladani historickych dat"

This reverts commit 8efebe600fe29a8abdd1153ebd0ec04580fb0566.
Fix data history save (for real)
Dont keep alert messages in memory