I would like to request that Power sensors be included in the list of sensors available in the Notifications app. It seems to be fairly common wanting to be notified about power related events that last for a certain duration. Just a couple of examples:
Freezer stops working (e.g. Power=0 for more than 15 minutes)
Sump Pump overrun (e.g. Power>10 for more than 5 minutes)
I know I can test for these conditions in RM, but the Notifications App is nice and easy for checking the duration and repeating notifications until condition ends and it would be nice to be able to use it for Power related events as well as the existing temperature, battery level, and other similar things.
Also, is there a way to enable info logging for the Notifications app? I don't see it.
Power reporting does seem to be the one thing missing from all Apps except RM. I have a couple of things I would like to do depending on power levels, but I’m still using SmartThings for them... Not sure I want to get to grips with RM just for a couple of cases.
Whilst I absolutely agree with you, it does seem odd that it’s the one and only trigger missing from both Basic and Simple Automations, with the exception of humidity! I can set a trigger on, say, lux being greater than 200, but not on power being greater than 200. Just my two penn’orth...
However, I guess I used the wrong sensors as examples (temperature and battery). I pulled those off the top of my head and didn't mean for you to emulate those two specifically. I was hoping the power conditions would include this option...
It seems like most of the other sensors (contact, vibration, presence, switch, valve, etc.) have that option and I didn't realize the two examples I pulled out of the air don't have that option and now the new Power sensor doesn't have it either. Sorry my bad on picking those two
I'm thoroughly impressed that you added it so quickly but would it be possible, pretty please to add the "For how long?" option to the power test as well
My Freezer example is a case where I would need this "for how long" test. The freezer power regularly cycles on/off during the day. I only want to get notified if its off for a long enough time (not every time it cycles on/off)
Also, your RM example with the Washing Machine is another good case for adding the "for how long" option. Often Washing Machine have soak cylces with little to no power usage before spinning again. we don't want a notification while its 'soaking' at 0 (or very low) power. The notification needs to wait "for how long" before deciding the full cycle is done and not just pausing for a soak
Thanks again for looking into this and providing an update so quickly
I hate to bug him to answer how the logic flows in his RM code,
do you understand the use of the timeout with the IF conditional test right below?
The triggering event is a loss of power,
the wait for condition is for a return of power,
if it comes back then the flow continues and
the power level is tested again with the IF ?
The timeout allows the flow to proceed after 15 and hit the IF no matter what.
Seeking to follow what he's done for tutoring purposes.