Git Product home page Git Product logo

hometogether's Introduction

Home Together

Autonomous Home powered by craft ai

HomeTogether showcases the craft ai AI platform in a SmartHome context, this demo was presented at CES 2016.

For further information, please check the dedicated blog post.

Local development

The following environment variables are required, for example in a .env file at the root

  • CRAFT_PROJECT_OWNER: The craft ai project owner, e.g. craft-ai.
  • CRAFT_PROJECT_NAME: The craft ai project name, e.g. HomeTogether.
  • CRAFT_PROJECT_VERSION: The craft ai project name, e.g. master.
  • CRAFT_APP_ID: The craft ai project application id.
  • CRAFT_APP_SECRET: The craft ai project application secret.

Zipabox

Setting the following variables will enable the connection with the Zipabox API and the associated devices.

  • ZIPABOX_USER: The username for the Zipabox access.
  • ZIPABOX_PASSWORD: The password for the Zipabox access.
  • ZIPABOX_BLIND_DEVICE_UUID: The Zipabox device UUID for the blind.
  • ZIPABOX_BLIND_ENDPOINT_UUID: The Zipabox endpoint UUID for the blind.
  • ZIPABOX_LIGHT_SOCKET_DEVICE_UUID: The Zipabox device UUID for the light socket.
  • ZIPABOX_LIGHT_SOCKET_ENDPOINT_UUID: The Zipabox endpoint UUID for the light socket.
  • ZIPABOX_MOTION_SENSOR_DEVICE_UUID: The Zipabox device UUID for the motion sensor.
  • ZIPABOX_MOTION_SENSOR_ENDPOINT_UUID: The Zipabox endpoint UUID for the motion sensor.
  • ZIPABOX_MAG_DETECTOR_DEVICE_UUID: The Zipabox device UUID for the magnetic detector.
  • ZIPABOX_MAG_DETECTOR_ENDPOINT_UUID: The Zipabox endpoint UUID for the magnetic detector.
  • ZIPABOX_LIGHT_SENSOR_DEVICE_UUID: The Zipabox device UUID for the light sensor.
  • ZIPABOX_LIGHT_SENSOR_ENDPOINT_UUID: The Zipabox endpoint UUID for the light sensor.

Philips Hue

The application can connect to a Philips Hue bridge if one (or more) is detected on the network. The following variables can be used to specify the use of the Philips Hue bridge and bulbs:

  • HUE_PREFERRED_BRIDGE: The ID of the bridge to connect to (in case several bridges are detected).
  • HUE_USER: The user ID to use on the connected bridge (will create the user if it does not exist on the bridge).
  • HUE_BULB_0 through HUE_BULB_5: The ID of the Hue light bulbs to use for the rooms 0 through 5.

Lifx

It is possible to enable the connection with LiFX light bulbs by setting the environment variable LIFX_TOKEN with a valid lifx developer access token. You can set the variables 'LIFX_BULB_0' through 'LIFX_BULB_5' to valid lifx light bulb IDs in order to associate those light bulbs to the rooms 0 through 5.

To install dependencies, run

npm install
pip install -r requirements.txt

To launch an autoreloading server on http://localhost:4444, run

./weblifx.py
npm run dev

To launch a style checking of the code, run

npm run lint

hometogether's People

Contributors

cloderic avatar

Watchers

James Cloos avatar Dan 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.