• 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.3k 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.
  • S Offline
    SvenSommer @planet4
    last edited by SvenSommer Jul 24, 2017, 6:44 PM Jul 24, 2017, 3:47 PM

    @planet4 The tutorial explaines how to enable authentication via http to access influxdb without login.
    […]
    You’re changing parts of the configuration file /etc/influxdb/influxdb.conf

    [http]
    enabled = true bind-address = ":8086" # change to a specific interface if needed 
    auth-enabled = true # will enforce authentication
    ...
    

    To access your Grafana graphs remotely, you can use the share option to get a public accessible link. The same url uses MMM-GrafanaChart to show the graph on the mirror.

    Let me know if you ran in any problems…

    Looking for some building inspiration?
    Check out my large, thin and metal framed mirror on robstechlog.com.

    Modules released:
    MMM-GoogleAnalytics
    MMM-GrafanaChart
    MMM-GrafanaGauges

    1 Reply Last reply Reply Quote 0
    • F Offline
      feedparakeet @planet4
      last edited by Jul 24, 2017, 4:10 PM

      @planet4 if you want to see Grafana’s charts without login\password, you should turn on anonymous access.

      Edit /etc/grafana/grafana.ini

      [auth.anonymous]
      enabled = true
      org_name = FeedParakeet
      org_role = Viewer
      

      Then you should go to Grafana’s GUI - Profile settings and set the “Name” field equal to the “org_name” value.

      Your graphs will be visible to anyone. But it wil be impossible to change anything without loging in.

      S 1 Reply Last reply Jul 24, 2017, 5:11 PM Reply Quote 1
      • S Offline
        SvenSommer @feedparakeet
        last edited by Jul 24, 2017, 5:11 PM

        @feedparakeet
        I think there is even a better way. You can share each panel individually.
        http://docs.grafana.org/reference/sharing/

        Looking for some building inspiration?
        Check out my large, thin and metal framed mirror on robstechlog.com.

        Modules released:
        MMM-GoogleAnalytics
        MMM-GrafanaChart
        MMM-GrafanaGauges

        F 1 Reply Last reply Jul 24, 2017, 5:16 PM Reply Quote 1
        • F Offline
          feedparakeet @SvenSommer
          last edited by Jul 24, 2017, 5:16 PM

          @SvenSommer wow, it works even easier, thanks

          1 Reply Last reply Reply Quote 1
          • P Offline
            planet4
            last edited by Jul 24, 2017, 9:08 PM

            Ok, Almost there. The gauge shows perfect on my mirror. Influx and Grafana is setup. I get the data from this sensor. http://aeotec.com/z-wave-sensor.

            However I still get the grey/brown background on the mirror. Tried to set it to transperant and also modified the css files as described in a post before here. It is just not black. Any smart ideas?

            1 Reply Last reply Reply Quote 1
            • S Offline
              SvenSommer
              last edited by Jul 24, 2017, 10:15 PM

              @planet4 I’m glad to hear, everything worked out as expected.

              • If you want to do me a favor. Please let others know in the module teaser thread, you were able to use the module. So maybe other lose their fear. ;)

              • I had a look at changing the background color by inverting the colors of the “white” theme. Didn’t worked out, cause it’s no real white neither.

              Looking for some building inspiration?
              Check out my large, thin and metal framed mirror on robstechlog.com.

              Modules released:
              MMM-GoogleAnalytics
              MMM-GrafanaChart
              MMM-GrafanaGauges

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