GithubHelp home page GithubHelp logo

ohnoitsyou / automata Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 280 KB

Home automation framework for independent devices

License: GNU General Public License v2.0

CSS 2.19% JavaScript 89.04% Handlebars 8.09% Shell 0.68%

automata's Introduction

Automata

A pluggable framework to tie together independently created devices

Plugin API

Plugins should export the following methods:

  • load(options)
  • initilize()
  • loadRoutes()
  • registerStaticFolders(pluginDir) (Optional)
  • registerStyles(pluginDir) (optional)
  • registerScripts(pluginDir) (optional)

The pluginDir above will likely be optimized out in a later release

The idea is that all internal methods will be accessable via an express router and exported via loadRoutes

Plugins not ready for prime-time can be disabled by appending '.disabled' to the end of the folder

Plugin list

A list of plugins designed to work with Automata:

  • pirelay - Controller for a RasPi based relay board
  • Spark - An interface for communicating with Spark {core, photon, electron} devices
  • RGB Spark - A Spark based RGB lamp
  • Spark relay - A spark controlled relay outlet, similar to the Weaved
  • Weaved - A basic controller for the Weaved IoT device

Adding plugins

Please rename the plugins as you check them out, remove the 'automata' from the folder name. The plugins I've written for Automata don't take this into account in their API scheme. (I'm working on it!)

Authentication

Automata is configured to use basic-auth to secure the UI. Add an array called authUsers to the configuration file. Provide the following details:

  • id
  • username
  • password
  • email

automata's People

Contributors

ohnoitsyou avatar

Watchers

 avatar  avatar

automata's Issues

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.