• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Graph module

Scheduled Pinned Locked Moved Requests
26 Posts 9 Posters 18.8k Views 9 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.
  • R Offline
    roramirez Core Contributors
    last edited by Feb 6, 2017, 7:13 PM

    There a module of @qistoph

    [card:qistoph/MMM-dynchart]

    Easy module development with MagicMirror Module Template

    F 1 Reply Last reply Feb 7, 2017, 12:08 PM Reply Quote 1
    • F Offline
      feedparakeet @roramirez
      last edited by Feb 7, 2017, 12:08 PM

      @roramirez said in Graph module:

      There a module of @qistoph

      [card:qistoph/MMM-dynchart]

      Thank you! Yes, it looks pretty much like what Im looking for. But I could make a guess only throw the source code, because I could not make this module run. And it draws a static graph, not dinamic

      1 Reply Last reply Reply Quote 0
      • Q Offline
        qistoph
        last edited by Feb 11, 2017, 11:34 AM

        Hi @feedparakeet,

        The MMM-dynchart was a sample used to show some ideas.

        A better example for you would be my Vitadock module:
        https://github.com/qistoph/MMM-vitadock

        Maybe you can use it to base your module on.

        If you could give a more detailed description of what you what to graph, I might be able to help you.

        F 1 Reply Last reply Mar 1, 2017, 12:43 AM Reply Quote 0
        • D Offline
          d3r
          last edited by Feb 12, 2017, 6:53 PM

          I’m logging room temperature and humidity to a csv file. How would I go about using the data to graph it to my mirror?

          F 1 Reply Last reply Mar 1, 2017, 12:47 AM Reply Quote 0
          • P Offline
            PointPubMedia
            last edited by Feb 12, 2017, 11:49 PM

            I’m using a bunch of graph already… why not using Grafana to record the data and the iFrame module to display them in your MM ?

            D F 2 Replies Last reply Feb 13, 2017, 2:34 AM Reply Quote 0
            • D Offline
              d3r @PointPubMedia
              last edited by Feb 13, 2017, 2:34 AM

              @PointPubMedia said in Graph module:

              I’m using a bunch of graph already… why not using Grafana to record the data and the iFrame module to display them in your MM ?

              That’s a good idea actually. I don’t know what grafana is, will look into it. I might just use the temperature logging python code I have and add a graphing portion to it as well and then use the iframe module to display the graph. Sounds feasible on paper.

              1 Reply Last reply Reply Quote 0
              • F Offline
                feedparakeet @PointPubMedia
                last edited by Feb 23, 2017, 12:01 PM

                @PointPubMedia, thanks, Grafana looks good. I have it installed now to graph server’s cpu, network, e.t.c… Could you tell me please what do you use as a data source for Grafana to create custom graphs? I want to create bitcoin-usd graph, but I don’t know how can I put a data into Grafana.
                And how do use put Grafana’s graph into iFrame module? Are there any tricks you can share?

                P 1 Reply Last reply Feb 23, 2017, 12:14 PM Reply Quote 0
                • P Offline
                  PointPubMedia @feedparakeet
                  last edited by Feb 23, 2017, 12:14 PM

                  @feedparakeet I disable the authentication in Grafana so I can use direct link to a graph without a username/password!

                  In grafana, you can “export” a graph and it will give you a direct URL that you can use directly in an iFrame!

                  For datasource, currently I’m using a module in my home automation that already send data to grafana!

                  I need to work later on some unix script to send data directly in grafana!

                  F 1 Reply Last reply Mar 1, 2017, 12:31 AM Reply Quote 1
                  • F Offline
                    feedparakeet @PointPubMedia
                    last edited by Mar 1, 2017, 12:31 AM

                    @PointPubMedia Thanks! It worked!
                    Final setup is: php scripts which grab info from fixer.io (eur + usd) and btc-e.com (bitcoin), put them to InfluxDB and display with Grafana. Works like a charm!
                    Here is a screenshot from my MM. Looks beautiful in general. But still, few minor things to work on.

                    0_1488327795941_MM.png

                    J 1 Reply Last reply Mar 24, 2017, 9:36 AM Reply Quote 0
                    • F Offline
                      feedparakeet @qistoph
                      last edited by Mar 1, 2017, 12:43 AM

                      @qistoph, thank you, I really appreciate your response. It took me few weeks to understand how do graphs work and get what I need. Finally I did it with Grafana + InfluxDB + PHP scripts. Now I understand that each graph is very special and you need quite a few options to get it work like you want. So, Grafana is the solution for what I was looking for. Don’t think it will be easy to create a universal graph module to satisfy all my needs, like I thought it before. Thanks anyway!

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      • 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