Help with a flow - Node Red - understanding boolean and ultimate boolean node

I can't tell if it's what you want.. but THIS does:

"Cans" must be OFF. "On" blocks most everything else.

I altered the "Is True" to use a Regex to watch for EITHER "active" or "on"...

Another way to do something similar is to use a Change node to make the ONE exception into the same as everything else.

I change payload.value from "on" to 'inactive and from "off" to "active" then the single "Is Active" can do it all.

2 Likes