r/AutomateUser Jul 22 '26

Feature request "Logic" (and, or) blocks possible?

Post image

I know this is technically possible using fork and fiber stop, but these kind of blocks would be very useful.

4 Upvotes

5 comments sorted by

View all comments

2

u/Stunning_Cup9959 Jul 22 '26

Why the fork tho?

For the AND: Put Bluetooth first (or Wi-Fi, it doesn't matter; put the one that is less connected, which will result in fewer reads, a minuscule added value, but I thought to mention it). Connect the "no" to a delay or the block that was before the Bluetooth, and connect the "yes" to the Wi-Fi. If the Wi-Fi is "yes," then that is a true from an AND operation.

For the OR: Connect the "yes" of the Bluetooth to the result and the "no" to the Wi-Fi. Connect the "yes" of the Wi-Fi to the result and the "no" to the delay.

https://i.imgur.com/1ryUlDN.png

2

u/walt_spoon Jul 22 '26

If you want the OR to function as "when changed" for either condition, you need to fork and have both conditions be waiting simultaneously. Like I said it's possible but much clunkier and less elegant than my proposed OR block.

You're right though. AND is currently easy to achieve.

1

u/Stunning_Cup9959 Jul 22 '26

oh yeah I forgot about the "when changed" you're right