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.

