I would like to have my Google home speak something when the back door contact has been opened and not closed for 6 seconds and repeating every 6 seconds until it is closed. But if the door is closed before 6 seconds has passed, then I donāt want it to say anything.
Thanks in advanced for any help.
Start off with your condition....
Then define your rule....
Then when you get to your action true, you'll select repeat every 6 seconds with cancel on truth change and then you'll send a message to the GH device.
I assume you already have the GH device integrated with HE and you don't need help setting that up? Or do you?
Thanks for the info. I wasnāt sure how to use the delay and repeat rules. I have it working now. Still tweaking. Basically instead of me having to keep yelling at the kids to shut the door, I have automated google home to tell the kids to shut the door.
Yeah, they donāt listen to google either...
Get new kids. It is far less expensive and time consuming.
I definitely donāt think that would get a positive āwife approval factorā rating.
Yes there is that to consider.
Ask google to shut off the wi-fi until the door is closed. That's the ticket.
Or even better, for every 10 seconds the door stands open, ask google to shut off WiFi for 10 minutes...
This is fun...
@Ryan780 So I have the rule working, but it is not working 100% the way I want.
It seems that the 6 second repeat is not resetting after it is stopped. Every time the door is opened, it seems to start counting the seconds from where it left off the previous time the rule ran, so instead of the door being open for 6 seconds and then the repeat starts, it may only wait 2 seconds before it starts since the door was shut after it had waited 4 seconds the previous time before the door was closed.
Does that make sense? lol
I guess a better way of putting it is that the repeat part only seems to pause on truth change instead of stopping.
Any suggestions?
Thanks
Can you post a screenshot of the rule? It's possible that you aren't canceling the repeat.
Try putting an "End Repeat actions" at the end of your rule.
Tried that with no change.
I tried adding "stop the rule on false" and still no change.
Frustrating...
Can you post the logs showing this is happening? The timing that's occuring? You can turn on loggin within the rule.
So the timing looks like the action is starting as soon as the door is opened. I tried adding a delay for 10 seconds, but the delay doesn't seem to work.
What do you mean, "didn't work"? Don't make the delay a delayed action. Put in the action of Delay for 10 seconds before the repeat.