This is a project to control of the lights around a house. This is enabled by using a Raspberry Pi which controls a 433Mhz transmitter that can send 3-byte codes to several power sockets installed around the house to which the lights are connected.
The Raspberry Pi runs a simple Ruby on Rails application which enables a Restful communication with this EmberJS app.
The EmberJS application retrieves a list of locations from the server (using the standard Ember REST adapter). When a location/room is clicked the lights for this location are retrieved and shown. Per light on and off buttons are shown. When clicked, an ajax call is made to the server which then sends the appropriate signals to power sockets.
The server side can be found hier
You will need the following things properly installed on your computer.
git clone <repository-url>
this repository- change into the new directory
npm install
bower install
ember server
- Visit your app at http://localhost:4200.
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
ember build
(development)ember build --environment production
(production)
Specify what it takes to deploy your app.