EcoLink (DW-ZWAVE2) Door/Window sensor as a water sensor?


(Carl) #1

Hi All,
I’m trying to use an EcoLink (DW-ZWAVE2) Door/Window sensor as a water sensor in my basement but having problems. I’m obviously using wires attached to the internal terminals but the device handlers that I’ve tried (see below) either don’t work or report the opposite status [“wet” when wires not touching (open circuit) and “dry” when touching (closed circuit)].

  • Z-Wave Water Sensor – detects state changes but reports opposite “wet <-> dry”
  • SmartSense Moisture – detects state changes but reports opposite “wet <-> dry”
  • SmartSense Moisture Sensor – does not detect state changes
  • Fibaro Flood Sensor – does not detect state changes
  • Fibaro Flood Sensor ZW5 – does not detect state changes
  • Everspring Flood Sensor – does not detect state changes
  • Water Sensor Capability – does not detect state changes
  • Fortrezz Wetness Sensor – does not detect state changes
  • Utilitech Flood Sensor (by tosa68) – does not detect state changes

It works flawlessly, with magnet or wires, when configuring as door/window sensor using the standard “Z-Wave Door/Window Sensor” device handler.

Is there a specific device handler that I should be using to get this working properly as a water sensor or do I need to modify one of the above handlers that “sort-of” work?

Thanks!


#2

That’s what you have to do. Another community member has already done that, and I believe made a DH for this purpose:


(Carl) #3

Thanks for the link John! Unfortunately the DH written by @eradicatore didn’t work for me. It does not detect a state change at all. His (“Z-Wave ~Water Sensor”) DH appears to be a modification to the default “Z-Wave Water Sensor” DH so that it works with a “Monoprice” sensor. I’m actually using the “EcoLink” door sensor and it apparently doesn’t work with that custom DH. I’d love to find a solution as I have several of these sensors that I’d like to deploy as water sensors…


#4

Hi @Limulus64, try this one:

https://raw.githubusercontent.com/constjs/jcdevhandlers/master/devicetypes/jscgs350/my-water-level-sensor.src/my-water-level-sensor.groovy

Change the label on line 34 to Wet and the label on line 35 to Dry.

Lines 98 and 100 could use a tweak, and the DH name on line 20. Give that a try?

EDIT: I created this one this past Christmas to let me know when my tree needed watering.


(Carl) #5

Thanks again @johnconstantelo… but still no go. It doesn’t recognize state change and just reads “Wet” (I changed line 34) whether the circuit is open or closed.

On a side note… what sensor did you have paired with that DH because I love the idea of an Xmas tree water monitor! :slight_smile:


#6

I have two set up that way using the same DH. One is a Monoprice and the other is the Ecolink (which is why I recommended trying mine).


#7

Thanks @johnconstantelo, i am still able to use your code for DH and switch the water level to dry/wet label.