Coder Social home page Coder Social logo

rgabeflores / home-automation-controller Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 254 KB

An Internet of Things controller built using a Python Flask Server on a RaspberryPi with web browser access and a React Native client

License: MIT License

Python 75.44% CSS 6.67% HTML 8.51% JavaScript 9.39%

home-automation-controller's Introduction

Home Automation Controller

Build a home automation controller using a RaspberryPi web server with Flask REST API on Nginx, Gunicorn, and Supervisor. Easily create API endpoints to install and have control of a local network of devices through one edge device. The controller can be used with its default browser interface or an application capable of making HTTP requests. Currently a ReactNative mobile application is under development.

NOTE: This project is still under development. The fundamental concept is complete but a few of its features are not yet fully implemented.

Installations

Web Server Config Files

/Server

These files are for the RaspberryPi's web server. For this project, a RaspberryPi was used, but any system running a version of Linux will work as well.

  • nginx.conf is used to configure the NGINX server for authentication, file locations, and application proxies
  • dhcpcd.conf is used to configure a static IP address which is helpful for both developer access (SSH) and user access (Browser Interface, REST API)
  • supervisor.conf is used to configure Supervisor, which is used to automatically start the Flask server upon bootup
  • .htpasswd is used to store the user authentication information

Flask App Files

/FlaskApp

These files are for the Flask API and web interface.

  • HTML, CSS, and Javascript is used with Bootstrap to create a simple, mobile friendly browser interface
  • Flask is used to create the REST API endpoints

React Native Files

/MobileClient

These files are for the mobile client which is built with React Native to design the UI/UX and Redux to maintain the state of the application.

NOTE: This part of the application is in early development and many of its features are yet to be implemented.

Contributors

This repository includes a modified version of Audio Reactive LED Strip as a sample API endpoint function

home-automation-controller's People

Contributors

rgabeflores avatar

Stargazers

 avatar

Watchers

 avatar  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.