Code Monkey home page Code Monkey logo

ottto's Introduction

Ottto - Home Automation

The primary goal of Ottto is to lessen the required knowledge and/or cost of connecting everyday items to the Internet of Things. For something as simple as turning on a light when remote motion is triggered to setting up a fully automated home security system to building a completely customized home theater experience, Ottto should be a flexible and inexpensive solution to home automation.

Server

A Sails app that delivers a RESTful API of modules, groups, events, and rules.

Getting Started

  1. Install Node & NPM
  2. cd ./server
  3. npm install
  4. npm run dev

TODO

  • Software modules
    • Timer module (for conditions like "if the motion sensor has had no motion for 10 minutes")
    • Weather module
    • Cron module
  • Ping modules for status (ensure modules are online)

Client

An Angular app for reading and interacting with the API. Intends to be responsive so you can easily access modules from your mobile, or tablet.

Getting Started

  1. cd ./client
  2. npm install
  3. npm run dev

TODO

  • Switch to React, possibly React Native

Modules

Modules are based on the ESP8266 chip, specifically the inexpensive NodeMCU boards. Using PlatformIO, uploading code to the boards is incredibly easy.

Getting Started

  1. Install PlatformIO
  2. Connect to a NodeMCU board via USB
  3. cd ./modules/motion
  4. platformio run --target upload

TODO

  • C library encapsulating the common interaction between the modules and the server

ottto's People

Contributors

jstnjns avatar dependabot[bot] avatar

Watchers

James Cloos avatar Alexey Pyltsyn avatar

Forkers

seco

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.