Git Product home page Git Product logo

smartthings's Introduction

Welcome to Kevin LaFramboise's SmartThings Repository

Below you will find a list of the SmartApps and Device Handlers that I've created. I've included a short description of what they can do and included links to their topics in the SmartThings forum.

If you like the SmartApps and Device Handlers I've created and you would like to make a donation, please go to https://www.paypal.me/krlaframboise



SmartApps

Home Presence Manager


Simple Device Viewer

  • Allows you to easily see a list of information about your devices like battery percentages, temperatures, how long since last event, switch state, etc.
  • Receive Push and/or SMS notifications based on temperature, battery level, and/or time since last event.
  • It can automatically poll the devices at a specified interval.
  • Turn Off All Lights and/or Switches with a push of a button.
  • View Documentation in SmartThings Forum
  • View Simple Device Viewer - SmartApp Code

Simple Event Logger

  • Simple Event Logger is a fully customizable SmartApp that allows you to accurately log all device activity to a Google Sheets Spreadsheet.
  • Each event is stored on a separate row so that you have their exact time and details.
  • Google Sheets has an easy to use filter feature which allows you to do things like view all events for specific device(s), in a specified date/range and/or specific types of events like temperature.
  • Since all of your data will be stored in one spreadsheet, advanced users can easily generate pivot tables and graphs for any information they need. It also eliminates the need to update the code in multiple spreadsheets every time a new version is released.
  • View Installation Instructions and Documentation
  • View SmartThings Forum Topic
  • View Simple Event Logger - SmartApp Code
  • View Simple Event Logger - Google Sheets Web App Code

Device Type Handlers

Aeon Labs Aeotec Doorbell


Aeon Labs Multifunction Siren


Alarm Switch

  • Allows you to use any device that supports the Switch Capability as an alarm device.
  • You can set it to automatically turn off after a specified amount of time.
  • You can choose which alarm event should be raised when the alarm is activiated (strobe, siren, strobe & siren).
  • View Alarm Switch - Device Handler Code

Dome Door Sensor


Dome Door/Window Sensor Pro


Dome Leak Sensor


Dome Motion Sensor


Dome Mouser


Dome On Off Plug


Dome Siren


Dome Water Shut-Off


Ecolink Motion Sensor


Everspring Motion Detector

  • This is a device handler for the Everspring Motion Detector (HSP02)
  • Reports Motion, Battery, Tamper.
  • Allows you to set a ambient light percentage and it raises the Contact Open event when the light level drops below that percentage and motion is detected.
  • View Everspring Motion Detector - Device Handler Code

Everspring Temperature/Humidity Detector

  • This is a device handler for the Everspring Temperature/Humidity Detector (ST814-2)
  • Reports Relative Humidity, Temperature, and Battery.
  • Allows you to choose whether Humidity or Temperature is displayed as in the Things list.
  • You can change the reporting interval for Temperature/Humidity or disable it.
  • You can specify a Temperature threshold and a Humidity threshold for reporting
  • Supports Temperature and Humidity offsets
  • View Everspring Temperature/Humidity Detector - Device Handler Code

Fibaro Motion Sensor ZW5

  • This is a device handler for the Fibaro Motion Sensor ZW5 (FGMS-001)
  • Reports Motion, Light, Temperature, and Acceleration/Tamper.
  • It can also report either Earthquake magnitude or Three-Axis x,y,z.
  • Simplifies all the configuration settings.
  • View Fibaro Motion Sensor ZW5 - Device Handler Code

Fibaro Swipe

  • This is a device handler for the Fibaro Swipe (FGGC-001)
  • The device supports 16 buttons that are mapped to the gestures and sequences
  • There's a label setting for each button that gets displayed on the device details screen
  • Allows you to choose the 2-3 gestures to use for each of the 6 sequences
  • Creates the button held event when circular gestures start and button pushed event when they stop
  • Double gestures can be disabled.
  • View Documentation in SmartThings Forum
  • View Fibaro Swipe - Device Handler Code

Forcible Mobile Presence

  • Adds the buttons "Arrive" and "Depart" to the normal "Mobile Presence" DTH so you can force the presence state.
  • The default DTH doesn't appear to run locally so I'm unaware of any downsides to using this one.
  • Those buttons can really come in handy if you're locked out of your house or your alarm won't disarm because your phone gets stuck on "not present".
  • View Forcible Mobile Presence - Device Handler Code

GoControl/Linear Door/Window Sensor


