JoostKiens / bootsy-domo

Control our lights online

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bootsy Domo

A simple setup to control our Klik Aan Klik Uit lights from the interwebz.

A big shoutout to Fuzzilogic for doing all the heavy lifting.

Hardware

How does it work?

There's a node server on the C.H.I.P. which hosts a little website with buttons to turn each light on and off.

The server controls a few pins on the C.H.I.P. through the excellent Johnny Five platform. These pins are connected to an Arduino.

The Arduino controls the Transmitter through the 433Mhz for Arduino library.

For setup of the Arduino & retrieving the address of your transmitter, see this bitbucket

Developing & deploying

Install dependencies:

yarn

Run a webpack dev server:

npm run start

Build with stage production:

npm run build

Run the server & site from the C.H.I.P.

sudo run serve

Note: to access the pins we need to run with sudo.

TODO

  • Clean up, move relevant stuff to config
  • Add more lights
  • Add physical buttons
  • Beacons!!!
  • Move website to heroku
  • Use pubnub to commincate between node & site

About

Control our lights online

License:MIT License


Languages

Language:JavaScript 78.2%Language:HTML 8.8%Language:CSS 6.6%Language:Arduino 6.4%