Leaksmart Water Sensor

Same here. I hope someone builds a device handler for this pronto now that these are on a fire sale.

Same here picked up three of them at $18 each. They seem to be built well, but no go on sensing moisture!

I grabbed one also… I couldn’t get it to even be recognized by smartthings.

There is a button on the inside of the battery compartment you have to press to put the sensor in pairing mode, then smartthings will recognize it as a “Thing” when adding.

I tried that, I will give it another shot. My local Home Depot also has the 3/4" valve kit for $73. I am new to smartthings, can someone verify if the on/off function works with the samsung hub. I have been reading though the community posts and I am not very clear on it. Thanks

Someone already wrote a device handler for the valve, so you should be able to get the valve to work. As far as I know we still need someone to write a device handler for the sensor. I’m working on it, but I’ve never written one before so… Don’t hold your breath. Someone with some experience could probably make one in an hour or so.

Here is a link to the valve device handler thread.

Thanks John

interested in getting these sensors hooked up to ST as well… Bought a few earlier at $35 each… cant find any more at the $18 price…

Make sure you update the firmware through a Wink hub before using them with ST (they have a battery drain issue in the old code)

I’ve started as well. I used the SmartSense Water Sensor as a template, as it reports the temp change back to ST. The battery is reporting on refresh, although the code that calculates the percentage is off – new batteries will report “–” and show a message in the logs as the voltage is too high, probably due to differences in the batteries used in the devices. I’ve emailed leakSmart to see if I could get some technical docs for the sensor, no response yet. I am new to this as well, but from what I can see it will be subscribing to the proper cluster and parsing the correct data back. From the raw data after pairing I think I have the following as accurate:

   fingerprint inClusters: "0000,0001,0003,0020,0402,0B02,FC02", outClusters: "0003,0019", manufacturer: "Waxman", model: "leakSmartv2", deviceJoinName: "LeakSmart Sensor"

Clusters 0B02 and/or FC02…


I think I resolved the battery issue just by tweaking the getBatteryResult function.

I just modified the function to calculate for 3 1.5 volt batteries I think it was calculating for 4 in the original code.

What I’m not getting is any indication of the actual “Dry” or “Not Dry” It may be because the fingerprint is not correct, or because I don’t know what I’m doing, or a combination of the 2.

Can anyone explain what the purpose of the “shouldProcessMessage” method is?

It looks like shouldProcessMessage() takes in a zigbee cluster and checks that the profileId is not 0x0104, or the command is either 0x0B or 0x07, or the data.size is larger than 0 and the first byte of that data is 0x3e. If any of those “OR” clauses are true it returns false, otherwise it returns true.

That probably made no sense, and it probably doesn’t matter for troubleshooting… yet.
I think that method is just filtering messages to see if the devicetype is really equipped to handle it.

If you tap into the code just before the if (shouldProcessMessage(cluster) statement and dump the cluster to the log you should be able to read out everything that is being taken in from the device. I’ll see if I can capture anything useful from that.

I picked up 6 @ $18 each. I’ll make an attempt at my first zigbee device handler.


I got these on clearance at HD also but my plumber wants $250 to install the valve with a manual bypass. Seems like a cool device but I just can’t justify spending over $400 on it. I’ll take my chances with homeowners insurance :slight_smile:

That is a good price for installation. I spent double that for the same thing.

Good to know,(it’s a side job and so it wasn’t a retail price) I didn’t think it was a rip off, but rather I have bigger expenses now and don’t want to spend that on this need.

@dhelm2 / @John_Luikart - Have either of you made progress? I’ve also started but a bit stuck. I’ve never done a zigbee device before and the documentation is a bear. Still working…

I looked through the code for the smartsense moisture sensor that John_Luikart posted. Refresh is called at line 303, those two commands appear to be working to get us the necessary battery and temperature info. At the end of the refresh the code calls enroleResponse(), it looks as if this is asking the Zigbee device to subscribe to the network, perhaps this needs to be tweaked before it knows that something is listening for the lead detected events?

And then there’s configure() which is probably doing something similar but might need to have the commands adjusted.

I’m still stumped. I’m not able to get any data from the sensor except when I call “refresh” and even then it’s only temperature and battery data, nothing regarding moisture.

I understand when you connect it to a wink hub it updates the firmware which fixes a battery drain issue.
Is it possible the device needs an update before it starts reporting the moisture state?

I am also stumped. I think they use a manufacturer specific attribute.

I picked up three more at $18 at my local HD for a total of 6. It will suck big time if we can’t get them to work.