# Turn on Shelly Plug when heating is active

**URL:** <https://community.homey.app/t/turn-on-shelly-plug-when-heating-is-active/62011>\
**Category:** Questions & Help\
**Tags:** flow, homey-pro\
**Created:** [March 23, 2022, 9:37pm UTC](https://community.homey.app/t/turn-on-shelly-plug-when-heating-is-active/62011 "2022-03-23T21:37:27Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![PJ\_2020](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pj_2020/32/44261_2.png) [@PJ\_2020](https://community.homey.app/u/PJ_2020)\
**Post date:** [March 23, 2022, 9:37pm UTC](https://community.homey.app/t/turn-on-shelly-plug-when-heating-is-active/62011/1 "2022-03-23T21:37:27Z")

</div>

Hi, I would like to turn on my Shelly Plug when my rooted Toon starts heating.

I’ve connected my floor heating system to the Shelly Plug and would like to start running the pump only when the heating is active. I’ve already setup some flows to spin up the pump every twelve hours for 15 minutes to keep it from rusting/jamming.

Open-Toon does not seem to have a trigger ‘when heating starts’

Can someone help me out?

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [March 23, 2022, 10:47pm UTC](https://community.homey.app/t/turn-on-shelly-plug-when-heating-is-active/62011/2 "2022-03-23T22:47:19Z")

</div>

Isn’t there a card with something like “The target temperature changed”?

---

<div class="post-metadata">

**Author:** ![PJ\_2020](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pj_2020/32/44261_2.png) [@PJ\_2020](https://community.homey.app/u/PJ_2020)\
**Post date:** [March 24, 2022, 5:05am UTC](https://community.homey.app/t/turn-on-shelly-plug-when-heating-is-active/62011/3 "2022-03-24T05:05:29Z")

</div>

Yes there is, but a higher temp is also a change…

Ideally there should me something like ‘if heater is active…’

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [March 24, 2022, 9:06am UTC](https://community.homey.app/t/turn-on-shelly-plug-when-heating-is-active/62011/4 "2022-03-24T09:06:21Z")

</div>

You said that the plug should be activated when heating is on. Correct?  
Do you have something like the measured temperure? With Toon or an other connected temperature meter? If so.  
WHEN target temperature changed  
AND target temperature is \> then measured temperature  
THEN turn on plug

Fot the AND card you need a logic card.

---

<div class="post-metadata">

**Author:** ![PJ\_2020](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pj_2020/32/44261_2.png) [@PJ\_2020](https://community.homey.app/u/PJ_2020)\
**Post date:** [March 24, 2022, 9:23am UTC](https://community.homey.app/t/turn-on-shelly-plug-when-heating-is-active/62011/5 "2022-03-24T09:23:31Z")

</div>

Didn’t think of that!  
I’ll see if I can figure that out.

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [March 24, 2022, 9:41am UTC](https://community.homey.app/t/turn-on-shelly-plug-when-heating-is-active/62011/6 "2022-03-24T09:41:37Z")

</div>

And maybe you yave to stop the other flow at that moment because he stops the flow after 15 minutes.  
And activate the flow when the heating is ready.

You also have to make another flow if the plug starts when the temperature is changed. He has also have to stop after a x time.

When you heve started the flow that the temperature has changed and the plug goes on you can in the THEN card add Start a flow(plug on)

Make another card named plug on  
WHEN this flow has started  
THEN turn plug of after 1 hour.  
Or whatever time you want.

---

<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:** [March 24, 2022, 10:57am UTC](https://community.homey.app/t/turn-on-shelly-plug-when-heating-is-active/62011/7 "2022-03-24T10:57:52Z")

</div>

> [@PJ\_2020](#):
>
> Ideally there should me something like ‘if heater is active…’

Do you know if there is a capability for this (Developer → Devices)?

I don’t know Toon, but my wall thermostats also switch between “heat” and “don’t heat”. Unfortunately, there are also no trigger cards for this.  
But in such a case that there are capabilities available and no flow cards, you can use the app [Device Capabilities](https://homey.app/en-us/app/nl.qluster-it.DeviceCapabilities/Device-Capabilities/).

---

<div class="post-metadata">

**Author:** ![PJ\_2020](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pj_2020/32/44261_2.png) [@PJ\_2020](https://community.homey.app/u/PJ_2020)\
**Post date:** [March 25, 2022, 8:59am UTC](https://community.homey.app/t/turn-on-shelly-plug-when-heating-is-active/62011/8 "2022-03-25T08:59:45Z")

</div>

I think I’ve got it, without creating a manual Logic Card.

It’s like this now;

IF  
The Temperature has changed  
AND  
‘Ingestelde temperatuur’ (set temperature)  
is more than  
‘Temperatuur’ (measured temp by Toon itself)  
THEN  
Turn on Shelly Plug

Both Logic Cards are provided by OpenToon.  
I didn’t know I could click on tag icon 😅
