How can I use a single press, double press or long press trigger in a flow? I have installed a Shelly 1PM 4Gen with Zigbee behind a button switch.
The Shelly 1PM is a relay module, it’s meant for sending on/off commands from Homey to the module. AFAIK relay modules don’t send the switch input state to Homey, that input is only used for allowing you to control the connected light with a physical switch as well.
Which Homey Shelly app do you use?
The official Homey Shelly app, or the Homey Shelly Control app, which is currently still in beta?
If the Shelly 1 PM Gen4 generally supports this scene activation, which I don’t know, then a flow card like this should actually be available:
However, the official Homey Shelly app doesn’t seem to support this feature for Zigbee devices. At least, I couldn’t find the necessary Flow card.
The Homey Shelly Control app provides the following flow card for the Shelly 1 PM Gen4 connected via Zigbee:
So here’s my suggestion: Please install the Shelly Control app and add the Shelly 1 PM Gen4 using this app.
If you have any further questions about the two apps, the supported devices and functions, please visit the corresponding app topics:
- [APP] Shelly - Smart solutions for every home and office
- [APP] Shelly Control - Smart home automation is that easy!
That’s not quite right. Zigbee, Z-Wave, Wi-Fi, and Matter devices do, of course, report the switch’s status to Homey. These are all bidirectional wireless protocols.
However, this doesn’t work with devices that use the 433 MHz frequency, such as those from KlikAnKlikUit/Trust Smart Home. With these devices, Homey can only send commands to the device, but not the other way around.
I meant the input state (the SW input), not the relay state. So if you would use the relay state, then you can only get single press (no double press or hold)
Yes, that’s exactly what I mean. Homey receives information from the Shelly device about whether the button was pressed once, twice, three times, or held down.
Thanks for the help and suggestions. I am indeed using the new Shelly Control app.
When checking the app information page and selecting the Shelly 1PM Gen4 - Zigbee, I see the “When…” flow cards listed in the documentation, including the ones for specific button inputs:
However, when I actually try to build a Flow in Homey Pro, the cards related to button/switch inputs (like “button was pressed”) are completely missing from the list of available triggers:
For context, here are the current device settings in Homey Pro:
To rule out the most common hardware and configuration issues: I have physically installed a momentary switch (push button). Additionally, in Shellys input/output device settings (Shelly App), I have explicitly configured the input as a “Button” and the relay type as a “Momentary switch”.
To reiterate my goal: I want to use the physical button together with Shelly 1PM Gen4 - Zigbee next to my main door to turn the hallway lights on/off with a single press (which it currently does natively without a Shelly device). With a double press, I want to trigger a Homey Flow to turn off all lights in the house.
Since the physical button and device settings are configured correctly (in my opinion), why would these Flow cards still be hidden?





