FullStackEmbedded / WeatherShield

Raspberry Pi Weather Shield
GNU General Public License v2.0
0 stars 0 forks source link

Update database #5

Open erget opened 8 years ago

erget commented 8 years ago

transfer data regularly to the database to make it accessible to the web server

This involves reading the sensor readings in /dev and generating SQL to interact with Django's SQLite database

erget commented 8 years ago

@NicolasCaspari - pressureless assignment ;)

erget commented 8 years ago
  1. Script that can interact with Django layer for saving observations in database
  2. Have script read sensor observations (located in /dev) and save them in Observation objects that go into the DB
  3. Cronjob that keeps this happening every hour (or other test period that you choose)