0 votes

Hi again!

As I now successfully get decimal values to variables from IFTTT, I'm having problems using them in sequences. I am trying to set a ventilation boost when shower humidity is higher than indoor humidity, but the sequence always exits at the comparison "if showerHumidity is above livingroomHumidity", even though shower humidity is higher.

Ideally what I would want to compare (and what I originally tried) is "if showerHumidity is above livingroomHumidity + 5", so that a small difference won't trigger the boost. 

My guess would be that the decimal values are being treated like strings in the comparison, and that's why it doesn't work.

Below are pictures of the variables, the sequence, and its log.

Thank you for this great service!

BR.

Fredrik

in Sequence help by
Hi Fredrik, I think you're right and it's probably not considering them as numbers when doing the comparison. I'll take a closer look but may not be able to get to it until the weekend. I'll post back here once it's fixed.

1 Answer

0 votes
Best answer

Hi Fredrik, I've done some testing and confirmed it is actually comparing decimal values correctly.

Looking more closely at your sequence, when comparing one variable with another variable, you need to enclose the second variable in sequare brackets.  So, in the second step of your sequence you should have:

If showerHumidity is above [livingroomHumidity], then...

Give that a go and let me know if the sequence is working as expected.

by (10.4k points)
selected by
Thank you for your help! Now my sequence seems to work.
That's great!
Do you need help using SEQUEmatic? Search here or post a question, and one of our experts will respond to you as soon as possible.
84 questions
88 answers
247 comments
22 users