SmartThings Community

WebCore code help


(Aldo) #1

HI, any expert in WebCore that can help me? I am trying to get a message only if the power of my TV outlet is greater than 10W for at least 2 minutes and then it decrease to less than 10W. I think the code in my picuture should work but actually I am getting notifications even when I am sure the conditions are not met.


( I hate Mondays) #2

Drops below 10 and was over 10 for at least 2 min


(Aldo) #3

that is what you mean that the code is doing/checking right?? well that condition is actually not being true because my tv outlet is always below 10 (I have been tracking the “recently” in the TV outlet thing) but anyways I am getting the notification. Is there a way to debug or see what the webcore is “reading” to take the condition as true ??