GithubHelp home page GithubHelp logo

morning_night's Introduction

morning_night

The Final Project for EE810-internet of things

Description

This project aims to be a full service automated soft alarm clock. The time when you need to wake up is automatically pulled from your google calendar so you wake up in time for your first event. The website also records statistics on how long it took you to wake up and how you felt.

Setup

  1. Change the super user in Morning/views.py and in Night/viewspy in the detail function. Change author to your account name and password.
  2. Get an Oauth2 token for your google calendar, download the json file and replace the secret.json file with yours.

Dependencies

there is a way to use omxplayer wrapper to play the music (local file or url) https://github.com/willprice/python-omxplayer-wrapper

install: sudo pip install omxplayer-wrapper

the first time running will fail,so you can do player.play twice in your code .not work very well

install: sudo pip install -U django

sudo pip install -U djangorestframework

sudo pip install -U markdown

sudo pip install -U requests

find out how to use google calaner api on professeor's side

Future Work

  1. Creating Master server for everyone to connect to so each user doesn't have to set up their own.
  2. Suggestions on how to wake up better based on the statistics we gather.
  3. Give users options about music they want to play.
  4. Make interface more elegant and user-friendly.

Authors

Songian

Matthew

morning_night's People

Contributors

mattmelachrinos avatar

Stargazers

Kevin Lu avatar

Watchers

James Cloos avatar Kevin Lu avatar songnian yin avatar

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.