A story of Ambient Lights, Automation, and a Happy Partner

Automation Components

A couple of weeks ago I created an automation to change the light in my living room for when I played video games.
Lights in my apartment dimmed, ambient lights came up around the television, with only a push of a button!

Read Time:3 Minute, 13 Second
Image for post

A couple of weeks ago I created an automation to change the ambient lights in my living room for when I played video games.

Lights in my apartment dimmed, ambient lights came up around the television, with only a push of a button!

When I was finished playing, I pushed the button again, and depending on the time of day, my lights returned to their normal status. Alexa also thanked me for playing.

But there were some small nagging issues:

  • My partner was accidentally hitting the button and changing the lights in the middle of the day.
  • I was losing track of time in my gameplay sessions, playing longer than I had intended.

In a previous article, I talked about how to approach our home automation.

Genesis of our Automated Life

Create Goals, Activities, and Tasks like professionals to help plan your automated life

By applying a recursive approach, we follow this cycle:

Image for post
Recursive Automation Cycle

Plan

When I first started playing my video game, I turned on the ambient lights around my TV. However, the lights were washed out by the other lights in the apartment. So I came up with a plan to reduce that issue:

Image for post
Original Plan for Ambient Lighting

By planning out what I wanted to do, I was able to identify everything that I wanted to build out. This allowed me to make sure I had all the components that I needed and had identified all the tasks.

Build

First we need to make sure we have all of the technology that we need. I used Hue Play Lights, an Amazon Alexa, Phillips Hue HDMI switcher, and a Google Chromecast and Stadia Controller. Please note that the links below are affiliate links, and I may receive compensation from any purchase through them.

With all my tasks laid out and my hardware purchased, I set to work with Home Assistant:

  1. Home Assistant registers the initial button push and sets a helper variable
  2. Home Assistant dims the lights that are not in the current Hue Entertainment Area
  3. When the button is pressed again, Home Assistant changes the lights based on the time.
  4. Alexa gives me a little voice notification.
Image for post
Image for post
Image for post
Activating The Light Scene, Changing Lights Based on Day, and Alexa Notification

Review

I was enjoying my immersive gaming experience, but it wasn’t quite complete.

I noticed the following issues:

  1. All lights in the apartment would change at odd times — this was being caused by inadvertent button pushes
  2. I was losing track of time within the immersive experience
  3. Changing the lights based on the time of day needed to be duplicated across many different automations

After my review, I now have a new plan:

Image for post
Post Review Plan

Iterate

So now I have a new list of tasks (showcased in Dark Blue in the above plan)

  • Prevent inadvertent button pushes — I moved the Button from under our coffee table to under a shelf in our bookcase.

Not everything needs to be automated!

  • I was losing track of time during my game sessions — I created and implemented a timer that had an audio and visual component
Image for post
Image for post
Timers & Alexa Notification
  • Duplicating time-based light automations — I broke the automation into multiple parts so that I can call the light reset from other automations.

I’ve already enhanced my Pomodoro Timer with the time-based light adjustment so at the end of my work sessions my lights change.

Automate your Pomodoro Process Today

Automate your Pomodoro Routine with Amazon Alexa, Google Assistant, or Home Assistant.

Automating your environment based on stimuli is the easiest and most enjoyable part of home automation. Approaching your home automation recursively helps to change your mindset.

You are not turning on lights automatically, you are evolving your home.

Building cycles into your process will allow you to grow your automations so that they get better and more cohesive.

Previous post Automate your Pomodoro Process Today
Obama on the Phone Next post Learn Entrepreneurial Lessons from Barack Obama’s A Promised Land