I was having a problem at work — I needed to be on time for meetings, but at the same time, my team chats via multiple means, and I have three work emails. I am suffering from notification fatigue. However, of all my notifications, meetings are the most important, and I solved the problem, at least for me. I’ve cobbled together a system with three strobe lights interfacing with google calendar. Each strobe is a different time frame warning; for me, 15 min, 5 min, and 1 min warnings. Each strobe is a different color. Here is how I set it up.
- A Raspberry Pi or Docker, somewhere local, to install and run the program on
- You’ll need Home Assistant, a free and open-sourced home automation solution.
- You’ll need smart plugs compatible with Home Assistant. You can check to see if your brand has been integrated or not on their integrations page. I used tp-link Kasa smart plugs and a smart power strip.
- Strobe lights, I am using 3; I purchased Roxant Pro Mini Strobe Lights
- If you want multiple lights with multiple colors, some cellophane works. I’m using cellophane bags for this purpose.
Let us begin setting up our solution:
- Install Home Assistant. Follow the Raspberry Pi installation guide or the docker container’s instructions. Bonus, you can install it on some NASes, I have mine installed on a QNAP, but they also have instructions for Synology. Both of those directions can be found here.
- Once installed — let’s set up the system, or onboarding as they call it. Don’t worry about setting up devices. We’ll do that momentarily.
- If you haven’t already, set up your smart plug(s) and connect the strobe light(s).
- Log into Home Automator if you have not already.
- Navigate to “Settings” on the bottom left, then “devices and services.”
- Search integrations for the brand of your smart plugs, then click add integration if it didn’t pop up.
- After adding it, it’ll ask what room, pick the appropriate one, or create a new one like “Office.”
- Now it’s time to add google calendar. Follow this guide. It’s lengthy but works. Follow the following three sections first within the Prerequisites “Generate Client ID and Client Secret.” Within Configuration, both Manual configuration steps” and lastly, “OAuth and Device Authorization steps.”
- You can optionally share external calendars to your google account; for example, I have shared my work calendar with my personal account.
- Go back to settings, then click on Automation and scenes
- On the bottom, click “Create Automation” and click “start with an empty automation.”
- Please give it a clever name
- Under triggers, change trigger type to a calendar
- On the following line, use the drop-down to choose the appropriate calendar.
- You can use an offset to set, for example, a 15 min warning. I’d put the offset to 15 minutes and use the before radio button to accomplish this.
- Under the “Actions” sections, click on the device and select the smart switch for your event. And for your action, set it to turn on.
- Optionally you can have it turned off after some time. To do so, click add action, set the action type to “wait for time to pass (delay),” and specify the duration, then add yet another action to turn off your device this time.
- When you are done, click save
Congrats — you’ve set up a strobe light to trigger based on an event.