GoControl/Linear Multifunction Contact Sensor

  • Advanced device handler for the GoControl/Linear Contact Sensor (WADWAZ-1) that allows you to use the internal and external sensors as different capabilities.
  • Supports the Contact Sensor, Water Sensor and Motion Sensor capabilities.
  • Choose which contact (internal/external/main) and which state (open/close) go with each of the motion and water states (wet/dry/active/inactive).
  • Choose which capability to use for the main tile.
  • Choose which capability to use for the secondary status on the main tile.
  • Choose default state to use for the capabilities that are not being used.
  • Has all the features that the basic version has like the ability to decide if the internal, external or a combination of both cause the Contact Capability to change.
  • View Documentation in SmartThings Forum
  • View GoControl/Linear Multifunction Contact Sensor - Device Handler Code

GoControl/Linear Motion Sensor

  • DTH for the GoControl/Linear Motion Sensor, Model: WAPIRZ-1
  • Automatically sets polling attribute so it can be monitored by SmartApps like the Simple Device Viewer to ensure it's stil online.
  • Supports the Tamper Alert Capability.
  • Provides offset so you can adjust the temperature
  • Provides threshold so you can prevent it from bouncing back and forth between the same 2 temperatures.
  • Allows you to set the frequency that it checks the battery
  • View Documentation in SmartThings Forum
  • View GoControl/Linear Motion Sensor - Device Handler Code

GoControl/Linear Multifunction Siren

  • DTH for the GoControl Siren, Linear Siren and possibly some other generic sirens. Models: ZM1601US / WA105DBZ-1
  • It allows you to make the alarm turn off automatically, switch between siren/strobe/both on the fly, have it automatically turn off after a specified amount of time and it also allows you to make the device beep. The custom commands can be sent to the device using he speaktext and playtext commands of the Music Player capability.
  • View Documentation in SmartThings Forum
  • View GoControl/Linear Multifunction Siren - Device Handler Code

LeakSmart Water Valve


Monoprice Z-Wave Plus Door/Window Sensor

  • This is a device handler for the Monoprice Z-Wave Plus Door/Window Sensor (Model: P/N 15270)
  • It has the setting Enable External Sensor which enables the terminals so you can attach an external sensor.
  • The device wakes up every 6 hours by default, but there's a setting for Minimum Check-in Interval (Hours) which accepts the range 1 to 167.
  • There's also a setting for Battery Reporting Interval (Hours) which accepts the same range of values.
  • When the cover of the device is opened, it raises the "tamper" event with the value "detected".
  • The setting Automatically Clear Tamper allows you to choose whether it raises the tamper clear event when the device cover is closed or if you have to press the "Refresh" button to clear it.
  • View Documentation in SmartThings Forum
  • View Monoprice Z-Wave Plus Door/Window Sensor - Device Handler Code

Polling Cree Bulb

  • DTH for the Cree Connect Bulb that fixes the problem with the official Cree Bulb DTH where it doesn't remember the last level it was set to when it's turned on.
  • It also reports at a regular interval so it can be monitored to ensure it doesn't drop offline.
  • Allows you to control the dim rate.
  • I find this version to work a lot better than the default Cree Bulb DTH and since the default version doesn't run locally, there's really no downside to using my version.
  • View Polling Cree Bulb - Device Handler Code

Polling GE Link Bulb

  • DTH for the GE Link Bulb that reports at regular intervals so you can monitor it to ensure that it hasn't dropped offline.
  • The default GE Link Bull DTH responds to poll requests and runs locally so instead of using this one, you might be better off sticking with the default and using a SmartApp like pollster or my Simple Device Viewer to poll it a couple of times a day to make sure it's still online.
  • View Polling GE Link Bulb - Device Handler Code

Remotec ZXT-310 IR Extender

  • This is a device handler for the Remotec Z-Wave-to-AV IR Extender (Model: ZXT-310)
  • The device handler provides 6 sets of 9 buttons which allows you to learn up to 54 IR Codes from other remote controls.
  • Each set of buttons can be configured to use the internal IR Port or any of the External Ports. The device has 5 external ports and comes with 3 - 6' external cables.
  • You can specify triggers for the 9 buttons. The options are Switch On, Switch Off, Switch On/Off, and Momentary Switch Push.
  • You can also push the buttons using any SmartApp that supports the Switch Level capability. Level 10% pushes button 1, 20% pushes button 2, etc.
  • The triggers and switch levels push the buttons for the active set of buttons, but to switch between the sets of buttons you need to tap the E1-E6 tiles or use a SmartApp like CoRE to execute the custom commands setActiveEP1 - setActiveEP6. Or use the optional SmartApp which will generate a separate virtual device for each set of buttons.
  • All you have to do to program a button is tap the "Learn" tile, tap the button you want to program, hold down the key on the remote control until the LED flashes twice, and then tap the "Learn" tile again.
  • View Documentation in SmartThings Forum
  • View Remotec ZXT-310 IR Extender - Device Handler Code
  • View optional SmartApp code and optional Child Device code that allow you to use this device as 6 devices.

