# Heating control Fibaro motion sensor

**URL:** <https://community.homey.app/t/heating-control-fibaro-motion-sensor/72036>\
**Category:** Devices\
**Created:** [November 11, 2022, 9:06am UTC](https://community.homey.app/t/heating-control-fibaro-motion-sensor/72036 "2022-11-11T09:06:03Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathan\_Cooper](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jonathan_cooper/32/58621_2.png) [@Jonathan\_Cooper](https://community.homey.app/u/Jonathan_Cooper)\
**Post date:** [November 11, 2022, 9:06am UTC](https://community.homey.app/t/heating-control-fibaro-motion-sensor/72036/1 "2022-11-11T09:06:03Z")

</div>

Hi  
I want to control a Kasa plug to switch on my central heating pump when my Fibaro motion sensor gets below a certain temperature during certain times of the day. I have done the flow to turn on the plug at certain times when temperature is below a certain figure but it does not work! As my ideas?

---

<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:** [November 11, 2022, 9:21am UTC](https://community.homey.app/t/heating-control-fibaro-motion-sensor/72036/2 "2022-11-11T09:21:34Z")

</div>

Pls. share your flow to be able to find out if there is a possible error in the flow.

---

<div class="post-metadata">

**Author:** ![Jonathan\_Cooper](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jonathan_cooper/32/58621_2.png) [@Jonathan\_Cooper](https://community.homey.app/u/Jonathan_Cooper)\
**Post date:** [November 11, 2022, 9:58am UTC](https://community.homey.app/t/heating-control-fibaro-motion-sensor/72036/3 "2022-11-11T09:58:46Z")

</div>

[https://homey.app/f/G3Y7Ch](https://homey.app/f/G3Y7Ch)

Does this share it?

---

<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:** [November 11, 2022, 10:20am UTC](https://community.homey.app/t/heating-control-fibaro-motion-sensor/72036/4 "2022-11-11T10:20:35Z")

</div>

Yep.

The problem with this flow is the trigger card: Temperature becomes less than **22** °C  
If the temperature becomes less than **22** °C e.g. at 5:55 o’clock, the flow will not be executed, because the timeframe (6 - 9 o’clock) isn’t fulfilled. And if the temperature does not rise above 22 °C again within this timeframe and falls below 22 °C again within this timeframe, then the flow is not executed, so the plug is not switched on:  
According your flow, the temperature **must** drop from greater than 22 °C to less than 22 °C within the timeframe 6 - 9 o’clock.

Please change it like this:

**Translation**

_ **When…** _  
– The temperature changed  
_ **And…** _  
– Temperature ist less than **22**  
– The time is between **06:00** and **09:00**  
_ **Then…** _  
– Turn on

Any temperature change triggers the flow. If the temperature change is below 22 °C (e.g. from 21.5 to 21.2 °C) and the time is between 6 and 9 o’clock, the flow is executed.  
It does not matter if the temperature was already below 22 °C before 6 o’clock.

---

<div class="post-metadata">

**Author:** ![Jonathan\_Cooper](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jonathan_cooper/32/58621_2.png) [@Jonathan\_Cooper](https://community.homey.app/u/Jonathan_Cooper)\
**Post date:** [November 11, 2022, 1:16pm UTC](https://community.homey.app/t/heating-control-fibaro-motion-sensor/72036/5 "2022-11-11T13:16:58Z")

</div>

Hi thanks for the support so far.  
When I select when the temperature has changed and I select and it does not give me an option to select if temp goes below? See screenshot?  
How do I also set the flow to turn off when temp goes above 22?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/2/f2cf99536f8bac46acfefbe54d6845c01e91250f.jpeg)

---

<div class="post-metadata">

**Author:** ![Jonathan\_Cooper](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jonathan_cooper/32/58621_2.png) [@Jonathan\_Cooper](https://community.homey.app/u/Jonathan_Cooper)\
**Post date:** [November 12, 2022, 7:41am UTC](https://community.homey.app/t/heating-control-fibaro-motion-sensor/72036/6 "2022-11-12T07:41:16Z")

</div>

Hi

I have sorted it now thanks I had to alter advanced setting on Fibaro thermostat and logic for the temp change

---

<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:** [November 12, 2022, 9:36am UTC](https://community.homey.app/t/heating-control-fibaro-motion-sensor/72036/7 "2022-11-12T09:36:49Z")

</div>

In principle, no settings need to be changed on the Fibaro Motion Sensor, unless you want the temperature data to be sent to Homey more frequently.

Have you managed to create a flow when the temperature rises above 22 °C again?  
If not, please tell me the conditions for this flow.

---

<div class="post-metadata">

**Author:** ![Jonathan\_Cooper](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jonathan_cooper/32/58621_2.png) [@Jonathan\_Cooper](https://community.homey.app/u/Jonathan_Cooper)\
**Post date:** [November 12, 2022, 10:51am UTC](https://community.homey.app/t/heating-control-fibaro-motion-sensor/72036/8 "2022-11-12T10:51:35Z")

</div>

The temperature was set to change at 1 deg change

This is my flow for off  
[https://homey.app/f/wIwtHh](https://homey.app/f/wIwtHh)

---

<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:** [November 12, 2022, 11:03am UTC](https://community.homey.app/t/heating-control-fibaro-motion-sensor/72036/9 "2022-11-12T11:03:19Z")

</div>

Ok, a reporting threshold of 1 °C with a range of 2 °C is of course too little.

Your flow will not work. It can’t be between 6:00 and 8:30 **and** after 9:00 at the same time.  
I don’t know your exact requirements/conditions now, but the flow could look like this:

If you need a translation, please let me know.
