# \[App\]\[Pro\] FlowBits — Small bits of logic, big difference in your Flows

**URL:** <https://community.homey.app/t/app-pro-flowbits-small-bits-of-logic-big-difference-in-your-flows/145855>\
**Category:** Apps\
**Tags:** tools, flow, dashboard, advancedflow, widget\
**Created:** [November 24, 2025, 7:00pm UTC](https://community.homey.app/t/app-pro-flowbits-small-bits-of-logic-big-difference-in-your-flows/145855 "2025-11-24T19:00:30Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![BasMilius](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/basmilius/32/146560_2.png) [@BasMilius](https://community.homey.app/u/BasMilius)\
**Post date:** [November 24, 2025, 7:00pm UTC](https://community.homey.app/t/app-pro-flowbits-small-bits-of-logic-big-difference-in-your-flows/145855/1 "2025-11-24T19:00:30Z")

</div>

> **[FlowBits | Homey](https://homey.app/en-nl/app/com.basmilius.flowbits/FlowBits/)**
>
> Small bits of logic, big difference in your Flows.

**Simplify your flows with FlowBits**

FlowBits is a utility app for Homey that helps you structure, control, and extend your flows without adding any new device types. Everything is defined directly within your flows, giving you full flexibility.

Work in progress documentation is available at [https://flowbits.nl](https://flowbits.nl)

## Features

**Step sequences**  
Count upwards within defined boundaries. Useful for giving simple switches multiple functions or scenes.

**Flags**  
Create feature toggles for your home, such as a “vacation” state or other global switches.

**Modes**  
Define common household states—morning, evening, night, etc.—and use them to influence flow behavior.

**No-repeat windows**  
Prevent an action from running again within a specified time window. Ideal for multi-scene light switches or preventing accidental repeats.

**Timers**  
Straightforward timers that can be managed directly in your flows.

## Usage

FlowBits does not introduce any new devices. All functionality is created and managed through Flow cards.  
Need a new mode? Simply define it in one of the mode-related cards.  
Need a new flag? Add it via the flag cards.  
Everything is dynamic and entirely under your control.

## Widgets

FlowBits provides several Homey widgets for quick interaction:

**Current Mode** – Shows your home’s active mode.  
**Modes** – Lists all defined modes and lets you switch between them.  
**Flags** – Lists all defined flags and allows toggling them.  
**Flag On/Off** – Shows a single flag with a quick on/off switch.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/4/048b2139fc8aab79b4152f5cc2477b5f51f26ece.jpeg)

---

<div class="post-metadata">

**Author:** ![Henrik\_Johnsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henrik_johnsson/32/13707_2.png) [@Henrik\_Johnsson](https://community.homey.app/u/Henrik_Johnsson)\
**Post date:** [November 25, 2025, 1:05pm UTC](https://community.homey.app/t/app-pro-flowbits-small-bits-of-logic-big-difference-in-your-flows/145855/2 "2025-11-25T13:05:15Z")

</div>

I’m starting to try this and while still early days, I see a definite potential for cleaning up my flows and to also replace 2-3 other apps.

First a few questions.  
Am I right in understanding that there can only be one set of modes?  
Is there a way to see the state of modes, flags and timers when I don’t have a dashboard? (Good for debugging, even better if there’s a way to edit the state)

What I would love to see is a possibility to use text values. A named set with When/And/Then flow cards acting on text values would be powerful. Today I use one app to indicate that a set has entered a specific state, and a text variable to hold the name of the state. If this app would allow me to trig on something like When set “X” becomes value “Y” it would consolidate those two in a similar way to flags/modes but there would be more flexibility in how to set the value.

Also, there are some minor things that can be made clearer.  
In the post above it mentions “cycles”, but in the flow cards I believe it is called “sequence”.  
It would be nice to somewhere describe the times that correspond with the different values for “Day period”.

---

<div class="post-metadata">

**Author:** ![BasMilius](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/basmilius/32/146560_2.png) [@BasMilius](https://community.homey.app/u/BasMilius)\
**Post date:** [November 25, 2025, 6:34pm UTC](https://community.homey.app/t/app-pro-flowbits-small-bits-of-logic-big-difference-in-your-flows/145855/3 "2025-11-25T18:34:36Z")

</div>

Thanks for the reply!

_Am I right in understanding that there can only be one set of modes?_ Yes, the intention of modes is that you define common behavior in your house.

_Is there a way to see the state of modes, flags and timers when I don’t have a dashboard?_ Not in any UI at the moment, but I am planning to display them in app settings eventually. You can however use HomeyScript to fetch that information, using the following example:

```javascript
const app = await Homey.apps.getApp({id: 'com.basmilius.flowbits'});
const statistics = await app.get({path: '/statistics'});

console.log(`Current mode: ${statistics.currentMode}`);
console.log(`Active flags: ${statistics.currentFlags.join(', ')}`);

```

Regarding the suggestion for named text values with flow cards, I’ll look into it. I had a similar idea, but it did not make it into a release, yet.

For day periods, I discussed this with some of my friends and came up with these:

```typescript
export default function (date: DateTime): DayPeriod {
    if (date.hour >= 5 && date.hour < 12) {
        return 'morning';
    }

    if (date.hour >= 12 && date.hour < 17) {
        return 'afternoon';
    }

    if (date.hour >= 17 && date.hour < 22) {
        return 'evening';
    }

    return 'night';
}

```

I am working on a documentation website, which is far from done and needs a bunch more examples, but you can view the work-in-progress version at [https://flowbits.nl](https://flowbits.nl).

---

<div class="post-metadata">

**Author:** ![Jeroen\_Marijke\_Looye](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroen_marijke_looye/32/117871_2.png) [@Jeroen\_Marijke\_Looye](https://community.homey.app/u/Jeroen_Marijke_Looye)\
**Post date:** [November 27, 2025, 8:44pm UTC](https://community.homey.app/t/app-pro-flowbits-small-bits-of-logic-big-difference-in-your-flows/145855/4 "2025-11-27T20:44:45Z")

</div>

Maybe it would be an idea to be able to set the ‘parts of the day’ using a flow. Then you could trigger the times with an alarm clock, but also with sunrise or sunset. I personally would appreciate this. For example, I could set it so that it only becomes ‘night’ when we go to sleep; otherwise, I’m already sitting in the dark a bit too early :-)”

---

<div class="post-metadata">

**Author:** ![Wim\_Post](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wim_post/32/56793_2.png) [@Wim\_Post](https://community.homey.app/u/Wim_Post)\
**Post date:** [November 27, 2025, 9:27pm UTC](https://community.homey.app/t/app-pro-flowbits-small-bits-of-logic-big-difference-in-your-flows/145855/5 "2025-11-27T21:27:02Z")

</div>

> [@Jeroen\_Marijke\_Looye](#):
>
> Maybe it would be an idea to be able to set the ‘parts of the day’ using a flow.

It’s already possible: THEN-card ‘activate mode’

You only have to create a mode ‘getting ready for bed’ and ‘Fam. Looye is asleep ‘

---

<div class="post-metadata">

**Author:** ![Niclas](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/niclas/32/13339_2.png) [@Niclas](https://community.homey.app/u/Niclas)\
**Post date:** [November 28, 2025, 11:19am UTC](https://community.homey.app/t/app-pro-flowbits-small-bits-of-logic-big-difference-in-your-flows/145855/6 "2025-11-28T11:19:11Z")

</div>

Hi!

This is a great app :-). I think a lot of my flows can be improved using this.

One thing I miss is a generic WHEN-card that trigger when mode is changed. Today there is a WHEN-card for when a specific mode is activated and inactivated.  
Related to that card it would be great if there was a mode tag that specify what mode was changed into.

---

<div class="post-metadata">

**Author:** ![BasMilius](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/basmilius/32/146560_2.png) [@BasMilius](https://community.homey.app/u/BasMilius)\
**Post date:** [November 28, 2025, 6:57pm UTC](https://community.homey.app/t/app-pro-flowbits-small-bits-of-logic-big-difference-in-your-flows/145855/7 "2025-11-28T18:57:06Z")

</div>

@Niclas Thanks! There’s an update available in test now that has a new “When the current mode changes” card and a tag containing the mode.

---

<div class="post-metadata">

**Author:** ![Niclas](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/niclas/32/13339_2.png) [@Niclas](https://community.homey.app/u/Niclas)\
**Post date:** [November 28, 2025, 9:47pm UTC](https://community.homey.app/t/app-pro-flowbits-small-bits-of-logic-big-difference-in-your-flows/145855/8 "2025-11-28T21:47:22Z")

</div>

@BasMilius Wow. Impressive! Thanks a lot!

---

<div class="post-metadata">

**Author:** ![BasMilius](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/basmilius/32/146560_2.png) [@BasMilius](https://community.homey.app/u/BasMilius)\
**Post date:** [December 1, 2025, 10:41am UTC](https://community.homey.app/t/app-pro-flowbits-small-bits-of-logic-big-difference-in-your-flows/145855/9 "2025-12-01T10:41:06Z")

</div>

That update is now live 🙂

---

<div class="post-metadata">

**Author:** ![Henrik\_Johnsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henrik_johnsson/32/13707_2.png) [@Henrik\_Johnsson](https://community.homey.app/u/Henrik_Johnsson)\
**Post date:** [December 1, 2025, 11:36am UTC](https://community.homey.app/t/app-pro-flowbits-small-bits-of-logic-big-difference-in-your-flows/145855/10 "2025-12-01T11:36:12Z")

</div>

Not sure if I’m doing anything wrong, but I can’t find the mode tag.  
(Version 1.6.12 running on Homey Pro 2019 with FW 12.9.0)

---

<div class="post-metadata">

**Author:** ![BasMilius](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/basmilius/32/146560_2.png) [@BasMilius](https://community.homey.app/u/BasMilius)\
**Post date:** [December 1, 2025, 1:18pm UTC](https://community.homey.app/t/app-pro-flowbits-small-bits-of-logic-big-difference-in-your-flows/145855/11 "2025-12-01T13:18:26Z")

</div>

It’s only available when using the “The current mode changed” trigger. A global token might be useful though…

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/4/f4fa1c61e898a571ee6ba8f75e24b3745c9ec50c.jpeg)

---

<div class="post-metadata">

**Author:** ![Henrik\_Johnsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henrik_johnsson/32/13707_2.png) [@Henrik\_Johnsson](https://community.homey.app/u/Henrik_Johnsson)\
**Post date:** [December 1, 2025, 2:09pm UTC](https://community.homey.app/t/app-pro-flowbits-small-bits-of-logic-big-difference-in-your-flows/145855/12 "2025-12-01T14:09:10Z")

</div>

Ah, rookie mistake.  
This is exactly what I was trying to do, but I hadn’t connected the two cards. As soon as I did, the tag became available.

---

<div class="post-metadata">

**Author:** ![Dricus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dricus/32/16461_2.png) [@Dricus](https://community.homey.app/u/Dricus)\
**Post date:** [December 1, 2025, 4:34pm UTC](https://community.homey.app/t/app-pro-flowbits-small-bits-of-logic-big-difference-in-your-flows/145855/13 "2025-12-01T16:34:17Z")

</div>

Just discovered this app. So much potential. Already deleted Countdown with this app. One thing I missed is ‘If timer xxxx is not running’. I couldn’t switch the ‘If timer xxxx is running’. Not a big issue.

Gonna explore the possibilities.

---

<div class="post-metadata">

**Author:** ![BasMilius](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/basmilius/32/146560_2.png) [@BasMilius](https://community.homey.app/u/BasMilius)\
**Post date:** [December 2, 2025, 8:34am UTC](https://community.homey.app/t/app-pro-flowbits-small-bits-of-logic-big-difference-in-your-flows/145855/14 "2025-12-02T08:34:04Z")

</div>

@Dricus Thanks for the reply! There’s an update available in test now where I’ve added the ability to invert these flow cards.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/1/f1ecc56c12ce4d0f333c2fa0d4d413e2770c6976.png)

---

<div class="post-metadata">

**Author:** ![Henrik\_Johnsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henrik_johnsson/32/13707_2.png) [@Henrik\_Johnsson](https://community.homey.app/u/Henrik_Johnsson)\
**Post date:** [December 2, 2025, 9:11am UTC](https://community.homey.app/t/app-pro-flowbits-small-bits-of-logic-big-difference-in-your-flows/145855/15 "2025-12-02T09:11:21Z")

</div>

Me again. I think I’ve identified a bug in relation to when notifications to the timeline are disabled.  
In that case I’m not able to activate a mode.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/3/7306beeee727095d9ec328e2bd6260aa5d3f2e69.png)

---

<div class="post-metadata">

**Author:** ![BasMilius](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/basmilius/32/146560_2.png) [@BasMilius](https://community.homey.app/u/BasMilius)\
**Post date:** [December 2, 2025, 11:40am UTC](https://community.homey.app/t/app-pro-flowbits-small-bits-of-logic-big-difference-in-your-flows/145855/16 "2025-12-02T11:40:57Z")

</div>

~~I see! I’ll fix it tonight, should be fairly straightforward.~~

Edit: Fix is live

---

<div class="post-metadata">

**Author:** ![deejayreissue](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/deejayreissue/32/81912_2.png) [@deejayreissue](https://community.homey.app/u/deejayreissue)\
**Post date:** [December 4, 2025, 11:07pm UTC](https://community.homey.app/t/app-pro-flowbits-small-bits-of-logic-big-difference-in-your-flows/145855/17 "2025-12-04T23:07:07Z")

</div>

Looks like a great app.

Any chance of including a card that can read a percentage value increase over a set time frame?

---

<div class="post-metadata">

**Author:** ![BasMilius](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/basmilius/32/146560_2.png) [@BasMilius](https://community.homey.app/u/BasMilius)\
**Post date:** [December 5, 2025, 10:46am UTC](https://community.homey.app/t/app-pro-flowbits-small-bits-of-logic-big-difference-in-your-flows/145855/18 "2025-12-05T10:46:56Z")

</div>

How would that work exactly?

Maybe two cards for remembering a value and another card to calculate the increase over a time frame and use Homey Insights as a store for those values.

---

<div class="post-metadata">

**Author:** ![BasMilius](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/basmilius/32/146560_2.png) [@BasMilius](https://community.homey.app/u/BasMilius)\
**Post date:** [December 8, 2025, 10:03am UTC](https://community.homey.app/t/app-pro-flowbits-small-bits-of-logic-big-difference-in-your-flows/145855/19 "2025-12-08T10:03:28Z")

</div>

@Henrik_Johnsson I’m happy to announce that version 1.7 of FlowBits is just released with a feature called labels. These are essentially just key-value pairs and should cover your text variable use case.

---

<div class="post-metadata">

**Author:** ![Henrik\_Johnsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henrik_johnsson/32/13707_2.png) [@Henrik\_Johnsson](https://community.homey.app/u/Henrik_Johnsson)\
**Post date:** [December 10, 2025, 10:52am UTC](https://community.homey.app/t/app-pro-flowbits-small-bits-of-logic-big-difference-in-your-flows/145855/20 "2025-12-10T10:52:16Z")

</div>

Sweet! For me this was the missing piece.

After running a bit in parallel with my old configuration I have now migrated all lighting flows to use labels, flags and timers from this app and retired a couple of other apps.  
In my setup I have flows that handle various inputs (lux, astro, buttons, motion, time etc) to generate events and then there are a flow for each zone that subscribe to relevant events to control the lights. Previously I relied heavily on the excellent Flow Event Bus app, but it only offered a way to distribute events so I had to use variables to keep track of states.  
Soon I will need to implement a smarter handling of energy and I’m sure this app will be helpful in that.

Also, the initiative to write documentation for the app is highly commendable. I’m sure many useful apps are more or less forgotten because users never figured out how to use them.

[Next page](https://community.homey.app/t/app-pro-flowbits-small-bits-of-logic-big-difference-in-your-flows/145855.md?page=2)
