Skip to content

sebcreme/HomeTogether

Repository files navigation

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.

Lifx

It is possible to enable the connection with a LiFX light bulb by setting the environment variable LIFX_TOKEN with a valid lifx developer access token.

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

About

SmartHome demo, powered by craft ai

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published