# Double press or long press Shelly 1PM 4Gen in Homey Pro

**URL:** <https://community.homey.app/t/double-press-or-long-press-shelly-1pm-4gen-in-homey-pro/158087>\
**Category:** Flows\
**Tags:** zigbee, homey-pro\
**Created:** [August 9, 2026, 6:52pm UTC](https://community.homey.app/t/double-press-or-long-press-shelly-1pm-4gen-in-homey-pro/158087 "2026-08-09T18:52:30Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheDudelidude](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/thedudelidude/32/168498_2.png) [@TheDudelidude](https://community.homey.app/u/TheDudelidude)\
**Post date:** [August 9, 2026, 6:52pm UTC](https://community.homey.app/t/double-press-or-long-press-shelly-1pm-4gen-in-homey-pro/158087/1 "2026-08-09T18:52:31Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![smarthomesven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smarthomesven/32/79712_2.png) [@smarthomesven](https://community.homey.app/u/smarthomesven)\
**Post date:** [August 9, 2026, 7:23pm UTC](https://community.homey.app/t/double-press-or-long-press-shelly-1pm-4gen-in-homey-pro/158087/2 "2026-08-09T19:23:56Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [August 10, 2026, 11:18am UTC](https://community.homey.app/t/double-press-or-long-press-shelly-1pm-4gen-in-homey-pro/158087/3 "2026-08-10T11:18:16Z")

</div>

Which Homey Shelly app do you use?  
The official Homey [Shelly](https://homey.app/a/cloud.shelly/) app, or the Homey [Shelly Control](https://homey.app/a/cloud.shelly.control/test/) 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:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/8/d8159dc6f90226b11ef005ffb468dc4db5e6c947.png)

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:

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

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](https://community.homey.app/t/a/765)
- [[APP] Shelly Control - Smart home automation is that easy!](https://community.homey.app/t/a/152695)

* * *

> [@smarthomesven](#):
>
> 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.

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.

---

<div class="post-metadata">

**Author:** ![smarthomesven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smarthomesven/32/79712_2.png) [@smarthomesven](https://community.homey.app/u/smarthomesven)\
**Post date:** [August 10, 2026, 11:56am UTC](https://community.homey.app/t/double-press-or-long-press-shelly-1pm-4gen-in-homey-pro/158087/4 "2026-08-10T11:56:42Z")

</div>

> [@DirkG](#):
>
> 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.

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)

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [August 10, 2026, 12:09pm UTC](https://community.homey.app/t/double-press-or-long-press-shelly-1pm-4gen-in-homey-pro/158087/5 "2026-08-10T12:09:01Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![TheDudelidude](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/thedudelidude/32/168498_2.png) [@TheDudelidude](https://community.homey.app/u/TheDudelidude)\
**Post date:** [September 10, 2026, 11:06am UTC](https://community.homey.app/t/double-press-or-long-press-shelly-1pm-4gen-in-homey-pro/158087/6 "2026-09-10T11:06:08Z")

</div>

Thanks for the help and suggestions. I am indeed using the new Shelly Control app.

When checking the [app information page](https://homey.app/en-us/app/cloud.shelly.control/Shelly-Control/) and selecting the **Shelly**  **1PM Gen4 - Zigbee** , I see the “When…” flow cards listed in the documentation, including the ones for specific button inputs:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/3/63cce57ce199ab4da3a154c8f06aa9d9484b7578.jpeg)

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:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/5/35cf86b4aa16ad7e6eaa3aef3bbdc89284579a40.jpeg)

For context, here are the current device settings in Homey Pro:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/6/866c345432d2438e524ab9687231390a49ac034f.png)

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?

---

<div class="post-metadata">

**Author:** ![TheDudelidude](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/thedudelidude/32/168498_2.png) [@TheDudelidude](https://community.homey.app/u/TheDudelidude)\
**Post date:** [September 10, 2026, 6:11pm UTC](https://community.homey.app/t/double-press-or-long-press-shelly-1pm-4gen-in-homey-pro/158087/7 "2026-09-10T18:11:37Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/6/86299b1681302e39f00be6a8d5252afe2eb4e998.png)

---

<div class="post-metadata">

**Author:** ![Murray\_McMillan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/murray_mcmillan/32/79472_2.png) [@Murray\_McMillan](https://community.homey.app/u/Murray_McMillan)\
**Post date:** [September 17, 2026, 5:27pm UTC](https://community.homey.app/t/double-press-or-long-press-shelly-1pm-4gen-in-homey-pro/158087/8 "2026-09-17T17:27:42Z")

</div>

I am using a Shelly 2PM Gen4 with my Homey Pro 2023 and have decoupled one of the inputs so I can use it independently of the output. I have the 2PM connected via ZigBee to provide a relay for ZigBee devices that is fast and reliable. The 2PM also remains connected via wifi. For the decoupled input, as you mention there is no flow card support, but I use a web hook configured using the Shelly app that communicates over wifi with the Homey Pro and this provide an instant response and has worked reliably to trigger a flow.

The Shelly has web hook events available for double press and long press if the switch input is set to momentary. I have not tried this, but I believe you could achieve your objectives using the existing feature set by using web hooks.
