[Flow Help] My "Merge Fellas Unlimited Shake" loop is driving me crazy! - a modhello!

Hi everyone,

First-time poster here, and I’m really hoping for some guidance from the experts. I recently got my Homey Pro and I’m loving it, but I’ve hit a wall with what seems like a simple Flow.

My Goal:
I’m trying to merge the triggers from a group of sensors. I have a few contact sensors on my windows and a motion sensor in the garage. I call them my “window fellas” and “garage fella”. I want a single push notification sent to my phone if any of these sensors are triggered.

The Problem:
It works… but a little too well. When one of the sensors is triggered, my phone starts getting push notifications non-stop. It enters an unlimited shake of notifications and I have to disable the Flow to make it stop. It’s like I’ve created an infinite loop somewhere.

Here is my setup:

  • Flow 1: Sensor Trigger

    • WHEN… The motion sensor alarm turns on
    • OR… Any of the contact sensor alarms turn on
    • THEN… Run HomeyScript “Send Notification”
  • My HomeyScript (“Send Notification”):
    I thought maybe a simple script would be cleaner. The code is basically just this:

    // The script is supposed to send one single notification
    await homey.notifications.createNotification({
      excerpt: 'Alert: One of the "fellas" was triggered!'
    });
    
    // I also tried adding a logic card here to re-enable the flow after a delay,
    // thinking it was a timing issue, but that made it worse.
    
    return true;
    

I suspect the problem is how the “WHEN… OR…” card interacts with the script, or maybe I’m fundamentally misunderstanding how flows re-arm themselves. I’ve tried adding delays, using logic variables to check if a notification was already sent, but nothing seems to prevent the loop.

It feels like a really basic mistake, but I’ve been staring at it for hours. Any ideas on what I’m doing wrong?

Thanks in advance for your help!

Can you share your flow?

By the way: there is a dedicated flow card for sending push notifications. Either to a specific user or all users. No need for a script :grinning:.

For instance, this example ‘merges’ two triggers (door sensor alarm and motion sensor alarm) and sends a push notification when either of them occurs.

1 Like