# Sleeping Z Wave Device Reported Offline

**URL:** <https://community.smartthings.com/t/sleeping-z-wave-device-reported-offline/185267>\
**Category:** Devices & Integrations\
**Created:** [January 28, 2020, 11:12pm UTC](https://community.smartthings.com/t/sleeping-z-wave-device-reported-offline/185267 "2020-01-28T23:12:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![suXor](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/suxor/32/97612_2.png) [@suXor](https://community.smartthings.com/u/suXor)\
**Post date:** [January 28, 2020, 11:12pm UTC](https://community.smartthings.com/t/sleeping-z-wave-device-reported-offline/185267/1 "2020-01-28T23:12:24Z")

</div>

So I am using a dry contact sensor and kiddie relay to make my networked dumb Smoke/CO detectors smart. They all work fine.

Challenge I have is that in the new ST App, when the Dry Contact sensor sleeps, it shows the device as offline. I suspect this has something to do with the DTH and it identifying as a “Smoke” sensor.

Any thoughts on how I can overcome this and get the new app to stop thinking it is offline when it sleeps?

---

<div class="post-metadata">

**Author:** ![johnconstantelo](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/johnconstantelo/32/111869_2.png) [@johnconstantelo](https://community.smartthings.com/u/johnconstantelo)\
**Post date:** [January 29, 2020, 1:25am UTC](https://community.smartthings.com/t/sleeping-z-wave-device-reported-offline/185267/2 "2020-01-29T01:25:13Z")

</div>

> [@suXor](#):
>
> Any thoughts on how I can overcome this and get the new app to stop thinking it is offline when it sleeps?

The DTH needs to be updated to include Health Check (probably a few other things too), or you can grab ST’s code for a contact sensor that’s already been updated and tweak it to look like a smoke sensor.

---

<div class="post-metadata">

**Author:** ![suXor](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/suxor/32/97612_2.png) [@suXor](https://community.smartthings.com/u/suXor)\
**Post date:** [February 2, 2020, 3:45pm UTC](https://community.smartthings.com/t/sleeping-z-wave-device-reported-offline/185267/3 "2020-02-02T15:45:34Z")

</div>

I figured as much, but the modifications I have made don’t help. Tried adding the Health Check capability, and didn’t change.

I am using Alan’s (@vseven ) DTH below:

> <https://github.com/vseven/SmartThings_VSeven/blob/master/devicetypes/vseven/modified-zwave-door-window-sensor-for-smoke.src/modified-zwave-door-window-sensor-for-smoke.groovy>
