Skip to content

marcelomanzo/SmartThings

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

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 Wireless Z-Wave Plus Siren


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

Monoprice/Zooz Z-Wave Plus 4-in-1 Multisensor

  • This is a device handler for the Monoprice Z-Wave Plus 4-in-1 Motion Sensor with Temperature, Humidity, and Light Sensors (P/N 15902)
  • It's also a device handler for the Zooz Z-Wave 4-in-1 Sensor (ZSE40)
  • 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 Monoprice/Zooz Z-Wave Plus 4-in-1 Multisensor - 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

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

Zipato Multisound Siren


Zooz Z-Wave 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 Z-Wave Power Strip - Device Handler Code

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Groovy 98.6%
  • JavaScript 1.1%
  • Other 0.3%