[APP] Boolean Toolbox - Create advanced logic with simple formulas

Boolean Toolbox v1.5.0 is now available in the Homey App Store!

Replace complex flow networks with powerful logic devices controlled by dynamic formulas. Make your flows cleaner, more readable, and easier to maintain.


What’s New in v1.5.0

:hourglass_not_done: Waiter Gates (BETA)

Reactive flow cards that pause and wait for device states to change:

  • Wait until device capability becomes value (with YES/NO paths)
  • Perfect for verifying that commands actually executed
  • Auto-generated waiter IDs for easy management

→ Read Waiter Gates Documentation

:globe_showing_europe_africa: Complete Localization

All flow cards now support 12 languages: English, Norwegian, Danish, German, Spanish, French, Italian, Dutch, Swedish, Polish, Finnish, Russian

:wrench: Code Quality Improvements

Reduced logging verbosity and improved code documentation


Device Types

Logic Device - Recommended for beginners

  • Visual pairing wizard with zone/room selection
  • Single formula per device
  • State changed trigger

Logic Unit - For advanced users

  • Multiple formulas per device
  • Full JSON configuration
  • Dynamic input expansion (2-10 inputs)

Logic Unit X - Deprecated

  • Fixed input counts (2, 3, 4…10)
  • Still functional but not recommended for new setups

→ Complete Device Guide


Documentation


Installation and Links


Feedback & Support

Found a bug or have a suggestion? Please report it:

  • GitHub Issues: Report here
  • This Forum Thread: Reply below!

All feedback is greatly appreciated and helps shape the future of this app.


Support the Project

If you find Boolean Toolbox useful, consider supporting its development:

PayPal


Boolean Toolbox - Simplify complex logic in your Homey flows :high_voltage:

1 Like

[placeholder]

going to follow this! great idea. Had for myself already built out the various logic gates and how to do that in flows, but would applaud doing that easier:

Yeah, that’s why I started this project. I was sick and tired of having to think boolean in new ways. And starting out in electronics, not being able to deal with boolean logic was a bummer.

Would love to find a better action card for it, but this is making it one heck of a lot easier to create logic. And I finally have an output that will be false if the logic didn’t stick.

Please tell me if you test it with some fancy formulas. I still haven’t had time to be really creative with it yet. But I will - because now I can :wink:

I need to try this. I need to find a scenario where this would fit :thinking::grin:

F(A,B,C,D,E)=(((A∗!B)⊕(C∗B))+(D∗(A⊕E)))⊕((C+E)∗(!D+B))

Returns TRUE for the following, with all five inputs used :slight_smile:

| A | B | C | D | E |
| FALSE | FALSE | FALSE | FALSE | TRUE |
| FALSE | FALSE | FALSE | TRUE | TRUE |
| FALSE | FALSE | TRUE | FALSE | FALSE |
| FALSE | FALSE | TRUE | FALSE | TRUE |
| FALSE | FALSE | TRUE | TRUE | TRUE |
| FALSE | TRUE | FALSE | FALSE | TRUE |
| TRUE | FALSE | FALSE | FALSE | FALSE |
| TRUE | FALSE | FALSE | TRUE | FALSE |
| TRUE | FALSE | FALSE | TRUE | TRUE |
| TRUE | FALSE | TRUE | TRUE | FALSE |
| TRUE | FALSE | TRUE | TRUE | TRUE |
| TRUE | TRUE | FALSE | FALSE | TRUE |
| TRUE | TRUE | FALSE | TRUE | FALSE |
| TRUE | TRUE | FALSE | TRUE | TRUE |

why not use + for and and / for or? would be a bit more logical and readable

and what is the circle with the plus sign in it, and the !?

Usually, in electronics we use + for OR, for AND, ! for NOT and the plus in the circle for XOR. It makes sense as AND is a more powerful “addition” than OR - * is more powerful than + :slight_smile:

To make it easier to type, I’ve stuck with the +, * and ! that I’m used to. For XOR, I “created” a new easy to access sign with “^”.

EDIT: If people want to, I can probably make aliases where AND could be either & or *, OR could be | or +, and XOR could be ^ or !=

1 Like

I discovered two things the other day - my code was incomprehensible, and it didn’t work. I did a complete rehaul and pretty much made the whole thing from scratch again. The good thing now is that it works, and it’s better than the original :slight_smile:

I’ve made some more major changes and launched v1. Should be plenty of reasons to try this one instead of the 0.7 launched earlier today :slight_smile:

I’ve made an update to the version on Github and would love some feedback! I’ve added a logic device, so you can make a virtual device made up of any (I hope…) device type and capability. For most people, this should be more user friendly than the logic unit (although not as flexible).

Want to create a device that will be active when a door is open, there’s a water leak and the backyard camera is not active? Sure! Go ahead!