Winter Workout – An Automation

With Home Assistant on a RasPi, a Bluetooth speaker, a temp sensor, and a couple of smart plugs in a cold basement corner in Saint Louis, MO:

Begin winter workout automation:

Turn on space heater, set temp to 70 degrees.
Check temp. Is it 70? No. Loop until target of 70 is reached.
Is it 70? Yes.
Set server audio output to workout space Bluetooth speaker.
Set volume on speaker to 60%
Set lighting to 90%, randomize to a single color.
Play Battle Without Honor Or Humanity. #Random “intro song” list
Send notification to self that “Workout space is ready.”
Shuffle “workout” playlist and play after Battle…
Wait 12 minutes.
Pause “workout” playlist.
Play NPR News Now.
Play The Word of the Day. #Could randomize a list of 1-minute, fun podcasts.
Resume “workout” playlist.
Wait 12 minutes.
Set volume on speaker to 30% #Audio cue to end workout.
Wait 2 minutes.
Turn off space heater, set volume on speaker to 15%.
Wait 2 minutes.
Stop audio. Disable lighting.

End winter workout automation.

Leave a Reply

Your email address will not be published. Required fields are marked *