Skip to content

TODO List #1

@KerenChandran

Description

@KerenChandran

BACKEND FOR CLIENT

  • Write connect_to_server script from client side
    • Create network and what not from there
  • Work on api endpoints on flask
    • Historical Data
    • Pad data with 0s
    • Thresholds
    • Websockets
    • Add new sensors
    • Notifications
    • Tips
  • Setup mongo/some db to store all this data in a clean way
  • Generate Tips async
  • Notifications async
  • Update historical data with live data
  • Generate monthly summaries
  • pricing
  • fix resolution of data in endpoints and sensor data
  • Remove 0s from getting added to db
  • setup all the data, dbs for production
    • change db to waterbud in several scripts
    • backfill data appropraitely
    • test all endpoints
    • generate monthly summaries
  • figure out how to set date to edt in pi
  • fix double counting for backfill data

HISTORICAL DATA

  • Trapezoidal representation of flow for timeseries data
  • Convert all (timestamp, flow) tuples into dictionaries
  • N-day historical data generation. (Upper bound is previous day).

FRONTEND FOR CLIENT

  • HighCharts Integration
  • Historical Daily Usage View
  • Historical Hourly Usage View
  • Live Usage View
  • Websockets for Live Data
  • Setting Threshold Screen
  • User Profile Details
  • Home Screen Layout
  • Spinner
  • Styles for the website

Sensor Screens

  • Add Sensor
  • Display all Sensors
    • Display via Table Format
    • Display via Card Grid Format
  • Remove Sensors
  • Edit Sensors

Tips

  • Info for Tips: Image, Description, Benefits
  • List tips for each room on the back of the card
    • Include see more button at bottom which populates modal

Notifications

  • Setup Async Notifications Call (currently when user exits live view)
  • Display dynamic counter based on length of new notifications
  • On click, execute POST to server to mark notifications as read
  • Show notifications in modal; Separated into two sections (new and recent)

Testing before Demo

  • Sensor on Keren's personal network
  • A full walk through with all the moving components, especially all the backend stuff
  • Leak detection

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions