# How to control a relay with the Heatit Z-temp2 and an external sensor

**URL:** <https://community.homey.app/t/how-to-control-a-relay-with-the-heatit-z-temp2-and-an-external-sensor/64393>\
**Category:** Questions & Help\
**Tags:** z-wave\
**Created:** [June 4, 2022, 7:43am UTC](https://community.homey.app/t/how-to-control-a-relay-with-the-heatit-z-temp2-and-an-external-sensor/64393 "2022-06-04T07:43:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mads\_Storkersen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mads_storkersen/32/47946_2.png) [@Mads\_Storkersen](https://community.homey.app/u/Mads_Storkersen)\
**Post date:** [June 4, 2022, 7:43am UTC](https://community.homey.app/t/how-to-control-a-relay-with-the-heatit-z-temp2-and-an-external-sensor/64393/1 "2022-06-04T07:43:25Z")

</div>

Hi,

I have a question regarding the Heatit Z-temp2.  
So I wish to control the floor heating system in my living room/kitchen through a Heatit Z-temp2. The Heatit Z-temp2 will be placed in another room (Storage room next to the living room) because I dont want the unit to be placed in my living room/kitchen.

So my plan was to use the Heatit Z-temp2 to use an external (Aquara Thermostat) wich already is installed in the living room/kitchen. And thereby control a Elko Puck relay that is controlling a set of “dumb” relays in the electrical central. The “dumb” set of relays is connected to Raychem T2 red floor heating system.

So summed up, I want to control my floor heating system as it would have been a normal floor heating thermostat, but it will not be placed in the same room that the floor heating system is installed in.

 ![Styring](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/9/39c72e16b8f1577723566f9de4bc4111a54aa6bb.png)

Do you have any thoughts on this one. Is it possible to create a flow that will work out to my problem?
