MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Plot data from a local CSV file

    Scheduled Pinned Locked Moved Requests
    8 Posts 2 Posters 1.1k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      jhillairet
      last edited by

      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,

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @jhillairet
        last edited by

        @jhillairet see the 3rd party module list

        https://github.com/MichMich/MagicMirror/wiki/3rd-party-modules

        there is a json->graph module

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • J Offline
          jhillairet
          last edited by

          Thank you. However, most (all?) appear not being developed any more (or only support bar graph), unless I’m missing something?.

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @jhillairet
            last edited by

            @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

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • J Offline
              jhillairet
              last edited by

              Is your work available online?

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @jhillairet
                last edited by

                @jhillairet sure
                https://github.com/sdetweil/MyCovid19

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jhillairet
                  last edited by

                  thank you

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @jhillairet
                    last edited by sdetweil

                    @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

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post
                    Enjoying MagicMirror? Please consider a donation!
                    MagicMirror created by Michael Teeuw.
                    Forum managed by Sam, technical setup by Karsten.
                    This forum is using NodeBB as its core | Contributors
                    Contact | Privacy Policy