ThingShield Timer

  • Allows you to use an external timing source, like the Arduino Uno, with the Arduino ThingShield to push a momentary switch at regular intervals.
  • It can also be used for scheduling in SmartApps so that you don't have to rely on SmartThings Scheduler. You basically tell it to push a certain button number in a certain amount of time and then subscribe to its button pushed event and in the event handler method, you check to see if the button number pushed was the one you scheduled.
  • I created this because of all the problems SmartThings had with their scheduler, but the new version of their scheduler has been stable for a while so it's probably no longer needed.
  • View ThingShield Timer - Device Handler Code

Vision/Monoprice Shock Sensor

  • This is a device handler for the Vision Shock Sensor (ZS 5101).
  • It's also a device handler for the Monoprice Shock Sensor (P/N 15269)
  • Choose between Motion and Acceleration as the capability to use for the primary status shown in the main tile which is activated by vibration.
  • Primary status automatically resets back to inactive shortly after vibration stops
  • Choose between None, Motion, Contact, Tamper and Water for the secondary status which is activated by the external sensor and/or tamper switch.
  • Once the secondary status is activated, the Refresh button needs to be tapped in order to reset it
  • View Documentation in SmartThings Forum
  • View Vision Shock Sensor - Device Handler Code

Wireless Smoke Detector Sensor


Zipato Multisound Siren


Zooz/Monoprice 4-in-1 Multisensor

  • This is a device handler for the Zooz 4-in-1 Multisensor (ZSE40).
  • It's also a device handler for the Monoprice 4-in-1 Motion Sensor with Temperature, Humidity, and Light Sensors (P/N 15902)
  • After updating the settings, pressing the button on the bottom with a paperclip will automatically apply them.
  • If you want to force all the values to refresh, tap the refresh button and then press the button on the bottom with a paperclip.
  • The device wakes up every 6 hours by default, but there's a setting for Minimum Check-in Interval (Hours) which accepts the range 1 to 167.
  • There's also a setting for Battery Reporting Interval (Hours) which accepts the same range of values.
  • When the cover of the device is opened, it raises the "tamper" event with the value "detected".
  • The setting Automatically Clear Tamper allows you to choose whether it raises the tamper clear event when the device cover is closed or if you have to press the "Refresh" button to clear it.
  • View Documentation in SmartThings Forum
  • View Zooz/Monoprice 4-in-1 Multisensor - Device Handler Code

Zooz Power Strip

  • This is a device handler for the Zooz Z-Wave Power Strip (ZEN20).
  • The 5 outlets can be controlled separately using the custom commands ch1On, ch1Off, ch2On, ch2Off, etc. This requires the use of a SmartApp that supports custom commands, like CoRE.
  • Creates Digital events when turned on/off from SmartApp and Physical events when the buttons on the power strip are pushed.
  • The Main Switch Behavior setting for each outlet determines how it responds to the switch.on/switch.off commands.
    • On/Off: Switch.on command turns it on and Switch.off command turns it off.
    • On: Switch.on command turns the outlet on, but Switch.off doesn't turn it off.
    • Off: Switch.off turns the outlet off, but Switch.on doesn't turn it on.
    • None: The outlet ignores the Switch.on and Switch.off commands.
  • The Main Switch shows "on" when ANY of the outlets with the Main Switch Behavior set to "on" or "on/off" are on.
  • The Main Switch shows "off" when ALL of the outlets with the Main Switch Behavior set to "off" or "on/off" are off.
  • Main Switch Delay setting allows the Main Switch to turn the outlets on/off gradually instead of all at once.
  • View Documentation in SmartThings Forum
  • View Zooz Power Strip - Device Handler Code

Zooz Power Switch/Zooz Smart Plug

  • This is a device handler for the Zooz Z-Wave Power Switch (ZEN15) and Zooz Z-Wave Smart Plug (ZEN06).
  • Reports Power, Energy, Voltage, and Current
  • Tracks high and low values for Power, Voltage, and Current.
  • Reports Energy Duration and Cost.
  • Creates Digital events when turned on/off from SmartApp and Physical events when the button is used.
  • Optionally display Power, Energy, Voltage, and Current events in the Recently tab.
  • View Documentation in SmartThings Forum
  • View Zooz Power Switch/Zooz Smart Plug - Device Handler Code

Zooz Smart Chime

  • This is a device handler for the Zooz Smart Chime (ZSE33).
  • Has 10 sounds that can be used as chimes or sirens
  • Has 3 volume settings that can be set for chime and siren.
  • Optionally use flashing LED for chime and siren.
  • Use device as alarm to play the siren sound, switch to play the chime.
  • Use the customChime command to play a sound by number.
  • View Documentation in SmartThings Forum
  • View Zooz Smart Chime - Device Handler Code

Zooz Water Sensor

smartthings's People

Contributors

krlaframboise avatar

Watchers

 avatar  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.