Can't quite understand how to compare statements


#1

1) Give a description of the problem
I am trying to check if a sensor’s power goes below a state I would call Idle.

2) What is the expected behavior?
If DryerWatts<Idle… do something

3) What is happening/not happening?
Statement tests as false when using “Stays”

4) Post a Green Snapshot of the pistonimage
(UPLOAD YOUR IMAGE HERE)

5) Attach any logs (From ST IDE and by turning logging level to Full)
(PASTE YOUR LOGS HERE BETWEEN THE MARKS THEN HIGHLIGHT ALL OF THE LOGS SND CLICK ON THE </> ICON TO FORMAT THEM)

REMOVE BELOW AFTER READING


#2


These are the only options I see for comparisons.


#3

Looking at the Device Handler. The variable is an attribute and not a capability. Is there a work around?


#4

Many people compare watts under the category power like this:

You may get inspiration from this thread as well.


#5

Thanks.
I think I need to find out how what device handler they are using. The one I have doesnt list them as “power” categories unless its combining them both. - which isnt helpful


#6

Can you look and see what choices you have that do not have the little house icon in front?

temp

You will have more comparison choices available to you if you select something without that icon.


#7

I have overall power stats like total power use without a house icodn

Unfortunately I can’t seem to get the house icons to work even with the conversion from string.to numeric.

Any other ideas? Helps appreciated


#8

That is what I was trying to say. Use a parameter without the house icon.


#9

I tried that but those items don’t help with my objective.

My objective is to alert when the washer or dryer finishes. All items without the house are the sum of washer and dryer


#10

Oh, I have never seen two devices combined like that… I would be tempted to turn a few of those data points into fuel streams for a few cycles… I bet you will see a pattern that is easy to match.