项目作者: mattmaynes2

项目描述 :
Aria - Autonomous Real-Time Interactive Architecture
高级语言: Python
项目地址: git://github.com/mattmaynes2/aria.git
创建时间: 2016-07-06T01:15:38Z
项目社区:https://github.com/mattmaynes2/aria

开源协议:

下载


Aria - Autonomous Real-Time Interactive Architecture

Build Status

ARIA

Overview

Aria is a smart home automation system that learns from its environment and automatically automates
common actions. The Aria system uses a central hub to interconnect various smart devices through
multiple different communication mediums. The Aria hub uses smart sense through machine learning
to predict desired user interactions.

Background

Any home maintenance task which can be automated can save the owner time and money. Automated
environmental control is not a novel concept; devices such as light timers and programmable
thermostats have existed for many years. Most of these common devices, however, must be configured
manually. The system proposed in this report is able to configure itself based on normal actions
taken by the user. By having the system learn the habits of the user dynamically, the
configuration is essentially eliminated, leading to an ease of installation that does not currently
exist.

Required libraries

Installing openzwave python library

  1. $ sudo apt-get install cython3 libudev-dev python3-sphinx python3-setuptools git
  2. $ git clone https://github.com/OpenZWave/python-openzwave.git
  3. $ cd python-openzwave
  4. $ git checkout python3
  5. $ PYTHON_EXEC=$(which python3) make build
  6. $ sudo PYTHON_EXEC=$(which python3) make install

Project Deployment

To build the Aria system, a set of automated build scripts are provided in the ./build folder.
The ./build/run script provides all the facilities for configuring the project environment,
installing dependencies, building and testing the project, and deployment. Below is the help
information to the run script.

  1. Usage: run [options] [command] <cmd> [option] [target]
  2. Commands:
  3. all [target] Install dependencies, runs a build and tests it
  4. enviro [target] Install environment dependencies
  5. deps [target] Install project dependencies
  6. build [target] Compile project and run build
  7. test [target] Run tests on built projects
  8. deploy [target] Starts running the built project
  9. clean [target] Cleans the build resources
  10. Options:
  11. -h, --help output usage information
  12. -V, --version output the version number
  13. -a, --stay-alive Continue to run the directive even if an error occurs
  14. -m, --manifest Execute build with specific manifest
  15. -q, --quiet Do not display output from commands being executed
  16. -S, --silent Do not display any output
  17. -r, --root Root directory where target should be executed from
  18. -s, --stats Display build statistics at end of execution
  19. -v, --verbose Display verbose messages

To build the entire project, simply run ./build/run all. Finally, to deploy the system after it
has been build, run ./build/run deploy.