I will be giving a talk next Thursday, October 27, 2016 at the monthly BayPiggies (Bay Area Python Interest Group) meeting.

Python and IoT: From Chips and Bits to Data Science

Ever want to know what is behind the "Internet of Things" hype? Back in Feburary, I wanted to as well, so I embarked on a side project to learn more. This talk is the story of my journey, using, of course, my favorite programming langauge, Python.

In this talk, I will take you through my project, a lighting replay system. I captured light sensor data (using Micropython and the ESP8266) in three rooms of my house. I then analyzed the data using Jupyter notebooks, Numpy, Pandas, and Scikit-learn. My goal was to replay realistic light usage when my family and I are out of town. After exploring several machine learning approaches, I settled on Hidden Markov Models (using Hmmlearn). I now have a simple application that runs on my Raspberry Pi and controls Phillips Hue lights based on the learned model. Along the way, I played around with hardware for the first time since college and co-developed an open source data filtering framework, called AntEvents (joint work with Rupak Majumdar of the Max Planck Institute for Software Systems).

Location and other details

The talk will be at LinkedIn, located at 580 N. Mary in Sunnyvale and will start at 7 pm. If you want to attend, please RSVP at Currently, the talk is looking pretty full. LinkedIn graciously records all the BayPiggies talks, and a video of my talk should go up on YouTube within a month or so.

I will put the slides and other details from the talk up on this website.