Smart Alarm Clock?

Oddly, there is an Alexa trigger in IFTTT that is started at the beginning of an alarm. Connect that to HE with a virtual switch and do what you need.


I really want something local. I doubt β€œthe cloud was down” is going to be an acceptable excuse for being late to work.


I certainly understand that.

1 Like

I've had an idea in my head for a while:

Create a dashboard with a tile which accepts a time input. When I'm ready for bed, I'd quickly punch in the time I want to wake up in the morning in this tile. My alarm time would then set a global variable which would be used as the trigger time for my alarm app.

I haven't tried building such a setup yet.

1 Like

Problem #1...that doesn't exist. :slight_smile:

Global variables cannot be a "time" (yet).

1 Like

I have been doing this in my own way, for months. Works great.

How exactly?

As @aaiyar stated this isn't really possible yet because GV can't be of type time. But, if the alarms you would want to set are pretty much pre-determined you could do something similar to this. It is kind of kludgy but it should work. If you had 5 or 10 pre-determined time slots it would be feasible. Anything more than that would be unmanageable, but possible. You could enter the time on the dashboard and have stuff happen at that time. If this is an option I'll post my thoughts. Again, it is really kludgy.

1 Like

I don't see your rule(s), but it sounds very similar to what I do.

I have a Rule with actions only. This rule is triggered by another rule at specified times based on 5 different virtual switches.

I don't have a rule yet for this but CMagnuson got me thinking. If you created a GV with a connector you could set the GV via the dashboard with a string or decimal, it really wouldn't matter. You could have a rule that is triggered by this variable changing. Within that rule you could have a series of if-then statements that would wait for events based on the value of the GV.

If GV = 0930 wait for event 09:30am. Like I said it is kludgy. It would take some playing around but it should work.

1 Like

I do something similar with GVs for alarm hour and alarm minute that I can adjust via dashboard. I then calculate that into minutes past midnight and compare it every minute to current minutes past midnight as the trigger. It works but it's very "Heath Robinson".

But I would hold fire In trying anything like it if I were you, I am pretty sure Bruce is working on a proper solution for time GVs.

1 Like

I had a similar thought but didn't want to deal with the overhead of having to constantly check it and figure out if this was set prior to or after midnight for the next morning. Bruce has mentioned time for GV's but until then we have to work with what we have.

That's a good idea.

1 Like

You could continue doing what your doing with multiple rules and just pause/unpause those rules based on the GV setting.

The "Start Morning" variable is a String Variable Connector with a tile on the dashboard.
It is not perfict but works for me.
Always interested in a better way.
Input amounts to "time past midnight" and has to be set before midnight.
I did have a version that would work anytime with any time, but I blamed it on crashing the hub, and reverted to this simpler rule.

1 Like

I appreciate all the thoughts, but unfortunately no one seems to be able to provide an idea that meets the requirements I set. When people use words like "kludgy" that is synonymous with "my wife will hate it and refuse to use it." That makes it a bad solution. I think I'll keep doing some more research into off the shelf options. I already found a few that seem promising but need more research. Thanks.


I'd like to see something like this too, but I'm OK with cooling my jets until I can set a time global variable from the dashboard. Then all sorts of possibilities would open up.

Time variables will definitely help. Right now I'm looking at a product called BEDDI which lets you call an HTTP endpoint when an alarm triggers, at least that is what their support is telling me. I'm still doing more research. $99 is a bit to spend when I'm not 100% sure it will work.

You can definitely kludge a time GV on the dashboard. It requires a bunch of back end computations in RM4. It's not difficult, just clunky. I do it to maintain timers on when the kids need to take the dogs outside again, when the vacuum will run again, and a few other such things.

Don't get me wrong -- life will get a lot better once there is a real Time GV.