# Replacing broken Z-wave sensor?

**URL:** <https://community.homey.app/t/replacing-broken-z-wave-sensor/25224>\
**Category:** Devices\
**Tags:** z-wave\
**Created:** [January 30, 2020, 3:21pm UTC](https://community.homey.app/t/replacing-broken-z-wave-sensor/25224 "2020-01-30T15:21:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_Kirkegaard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/brian_kirkegaard/32/4250_2.png) [@Brian\_Kirkegaard](https://community.homey.app/u/Brian_Kirkegaard)\
**Post date:** [January 30, 2020, 3:21pm UTC](https://community.homey.app/t/replacing-broken-z-wave-sensor/25224/1 "2020-01-30T15:21:47Z")

</div>

Hi there,

I have a broken Aeotec Multisensor 6, which just reports 30000 lumen. How do I replace this device with a new with the same brand/type without loosing the insights and having to setup all the related flows again?

Thanks,  
-Brian

---

<div class="post-metadata">

**Author:** ![Osorkon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/osorkon/32/43026_2.png) [@Osorkon](https://community.homey.app/u/Osorkon)\
**Post date:** [January 30, 2020, 3:36pm UTC](https://community.homey.app/t/replacing-broken-z-wave-sensor/25224/2 "2020-01-30T15:36:06Z")

</div>

> [@Brian\_Kirkegaard](#):
>
> How do I replace this device with a new with the same brand/type without loosing the insights and having to setup all the related flows again?

Unfortunately not possible.

---

<div class="post-metadata">

**Author:** ![Satoer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/satoer/32/38113_2.png) [@Satoer](https://community.homey.app/u/Satoer)\
**Post date:** [January 31, 2020, 10:42am UTC](https://community.homey.app/t/replacing-broken-z-wave-sensor/25224/3 "2020-01-31T10:42:53Z")

</div>

I’ve had “hanging” zigbee sensors. removing and readding the device fixed it. You loose all insights and flows though.

---

<div class="post-metadata">

**Author:** ![Jamie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jamie/32/5274_2.png) [@Jamie](https://community.homey.app/u/Jamie)\
**Post date:** [February 3, 2020, 8:16am UTC](https://community.homey.app/t/replacing-broken-z-wave-sensor/25224/4 "2020-02-03T08:16:45Z")

</div>

There is a “trick” to not loose flows, but not insights.

When you next setup your flows create separate flows for the device “action” and result. Then use those flows rather then directly calling the device. That way if you want to change the device or replace it you only have to add the new device to one flow.

Ie

Create flow which when triggered turns in a light. Then call said flow in all your other flows - same goes for The action part.

Sorry it’s much easier to just show you then explain i promise it’s an easy concept. However I don’t have a homey at the moment. Perhaps someone else will share a couple of flows which explain it.
