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.
Create Goals, Activities, and Tasks like professionals to help plan your automated life
By applying a recursive approach, we follow this 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:
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:
- Home Assistant registers the initial button push and sets a helper variable
- Home Assistant dims the lights that are not in the current Hue Entertainment Area
- When the button is pressed again, Home Assistant changes the lights based on the time.
- Alexa gives me a little voice notification.
Review
I was enjoying my immersive gaming experience, but it wasn’t quite complete.
I noticed the following issues:
- All lights in the apartment would change at odd times — this was being caused by inadvertent button pushes
- I was losing track of time within the immersive experience
- 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:
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
- 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 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.