this post was submitted on 05 Jul 2023
3 points (80.0% liked)

homeassistant

11835 readers
14 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

I'm trying to improve my morning routines with Home Assistant. I have a set of Eve Motionblinds connected to Home Assistant, along with my Sonos with Alexa.

My goal is to set an alarm with Alexa, and have the Eve Motionblines raise 15-20m before the alarm goes off as a sort of sunrise alarm clock.

I've looked through the docs, but I can't figure out any way to make something like this happen. Anyone have any ideas?

you are viewing a single comment's thread
view the rest of the comments
[–] knapoc@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

There are probably multiple ways to solve this...

Here's an approach I'd choose (note that I do not use Alexa, so my knowledge about the integration's capabilities is limited):

  1. define an input datetime used as an alarm time.
  2. allow Alex to manipulate this input datetime
  3. use a template trigger to compare the current time with the defined alarm time - and yes you can do calculation; e.g., automations triggers when current time = (alarm time - 20 minutes)
  4. trigger the alarm from within home assistant by either using a delay in the same automation or use a separate automation triggered at alarm time.