Giter VIP home page Giter VIP logo

st-leaksmart-sensor's Introduction

ST-leakSmart-Sensor

Summary

This SmartThings device handler has been modified for Hubitat Platform

Installation via GitHub Integration

  1. Open SmartThings IDE in your web browser and log into your account.
  2. Click on the "My Device Handlers" section in the navigation bar.
  3. Click on "Settings".
  4. Click "Add New Repository".
  5. Enter "ericvitale" as the namespace.
  6. Enter "ST-leakSmart-Sensor" as the repository.
  7. Hit "Save".
  8. Select "Update from Repo" and select "ST-leakSmart-Sensor".
  9. Select "leaksmart-sensor.groovy".
  10. Check "Publish" and hit "Execute".

Manual Installation (if that is your thing)

  1. Open SmartThings IDE in your web browser and log into your account.
  2. Click on the "My Device Handlers" section in the navigation bar.
  3. On your Device Handlers page, click on the "+ Create New Device Handler" button on the right.
  4. On the "New Device Handler" page, Select the Tab "From Code" , Copy the "leaksmart-sensor.groovy" source code from GitHub and paste it into the IDE editor window.
  5. Click the blue "Create" button at the bottom of the page. An IDE editor window containing device handler template should now open.
  6. Click the blue "Save" button above the editor window.
  7. Click the "Publish" button next to it and select "For Me". You have now self-published your Device Handler.

Pairing the Device

This device is a bit interesting to get it to pair. I've seen a few scenarios happen. Here is what I generally do:

  1. Get your ST app into pairing mode.
  2. Open the battery cover and remove one of the batteries.
  3. Hold down the button insert the battery. Immediatly unpress the button and you should get a long beep (1 second).
  4. Wait a second and then long press the button 2-3 seconds, after that it should start beeping and be discovered by ST. If it is not discovered by ST, try again. If still not discovered, press the button a few times quickly.
  5. ST should find it quickly once in pairing mode. If after you setup the device on ST it is still beeping, something went wrong. Delete the device from ST and reset it (hold the button for 5+ seconds, sometimes you have to do this more than once) and start over.

Compatibility Mode

There is an optional setting in the device configuration. If you are having issues getting it to report wet/dry, try enabling compatibility mode.

Acknowledgements

This code is by no means 100% all my work. This device handler is the work of @ericvitale, @dhelm2, @John_Luikart, & @krlaframboise.

st-leaksmart-sensor's People

Contributors

ericvitale avatar macwoodworking avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.