I’ve got a SmartThings multi attached to my front door in my apartment. The buildings fire alarm speaker/klaxon is very close by and when it goes off, it sets off the vibration sensor in the multi (going both active and inactive as the alarm goes off).
I’m trying to figure out a way to have a smartapp assess that “if vibration is active x times in x seconds, send alert.”
The best thing I can find is @tslagle13 and his sump pump monitor here: https://community.smartthings.com/t/sump-pump-monitor/6245 . Unfortunately, this only allows one iteration of the vibration active/inactive, which pretty much happens every time I open the door.
I’ve tried to figure out a way to do this with Rule Machine, but still haven’t been able to get it. Any thoughts?
Boston_B
(Bruno)
April 30, 2016, 1:03pm
2
I’m sure you can get some help here.
Been having issues with the following rule:
[image]
[image]
Or written out:
( Upstairs Temp <= 70 && temp of vent > Upstairs temp ) OR ( Upstairs temp >= 74 && temp of vent < upstairs temp )
When true, open vent, when false, close.
The problem is that it triggers maybe 50% of the time. However, if I go to look at the rule, it will say that the rule is currently true, but hasn’t attempted to open the vent. If I click “Done” it will open the vent.
This has been an ongoing issue for about a month, and I’m just wondering if there’s a way to make it work better. I’d prefer to keep it as one rule, but if for some reason breaking it up into two rules has been known to make things work better, I’ll try it out.
This is what the log looks like:
[image]
The Entity_Update is where I clicked …