It was a test rule so I could try to work out why the announcment was repeating. In the logs it's telling me its repeating.
Did you try the reboot (with or without the advanced option to rebuild)?
I rebooted earlier today, & it made no difference. I guess I do the reboot with the advanced rebuild option
I did the rebuild & that hidden app is now not triggering anything so it must have been removed. I'm still getting the repeating notification evey 5 minutes even though it's not written into the new app & the old ones have been deleted.
I'm using a Water Leak sensor in my gutter to indicate if its raining. Do you think that by default it will resend that it is wet every 5 minutes setting off the App Trigger??
Check the logs when you get the notifications and see what app is sending it. Also, look to see how often the Leak Sensor is reporting wet.
If it is the new rule, and your water leak sensor is reporting wet every 5 minutes, and a wet sensor is the trigger, then yes, that is likely the issue. Basically, you would be retriggering a new instance of the rule every time your sensor reports wet.
To be honest, that is highly likely given the number of triggers and the complexity of your rule. You might try replacing the reports wet and reports dry with Leak Sensor reports changed. That might keep it from triggering on its reporting interval and looks like it might have been your intent to begin with.
Thanks for your help on this. I'd say that is what it is. The other option would be to add a Virtual device that triggers when the device is Wet & use it in the Rule instead. But I'll try your advice first as that will simplify it.
Just be aware that EVERY trigger you have will start a new instance of the rule, even if it is already running.
If you open any window, if you close them all, moisture is detected, if it becomes dry, if it is 7AM, if it is 9PM. Each trigger sets a new instance of the rule runnning (which I suspect is how you wound up with the ghost rule running in the background) That is A LOT of triggers and I am betting they are not all necessary.
You never gave a plain language, step by step of what you are trying to do.
Changing it to Reports Change & that has fixed it. Wow that was the hardest one I've had to solve & there's been a few over the years.
In rehards to the triggers I think I do need them all as the rule has to react if each of them change. Purhaps I could make the same alteration to Reports Change?
Thanks again for your help
Normally, you would use a private boolean to prevent the rule from triggering again. In this case, I think you want to basically restart the rule every time it triggers. I think inserting "Cancel Rule Timers" as the very first action might fix the having multiple instances of the rule running.
I can't tell for sure if the list of windows is the same for every conditional you have in there. If so, I can think of a few other ways to simplify a bit of this and not use opening and closing windows as a trigger for this rule.
Like:Create a "Presence" device similar to the "Rain Detected and a window is open", have a second Rule that triggers on ANY of the windows changed, IF any window is open, then "Windows Closed" Departs, if All are closed then "Windows Closed" Arrives.
Then you could use "Windows Closed" as a conditional for your notifications or even a required expression to run the rule at all.
Thanks I'll see how I can work with your suggestions
I do want to be alerted between 7am & 9pm at maybe 30 minutes intervals so we can check if any of the open windows has rain coming in, I have a virtual switch already in another rule to Pause this rule, this has to be manually switched after the winows have been checked, it turns itself off after 4 hours. The 9pm to 7am one is the tricky one as we often have visitors, I think I set it to advise twice then stop until 7am