Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A home automation emulator that uses KNS

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 arduino
Octocat-spinner-32 demo
Octocat-spinner-32 localtunnel
Octocat-spinner-32 ruleset
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 kns.py
Octocat-spinner-32 raise-events.py
Octocat-spinner-32 server.rb
Octocat-spinner-32 tunnel
README.md

Home-Emulator

A home automation emulator that uses the Kinetic Event Architecture model for raising and responding to events. Uses the kns-python project.

Example invocation

  • Run the server on a dev machine with the command ruby -rubygems server.rb. Requires Sinatra to be installed.
  • Set up a localtunnel (see http://www.twilio.com/engineering/2011/06/06/making-a-local-web-server-public-with-localtunnel/) to forward port 4567 so it's publicly accessible to KNS: localtunnel 4567
  • Run raise-events.py. This will raise the coming_home event to KNS. The ruleset responds with two directives to the server. You should see these reflected in the Sinatra log.

Arduino sketches

We started implementing this project in hardware using Arduino. Some of the sketches will use the Ethernet shield, but most will use the WiFly shield, as we ultimately want the device to work wirelessly.

Something went wrong with that request. Please try again.