# Regulate flow based on outside temp

**URL:** <https://community.homey.app/t/regulate-flow-based-on-outside-temp/58267>\
**Category:** Questions & Help\
**Created:** [January 11, 2022, 9:06pm UTC](https://community.homey.app/t/regulate-flow-based-on-outside-temp/58267 "2022-01-11T21:06:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ole\_Marius\_Berg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ole_marius_berg/32/13073_2.png) [@Ole\_Marius\_Berg](https://community.homey.app/u/Ole_Marius_Berg)\
**Post date:** [January 11, 2022, 9:06pm UTC](https://community.homey.app/t/regulate-flow-based-on-outside-temp/58267/1 "2022-01-11T21:06:03Z")

</div>

Hi, I`m new to this forum so sorry if there exist something on this allready or if this is the wrong place in the forum.

I have 4 different flows to controll the temp in my apartment.  
One for the night, one for the mornings, one when I`m at the office and one for the weekends. This okay but it is a hassel to change the temp on all the devices in every flow each time the temp outside goes up or down…

So is there any way to get the app to adjust the temp on all the flows based on what the temp is outside?

is it also possible to collect the flows together or is that to much to ask?

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [January 12, 2022, 12:51am UTC](https://community.homey.app/t/regulate-flow-based-on-outside-temp/58267/2 "2022-01-12T00:51:54Z")

</div>

Something like this.

Homey has an outside temperature tag available (but you can pick a weather app, or a sensor ouside the house).

I use the Homey tag Weather - [Temperatuur °C]

> ![Screenshot_20220112-004127_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/3/73b3c4ae12f63e72b9d344f7a9dc783fc5605a91.jpeg)

First we need to create a numeric variable, I named it [OutsideTemperature\_Saved]

That way, we can make calculations and store the results in the NumVar.

Trigger flow:  
(Note the delay in the cards following a calculation card. This because the calc has to be made, and Homey doesn’t wait for an action card to be completed)

Result:

> ![Screenshot_20220112-011939_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/f/5fb732f489dfa0db63cd1e2855c50f75c1a5f73e.jpeg)

.  
An outside temperature driven flow.

.

> [@Ole\_Marius\_Berg](#):
>
> is it also possible to collect the flows together or is that to much to ask?

Not sure what you mean here

---

<div class="post-metadata">

**Author:** ![Ole\_Marius\_Berg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ole_marius_berg/32/13073_2.png) [@Ole\_Marius\_Berg](https://community.homey.app/u/Ole_Marius_Berg)\
**Post date:** [January 29, 2022, 6:44pm UTC](https://community.homey.app/t/regulate-flow-based-on-outside-temp/58267/4 "2022-01-29T18:44:27Z")

</div>

It`s a gamble to realy on a weather app as they never are 100% so think I will buy this one: [Telldus Termometer og hygrometer for Tellstick - Smarte temperatursensor | Kjell.com](https://www.kjell.com/no/produkter/smarte-hjem/smarte-sensorer/smarte-temperatursensor/telldus-termometer-og-hygrometer-for-tellstick-p50467)

Do you have that guide in english?

What I meant with the last question is that I now have 4 different flows based on the time of day and whay day it is… I`t would be great if it was possible to merge these together.

---

<div class="post-metadata">

**Author:** ![FKey](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fkey/32/14793_2.png) [@FKey](https://community.homey.app/u/FKey)\
**Post date:** [January 29, 2022, 7:56pm UTC](https://community.homey.app/t/regulate-flow-based-on-outside-temp/58267/5 "2022-01-29T19:56:55Z")

</div>

> [@Ole\_Marius\_Berg](#):
>
> So is there any way to get the app to adjust the temp on all the flows based on what the temp is outside?

If I read it well you are now setting the temperatures inside the flows?!  
I suggest to start with replacing the temperature setting with a variable. (So 1st create variables in logic, then add in the flow)  
I expect multiple devices can have the same temperature setting, so you probably need just a few variables.

This will already simplify the changing of temperature settings.

Next step can be to define set the variables using flows.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [January 29, 2022, 8:37pm UTC](https://community.homey.app/t/regulate-flow-based-on-outside-temp/58267/6 "2022-01-29T20:37:26Z")

</div>

> [@Ole\_Marius\_Berg](#):
>
> What I meant with the last question is that I now have 4 different flows based on the time of day and whay day it is… I`t would be great if it was possible to merge these together.

Ah I see. It’s a sort of mindset of many users, to try to use as little flows as possible.  
@ Homey most of the time you just need multiple flows for quite simple tasks, it is what it is.  
Some have over 800 flows, which doesn’t seem to have a great impact on performance or memory usage.  
I try to create a folder for each set of flows, or I “group” them by using a code in front of the flowname.  
`L1-4` stands for ‘category Lights’, flow 1 of 4.  
The sort system groups them together.

Example

 ![Screenshot_20220129-213648_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/5/85bace8d11e8389edce7fa21c9a1f989546638d2.jpeg)
