Month 4 Box - Smart Home

Lesson 4 - Color Your World

Lesson 4: Color Your World (Controlling RGB Smart Bulbs + Creating Scenes)


In this lesson, you’ll take your smart home lighting to the next level using Zigbee RGB smart bulbs. These aren’t just regular bulbs—they can display millions of colors, adjust brightness, and shift between warm and cool color temperatures.


You’ll start by pairing both bulbs to Home Assistant using ZHA. Go to Settings > Devices & Services > ZHA > Add Device, then power on each bulb to put it into pairing mode. If it doesn't pair automatically, toggle it off and on five times quickly. Once detected, rename each bulb (e.g., “Desk Light”) and assign it to a room.


After pairing, you’ll explore the controls available in the Home Assistant dashboard—turn the bulbs on or off, adjust brightness, fine-tune color temperature, or pick from a full RGB color wheel.


Next, you’ll learn to create Scenes—custom lighting setups that can be triggered with a tap or automated. Go to Settings > Automations & Scenes > Scenes > + Add Scene. Add both bulbs and set their color and brightness for different moods like:


  • Relax Mode – soft orange and pink at low brightness
  • Focus Time – bright cool white
  • Movie Time – dim blue
  • Party Mode – red and purple at full brightness


You’ll also automate a scene to trigger every night at 7:00 PM, setting your home to Relax Mode as the day winds down. Create a new automation with Trigger: Time = 7:00 PM and Action: Activate Relax Mode.


Creative Bonus Challenge: Make your lights react to live weather! Use Home Assistant’s weather integration and set up an automation so the bulb turns:


  • Blue if it’s raining
  • Yellow if it’s sunny
  • Red if it’s hot


By the end of this lesson, you'll be able to control ambiance in your home using scenes and automations, giving each room a personality that responds to time, mood, or even weather conditions.


Tomorrow, we’ll explore motion sensors to make your smart home respond to movement. See you then!