https://www.eetasia.com/downloads/create-a-smart-home-lighting-demo-using-thunderboard-sense-2-sensors/
Create a Smart Home Lighting Demo Using Thunderboard Sense 2 Sensors