Read the statement by Michael Teeuw here.
Plot data from a local CSV file
-
Dear all,
I’m storing locally on my raspberry some data fetched from other sources every minutes, and I would like to plot them dynamically on a magic mirror module. These data are like:
date1 time1 values1 date2 time2 values2 date3 time3 values3
While I’m OK in Python, I know nothing to Javascript. So I can format the .csv file to something else if needed, but I don’t know what module I can use to do the job.
Is anyone could indicate me how I could do that ? Many thanks in advance
Best regards,
-
@jhillairet see the 3rd party module list
https://github.com/MichMich/MagicMirror/wiki/3rd-party-modules
there is a json->graph module
-
Thank you. However, most (all?) appear not being developed any more (or only support bar graph), unless I’m missing something?.
-
@jhillairet yes, many modules no longer have current activity from their creator. they made them for their purposes…
I use chartjs for my covid 19 charting module, and other apps reading data from csv, but I don’t read generic csv files
-
Is your work available online?
-
-
thank you
-
@jhillairet I get all the data and format/filter in the node_helper, then send to the modulename.js to display.
as I support multiple instance the messages have the module indentifier to keep the data separated