• 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.

display a graph with sensor values.

Scheduled Pinned Locked Moved General Discussion
7 Posts 3 Posters 1.9k Views 3 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.
  • I Offline
    icripps
    last edited by Apr 1, 2019, 1:57 AM

    hey guys, is there a way i can display a graph on the magic mirror with values gotten from my sensor, specifically temperature and humidity sensors

    1 Reply Last reply Reply Quote 0
    • Y Offline
      yawns Moderator
      last edited by Apr 1, 2019, 9:18 AM

      Yes, of course. There are several ways to do so. First important thing to know is how you get and store your data. Do you want to collect the data and store it in a csv/xml/json/… file? Do you have an interface to retrieve data from, maybe a little webserver for the sensors?

      1 Reply Last reply Reply Quote 0
      • I Offline
        icripps
        last edited by Apr 2, 2019, 1:31 PM

        @yawns my sensors will upload the sensor values to thingspeak.com. do you know how I can get the values from the thingspeak.com and make a graph out of it on the magic mirror ?

        S 1 Reply Last reply Apr 2, 2019, 1:51 PM Reply Quote 0
        • S Away
          sdetweil @icripps
          last edited by Apr 2, 2019, 1:51 PM

          @icripps says has api to read data

          https://www.mathworks.com/help/thingspeak/read-data-from-channel.html

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          S 1 Reply Last reply Apr 2, 2019, 1:54 PM Reply Quote 0
          • I Offline
            icripps
            last edited by Apr 2, 2019, 1:54 PM

            @sdetweil thats Great, but how do I use the api? With magic mirror

            S 1 Reply Last reply Apr 2, 2019, 1:56 PM Reply Quote 0
            • S Away
              sdetweil @sdetweil
              last edited by sdetweil Apr 2, 2019, 1:59 PM Apr 2, 2019, 1:54 PM

              @sdetweil i have an arduino device collecting samples from a water well system (2 flow sensors and 1 volume sensor)… I use Blynk to post the data to a cloud server, and then I use their data api to retrieve the data and a charting tool to present 2 sensors of data on MM.

              i wrote my own module

              i also use the blynk mobile app to display the data in near realtime…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • S Away
                sdetweil @icripps
                last edited by Apr 2, 2019, 1:56 PM

                @icripps api definition says data can be returned in json format… and you might be able to use the MMM-Chart module

                https://github.com/Snille/MMM-Chart

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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