GithubHelp home page GithubHelp logo

capt-titanium / home-automation-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from missmeg/home-automation-app

0.0 1.0 0.0 89 KB

An app to show weather, todos, calendar events, and a grocery list using a touch display and a raspberry pi.

Python 28.34% HTML 56.89% CSS 14.77%

home-automation-app's Introduction

Home Automation App

The goal of this app is to make information more accessible and to have a single place to hold information valuable to a family. The project is made as a website interface so everyone can follow along.

Skills Practiced

  • Api connections
  • Database Models
  • Creating a Database
  • CRUD with Database items
  • Routes and "live" site with Flask

Current Features

Current features are in the works. They will consist of:

  • Daily weather forecast + next 3 days
  • Grocery list
  • ToDo list
  • Calendar events for the day

Running the Project

You will need Python version 3. This project utilizes pipenv. To run:

  1. Download the project
  2. Make sure you have pipenv installed - python -m pip install pipenv or pip install pipenv
  3. Create the environment with python -m pipenv shell
  4. Install the dependencies - pipenv install --ignore-pipfile
  5. Run with pipenv python run app.py

To run this project in development mode:

  1. Download the project
  2. Make sure you have pipenv installed - python -m pip install pipenv or pip install pipenv
  3. Create the environment with python -m pipenv shell
  4. Install the dependencies - pipenv install --dev
  5. Run with pipenv python run app.py

API in keys.py

You will need to create your own keys.py file and include your API information.

  • Weather API
    • variables: weather_key = api key, city = your city, state = your state
  • If you want to connect to a specific Google Calendar (other than your primary one) you will need to grab the calendar's ID from it's settings.
    • variable: cal_key = calendar id

Weather API

Create an account at Open Weathermap to get an API key. Add the key to your keys.py file. You can find the docs here for the specific API connection being used.

Google Calendar API

Complete step 1 from Google's documentation. Make sure you are logged in with the Google account you want to use.

Download your credentials (file should be called credentials.json) and add the file to your directory and to your .gitignore file.

Todos and Grocery List

Both the Todos and Grocery list are using Peewee to create a SQLite database.

home-automation-app's People

Contributors

missmeg avatar

Watchers

James Cloos 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.