Coder Social home page Coder Social logo

dailyhome / daily-home Goto Github PK

View Code? Open in Web Editor NEW
28.0 4.0 3.0 19.79 MB

dailyhome - open home automation platform powered by openfaas targeted easy adaptation

JavaScript 36.60% Shell 1.67% CSS 25.05% HTML 7.51% Go 27.33% Dockerfile 1.83%
iot iot-platform openfaas serverless-applications raspberry-pi

daily-home's Introduction

DailyHOME

open home automation platform powered by openfaas targeted easy adaptation

Overview of DailyHOME

HOME automation Made Simple

DailyHOME platform make use of OpenFaaS for its core
Gateway : Handle UI and API call
ALEXA : Handle Alexa Request
Metric : Compute Mrtrics and Handle Metrics Request
APPS : User Defined Apps as Function 

MINIO: Store Device Info, Skill Definiton 
PROMETHEUS: Store Metrics

DailyIOT platform Stack

Getting Started

Daily-home platform runs completly on top of openfaas. To set up openfaas for the link: Openfaas Getting Started

Clone the repo

git clone https://github.com/dailyhome/daily-home.git && cd daily-home

Start the Registry (Consul)

Build locally (optional)

cd registry && ./build.sh

Deploy

cd registry && ./deploy.sh

Deploy the DIot Platform

./deploy.sh

After deployment go to http://127.0.0.1:8080/function/dhome-gateway

Login Page (default: admin/admin)

login

Dummy Switching Device

Switching Device

TODO
  • API - Implement HTTP API [dailyhome-gateway]
  • Implement Alexa skill [dailyhome-alexa]
  • API - Authtoken validation [dailyhome-gateway]
  • UI - Implement Glitchfree Switch Page [dailyhome-gateway]
  • UI - Implement Login Page with Cookie [dailyhome-gateway]
  • UI - Enable and Disable all switches [dailyhome-gateway]
  • UI - Ajax request to update/monitor state [dailyhome-gateway]
  • Create METRIC Service and find a way to Generate useful metrics based on API Request, Like:
    - daily/weekly total active period,
    - daily/weekly average active period etc
  • Template and SDK for Writing different IOT APP to run on the Platform (gateway, metric & alexa)
  • Integrate with OpenFaaS-cloud
  • Change password and token to secrets
  • UI/API - provide UI and API support to get the metric [dailyhome-gateway]
  • Use minio as storage to keep device info [dailyhome-gateway]
  • Custom switch name [dailyhome-gateway]
  • UI - Multiple Device Layout [dailyhome-gateway]
  • Write Documentation [dailyhome-gateway]
  • Find a way to create Routine (without Alexa)

Contribution guide

A Contribution can be in any form of a Suggestion/Idea/PR (Implementation/Documentation)/Review
To open an suggestion, Idea or Issue please create an issue at:
https://github.com/dailyhome/daily-home/issues
For a PR please create an issue detailing the Idea/Suggestion/Issue

daily-home's People

Contributors

s8sg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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