DIY Home Automation: Building a Smart Lighting System from Scratch