Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. My Project
  3. Graphing via RPi to website

Graphing via RPi to website

Scheduled Pinned Locked Moved My Project
5 Posts 4 Posters 2.5k Views 1 Watching
  • 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.
  • stubtoeS Offline
    stubtoeS Offline
    stubtoe
    wrote on last edited by stubtoe
    #1

    Hi

    I've set up various sensor nodes meshing with a serial gateway connected to a Veralite e.g. Temp, humidity, PIR, door sensors etc.

    I'd like to be able to save and graph the results over time and automatically push the results to display via a webpage, so I can analyse later and see trends etc.

    Like this:

    Temp sensor ==> Serial Gateway ==> Raspberry Pi ==> Webpage

    I'm thinking I'd need the RPi to act as an Internet gateway (unless I can somehow use the Veralite).

    What are the options?

    I'm willing to do my homework on this and read up if anyone can point me in the right direction of where to start.

    Jonny

    rvendrameR 1 Reply Last reply
    0
    • stubtoeS stubtoe

      Hi

      I've set up various sensor nodes meshing with a serial gateway connected to a Veralite e.g. Temp, humidity, PIR, door sensors etc.

      I'd like to be able to save and graph the results over time and automatically push the results to display via a webpage, so I can analyse later and see trends etc.

      Like this:

      Temp sensor ==> Serial Gateway ==> Raspberry Pi ==> Webpage

      I'm thinking I'd need the RPi to act as an Internet gateway (unless I can somehow use the Veralite).

      What are the options?

      I'm willing to do my homework on this and read up if anyone can point me in the right direction of where to start.

      Jonny

      rvendrameR Offline
      rvendrameR Offline
      rvendrame
      Hero Member
      wrote on last edited by
      #2

      @stubtoe

      I use the Vera's dataMine plugin for such. It works well for me. Data is stored in a USB sticked plugged directly into my Veralite's USB port.

      Home Assistant / Vera Plus UI7
      ESP8266 GW + mySensors 2.3.2
      Alexa / Google Home

      1 Reply Last reply
      0
      • stubtoeS Offline
        stubtoeS Offline
        stubtoe
        wrote on last edited by
        #3

        @rvendrame
        Yeah, I've used datamine previously however I wanted to know if there were any other solutions out there as I want to incorporate building a website into my project too (I'm learning HTML/CSS on the side).

        Has anyone had any joy hooking up Initial State with MySensors/VeraLite?

        Also, Veralite only has 1 USB port and I'm using that for my gateway so can't log to USB stick at same time.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          AcidUK
          wrote on last edited by
          #4

          If you're using the MQTT client gateway, you can grab the data using something like node-red and send it to an InfluxDB (or other), and then it's fairly trivial to load it into grafana. That's what I'm currently doing.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            MikeF
            wrote on last edited by
            #5

            I'm using a different approach using Google Charts, as outlined here.

            I run Domoticz on a RPi, and I've written a Python script to get values from Domoticz using JSON calls every 10 minutes, and write these to a .csv file, creating a new file each day.

            I then run a modified version of @stephenmhall's Python script, which creates an html file and calls Google Charts. One advantage of this approach is that you display the webpage in a local browser.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            14

            Online

            11.7k

            Users

            11.2k

            Topics

            113.0k

            Posts


            Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • MySensors
            • OpenHardware.io
            • Categories
            • Recent
            • Tags
            • Popular