I’ve searched around for this answer, but because searching for terms like “if and” results in every post on the site coming up because someone says “if and” in a sentence, kinda hard to search.
First, I just want to say that until today, I thought CoRE and webCoRE was the same thing, just people were lazy and didn’t want to type in ‘web’ before the CoRE. Had no idea that there was a newer, much more advanced version out there. Kept seeing all these neat screenshots of people’s code and had no idea where it was coming from, so, I’m a little late to the party.
So here we go…
1) Give a description of the problem
I need to create a IF-AND, and can’t find the IF-AND option.
2) What is the expected behavior?
One device that could be operating in one more OR another mode AND a set of conditions to trigger a notification.
3) What is happening/not happening?
webCoRE is confusing me with its ifs then elses…
4) Post a Green Snapshot of the piston!
I’d love to, but I can’t create the initial piston to even test because I can’t find what I’m looking for.
5) Attach any logs (From ST IDE and by turning logging level to Full)
Squeaky creates blank piston
Squeaky creates if/or statement
Squeaky gets confused because the only other option is then / else
Squeaky rages and goes back to old CoRE and feels safe
Okay, in all seriousness, I have a few CoRE pistons that send notifications. For example, this is the old CoRE piston:
I have a couple others that will trigger other devices based on conditions of the IF / AND statements. But if webCoRE, none of this is making any sense. I’ve never been able to get groups working or real complex CoRE pistons, anything more than a simple ‘IF X happens than TURN X ON’ is beyond my comprehension.
Thanks.