# Help with shelly plusi4 spring-back button using it as a flow

**URL:** https://community.homey.app/t/help-with-shelly-plusi4-spring-back-button-using-it-as-a-flow/91309
**Category:** Flows
**Created:** [October 8, 2023, 5:30pm UTC](https://community.homey.app/t/help-with-shelly-plusi4-spring-back-button-using-it-as-a-flow/91309 "2023-10-08T17:30:48Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Peter\_Nilsson1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_nilsson1/32/79361_2.png) [@Peter\_Nilsson1](https://community.homey.app/u/Peter_Nilsson1)
#### Post date: [October 8, 2023, 5:30pm UTC](https://community.homey.app/t/help-with-shelly-plusi4-spring-back-button-using-it-as-a-flow/91309/1 "2023-10-08T17:30:48Z")

</div>

Hi

Did finally get the homey 2023 pro running on 10.0.8 , but i cant get the shelly plus i4 to work as it should .

Ive got it connected to a spring-back button , and using input 0 on the i4 with the button connected .  
I want to control a fibaro wallplug to turn on a heater when i press the button , and the next time i press the button i want to turn it off .

Both devices are in homey and seems to be working to turn on/off from homey .  
But i cant understand how the flow should look like to get it to work

Input 1 changed

or how should it look like ?

---

<div class="post-metadata">

### Author: ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)
#### Post date: [October 8, 2023, 6:22pm UTC](https://community.homey.app/t/help-with-shelly-plusi4-spring-back-button-using-it-as-a-flow/91309/2 "2023-10-08T18:22:06Z")

</div>

> [@Peter\_Nilsson1](#):
>
> shelly plus i4

Just do a simple search for Shelly plus i4.

> [@Shelly Plus i4 in Homey nur 4 Schalter?](https://community.homey.app/t/shelly-plus-i4-in-homey-nur-4-schalter/80374):
>
> Beim Shelly kann ich mit einer Taste 3 verschiedene Zustände ansteuern. 1 x kurz drücken 2 x kurz drücken 1 x lang drücken Das bei 4 Kontakten …also zusammen 12 Befehle. Bei Homey habe ich nur changed off ON Wenn ich ihn als Taster nutze kann ich also nur Changed verwenden oder wie macht man das ???

---

<div class="post-metadata">

### Author: ![Peter\_Nilsson1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_nilsson1/32/79361_2.png) [@Peter\_Nilsson1](https://community.homey.app/u/Peter_Nilsson1)
#### Post date: [October 10, 2023, 4:32am UTC](https://community.homey.app/t/help-with-shelly-plusi4-spring-back-button-using-it-as-a-flow/91309/3 "2023-10-10T04:32:51Z")

</div>

I want to have a short press to either turn on or turn off the devices ?

---

<div class="post-metadata">

### Author: ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)
#### Post date: [October 10, 2023, 9:57am UTC](https://community.homey.app/t/help-with-shelly-plusi4-spring-back-button-using-it-as-a-flow/91309/4 "2023-10-10T09:57:12Z")

</div>

You might use this card:

 ![IMG_2850](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/d/3dd8d0581a1f2520e007dc49cee57da30d2e5a3f.jpeg)
