# Changing thermostat temperature by + or - 1 degree

**URL:** <https://community.homey.app/t/changing-thermostat-temperature-by-or-1-degree/32154>\
**Category:** Questions & Help\
**Tags:** z-wave\
**Created:** [July 7, 2020, 9:44pm UTC](https://community.homey.app/t/changing-thermostat-temperature-by-or-1-degree/32154 "2020-07-07T21:44:36Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Bittner](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_bittner/32/16698_2.png) [@Peter\_Bittner](https://community.homey.app/u/Peter_Bittner)\
**Post date:** [July 7, 2020, 9:44pm UTC](https://community.homey.app/t/changing-thermostat-temperature-by-or-1-degree/32154/1 "2020-07-07T21:44:36Z")

</div>

I am using a remotetec zwave to Ir device to control my Airconditioner. I would like to create a virtual device that would increase to temperature setting up by one degree. I’m assuming I would need a seperate VD to decrease the temperature by 1 degree.

Does anyone know how I could do this, rather than open the device and dial the desired temperature.

My thinking is that would be the only way that I could get this included in HomeKit and be able to increase or decrease the temperature using Siri.

---

<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:** [July 8, 2020, 8:56am UTC](https://community.homey.app/t/changing-thermostat-temperature-by-or-1-degree/32154/2 "2020-07-08T08:56:08Z")

</div>

I’m not sure if I understand you correctly. Increase/decrease?  
Unfortunately, you also explain not much about the current situation and its possibilities. Therefore my approach may be completely wrong and not realizable.

You can use a virtual thermostat (App [Virtual Devices](https://homey.app/en-us/app/com.arjankranenburg.virtual/Virtual-Devices/)) to change the temperature respectively a variable via a flow.  
**If…**  
The target temperature has changed  
**Then…**  
Logic: Set variable “Temperature” (or what ever) to target temperature

With a 2nd flow you can transmit the changed variable to your IR Z-Wave device.  
**If…**  
Logic: Variable “Temperature” has changed  
**Then…**  
Set IR to “Temperature” (here I don’t know what possibilities you have!?)

I also don’t know if it works with HomeKit, you have to try it.

Which IR device do you use?

---

<div class="post-metadata">

**Author:** ![Peter\_Bittner](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_bittner/32/16698_2.png) [@Peter\_Bittner](https://community.homey.app/u/Peter_Bittner)\
**Post date:** [July 8, 2020, 8:34pm UTC](https://community.homey.app/t/changing-thermostat-temperature-by-or-1-degree/32154/3 "2020-07-08T20:34:23Z")

</div>

I am using a Remotetec Z-wave to IR controller.

Works well using the Remotetec App installed on Homey if you open the device to change parameters. What I want to do is add a virtual device to increase or decrease the target temperature by one degree, so I can turn the temp up or down without having to open the App.

I have now created a virtual thermostat. Which kind of works.

How do I create a variable to set? When I select a Logic card, then select set variable there are no variables available to set.

Peter

> ![](https://sea1.discourse-cdn.com/flex015/user_avatar/community.athom.com/fantross/45/13257_2.png "fantross") | [fantross](https://community.homey.app/u/fantross)  
> July 8 |
> 
> - | - |

I’m not sure if I understand you correctly. Increase/decrease?  
Unfortunately, you also explain not much about the current situation and its possibilities. Therefore my approach may be completely wrong and not realizable.

You can use a virtual thermostat (App [Virtual Devices](https://homey.app/en-us/app/com.arjankranenburg.virtual/Virtual-Devices/)) to change the temperature respectively a variable via a flow.  
**If…**  
The target temperature has changed  
**Then…**  
Logic: Set variable “Temperature” (or what ever) to target temperature

With a 2nd flow you can transmit the changed variable to your IR Z-Wave device.  
**If…**  
Logic: Variable “Temperature” has changed  
**Then…**  
Set IR to “Temperature” (here I don’t know what possibilities you have!?)

I also don’t know if it works with HomeKit, you have to try it.

Which IR device do you use?

---

<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:** [July 9, 2020, 7:22am UTC](https://community.homey.app/t/changing-thermostat-temperature-by-or-1-degree/32154/4 "2020-07-09T07:22:13Z")

</div>

> [@Peter\_Bittner](#):
>
> How do I create a variable to set? When I select a Logic card, then select set variable there are no variables available to set.

You have to create a variable like this in the App:

- go to More (3 Dots, in the right corner)
- Logic
- Touch the + in the upper right corner
- use the type „Number“
- create a „Name“
- Value = 0

Now you use this created variable for the flow described above.  
I hope that is understandable. Otherwise, please contact us again.

---

<div class="post-metadata">

**Author:** ![Peter\_Bittner](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_bittner/32/16698_2.png) [@Peter\_Bittner](https://community.homey.app/u/Peter_Bittner)\
**Post date:** [July 10, 2020, 8:26pm UTC](https://community.homey.app/t/changing-thermostat-temperature-by-or-1-degree/32154/5 "2020-07-10T20:26:17Z")

</div>

Thanks Dirk, I get it. I had never looked at more/Logic before.

Peter

> ![](https://sea1.discourse-cdn.com/flex015/user_avatar/community.athom.com/fantross/45/13257_2.png "fantross") | [fantross](https://community.homey.app/u/fantross)  
> July 9 |
> 
> - | - |

> ![](https://sea1.discourse-cdn.com/flex015/user_avatar/community.athom.com/peter_bittner/40/16698_2.png)Peter\_Bittner:
> 
> How do I create a variable to set? When I select a Logic card, then select set variable there are no variables available to set.

You have to create a variable like this in the App:

- go to More (3 Dots, in the right corner)
- Logic
- Touch the + in the upper right corner
- use the type „Number“
- create a „Name“
- Value = 0

Now you use this created variable for the flow described above.  
I hope that is understandable. Otherwise, please contact us again.

---

<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:** [July 11, 2020, 7:30am UTC](https://community.homey.app/t/changing-thermostat-temperature-by-or-1-degree/32154/6 "2020-07-11T07:30:49Z")

</div>

Glad to hear it.  
So the flow works as it should?

With the logic functions in combination with the variables you can realize a lot, even calculations can be done.  
The following link will give you a little tutorial:

> [@Getting Started - Logic variables](https://community.homey.app/t/getting-started-logic-variables/20132):
>
> Hi everyone, in this tutorial I will tell you about logic variables and you will learn: how to create a variable the different kind of variables and; their properties and limitations some uses cases of the different types First, let’s take a look at what Athom gave us to work with, shall we? In your app, go to the ‘more’ tab and hit ‘logic’. I already have some variables in my app, so my screen looks like this: You’ll notice I made a blue mark on the printscreen, highligh…

---

<div class="post-metadata">

**Author:** ![Peter\_Bittner](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_bittner/32/16698_2.png) [@Peter\_Bittner](https://community.homey.app/u/Peter_Bittner)\
**Post date:** [July 12, 2020, 8:29pm UTC](https://community.homey.app/t/changing-thermostat-temperature-by-or-1-degree/32154/7 "2020-07-12T20:29:22Z")

</div>

Thanks a lot. The tutorial was very good. Any other tutorials you are aware of.

I haven’t redone the flows yet but I feel confidant that I now have the tools to do that. There is so much to learn with Homey. Not long ago I was ready to give up on it, but I am now starting to get it to be working as I wanted.

---

<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:** [July 13, 2020, 6:37am UTC](https://community.homey.app/t/changing-thermostat-temperature-by-or-1-degree/32154/8 "2020-07-13T06:37:03Z")

</div>

Sounds good. 👍🏼  
Homey is probably a hobby for most people, but it shouldn’t frustrate.

There is a section [Tutorials](https://community.homey.app/c/tutorials/83), just have a look. Otherwise just ask.
