GithubHelp home page GithubHelp logo

supersid's People

Contributors

nathanielbutts avatar

Stargazers

 avatar

Watchers

 avatar

supersid's Issues

Add database functionality for logging

Description

Currently it will only log data to daily csv files. This works well with the supersid_plot scripts but isn’t the most robust. I want this to write to a database. I’ll start with databases on the network first.

Possible solutions

Options:

  1. Write directly to networked database
  • Pro: One copy of data, low storage requirements for Pi
  • Con: Difficult to setup, connectivity issues could lead to data loss
  1. Copy daily files to database on schedule
  • Pro: Data already there; no modifying or adding scripts
  • Con: 24 hour lag potential, have to calculate times for events
  1. Send out to MQTT and write to database
  • Pro: Can integrate into current setups
  • Con: If not setup correctly could lead to dropped data
  1. Write to local database, copy to networked debase
  • Pro: Offers redundancy, maybe easy to setup
  • Con: Requires additional storage on Pi (perhaps)

Next step

Option 4 is best option. Set it up so that the local data tables drop after confirm write to networked database.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.