Create energy and time plots with json_decode lib and update bilan_reader to allow to write energy to json