by Arnav Gupta (@championswimmer) on Sunday, 26 July 2015
View session in schedule
- Crisp talk
- Technical level
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.
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/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.
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.
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.