# Expand z-wave network via wifi

**URL:** <https://community.homey.app/t/expand-z-wave-network-via-wifi/63512>\
**Category:** Questions & Help\
**Tags:** homey-pro\
**Created:** [May 11, 2022, 9:38am UTC](https://community.homey.app/t/expand-z-wave-network-via-wifi/63512 "2022-05-11T09:38:28Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![DaneedeKruyff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daneedekruyff/32/964_2.png) [@DaneedeKruyff](https://community.homey.app/u/DaneedeKruyff)\
**Post date:** [May 13, 2022, 5:41pm UTC](https://community.homey.app/t/expand-z-wave-network-via-wifi/63512/9 "2022-05-13T17:41:40Z")

</div>

Let’s assume you have a hallway with multiple motion sensors on Homey One and want to use them on Homey Two.

Flow on Homey One

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/8/d8ae4085519c37e79a995660f13cd40651eeda41.png)  
This flow sends a HTTP Get request to the other Homey, notice the _hZoneActive?tag=0_

Flow on Homey Two

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/5/25f910a14454340ac46ca10b4b0b941429d524b2.png)  
This flow receives the _hZoneActive_ GET request and sets the _tag_ from the request in the _measure\_luminance_ value of a **Virtual Motion Sensor** and sets the _alarm\_motion_ value of that sensor to **true**

These flows handles the Motion sensor going inactive:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/b/abee5d4bedbf07967cb6dd5bee526b7ef2bc99a0.png)  
and  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/e/3e726f480cbeca394a8f94375b25f96475f1b7ce.png)

With this method the Virtual Motion Sensor on Homey Two is always in sync with the real sensor on Homey One.

I’ve used this method to move all my Zigbee devices from my ‘production’ Homey to my Development Homey so I could do a Zigbee reset (after the Zigbee rewrite) without interrupting operation. I’ve done extensive testing and found the method of keeping some Zigbee sensors on another Homey and using http communication between the two Homey’s is at least as fast and sometimes faster than moving all my devices to my production Homey.

While I did this with Zigbee devices this method can be used with any and every device your Homey(s) can support.  
Why did I use http requests with web hooks and not MQTT? It is built-in functionality, no apps needed thus no extra CPU and memory usage. (And it was supposed to be temporary 😉 )

---

_[View the full topic](https://community.homey.app/t/expand-z-wave-network-via-wifi/63512)._
