Is “wait two days” equal to “wait 48 hours”? Or…


#1

Just a general question on Wait durations. Starting with the logic that “wait 120 seconds” is identical to “wait two minutes”….

How does “wait two days” work in Webcore?
Does it (a) wait 48 hours?
Or does it (b) wait until 0:00:00 of the date that is two days after today?

If (a), how do I write an expression, and/or series of commands, to produce (b) instead?


#2

Works like addHours() and addDays()

1/23/2022, 8:43:27 AM +864ms
+10ms ╔Received event [Home-C7].execute = [xxxxxx] with a delay of 27ms, canQueue: true, calledMyself: false
+45ms ║║Requesting a wake up for Tue, Jan 25 2022 @ 8:43:27 AM MST (in 172800s)


#3

So it adds 48 hours. I’ll need to work on this to figure out my wait time… specifically, I want it to wait until zero hours of two days from today, then wait until 8am. And then continue. (Tinkers….)

AHH, got it. Set variable = addhours ($midnight, 56)
Wait until time (variable)


#4

Here’s the piston. It is triggered by a Laundry Monitor smart app that’s been re-purposed. The concept is that dishes in the basement dishwasher might be forgotten, so after a couple days it will, if that dishwasher has not yet been opened after a load is cleaned, have Alexa remind us. It does that if the light strip above the kitchen sink goes ON for any reason.