JSFoo 2015

The future of JavaScript

Arnav Gupta

Arnav Gupta


Full stack home automation prorotyping in Javascript

Submitted Jul 26, 2015

We will be looking at how a complete home automation system (from hardware to the user interface) can be prototyped with various JS based technologies.


In keeping with Atwood’s law, we have come to a stage where everything from hardware to server to user interfacing, all can be done with Javascript. To create a prototype of a home automation system we can use the following technologies :

  1. BoneScript on a BeagleBone Black to control the hardware. (A BBB, is just like a a Pi, a microcontroller board). Our little Bonescript program will control the lights/fans etc of the house, to turn them on/off. (Tivia: The BBB has a full-fledged IDE - Cloud9 which itself is written fully in JS, on which we will code)
  2. Nodejs to create a RESTful server on BBB that will be used to direct the on/off commands. We intend to create a simple interface that can take http://myhome/switch/light1?cmd=on or http://myhome/switch/fan2?cmd=regulate&val=3 type requests, and control the hardware accordingly.
  3. AngularJS to create a simple, good looking and easy to use front end. Ideally a responsive webpage, with various switches and knobs to control your appliances. Can be opened from your laptop/tablet/mobile.

I’ll be bringing along a BBB and some LEDs etc to represent lights of a room, and would be able to give a quick demo where I would show how to control lights from your mobile.


A laptop, with Node installed. Pretty much nothing else.

Speaker bio

I am an Electrical and Electronics Engineering student (final year), at Delhi Technological University. I have been working mainly on Android OS hacking and tinkering with hardware projects for the past 4-5 years. I have been a contributor and device maintainer with the CyanogenMod project since 2012, and have coded a few features on the Arduino IDE 1.6.
I have given talks on Android OS-level development at Mobile Dev Summit 2014 and DroidCon India 2014.
Javascript is something I have picked up only recently, after getting selected for a Google Summer of Code project this year, where I am creating a reusable Conference/Event hosting webapp template under FOSSASIA
When I am not working on Open Source projects, I am participating in Hackathons, and over last 2 years, have accumulated 6 Hackathon wins including GSF Hacks 2014, Androidation 2014 and HackIndia 2015.




{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

JSFoo is a forum for discussing UI engineering; fullstack development; web applications engineering, performance, security and design; accessibility; and latest developments in #JavaScript. Follow JSFoo on Twitter more