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 along with links to their code and topics on 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
I'm posting this code on GitHub so that anyone can use it, but this is a private repository so pull requests will be ignored. If you find a problem or want something added, please post a message on the corresponding topic in the SmartThings forum.
-
- Aeon Labs Aeotec Doorbell
- Aeon Labs Multifunction Siren
- Alarm Switch
- 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
- Everspring Temperature/Humidity Detector
- Fibaro Motion Sensor ZW5
- Fibaro Swipe
- Forcible Mobile Presence
- GoControl/Linear Door/Window Sensor
- GoControl/Linear Multifunction Contact Sensor
- GoControl/Linear Motion Sensor
- GoControl/Linear/Vision Multifunction Siren
- LeakSmart Water Valve
- Monoprice Shock Sensor
- Monoprice Z-Wave Plus Door/Window Sensor
- Polling Cree Bulb
- Polling GE Link Bulb
- Remotec ZXT-310 IR Extender
- ThingShield Timer
- Vision Shock Sensor
- Wireless Smoke Detector Sensor
- Zipato Multisound Siren
- Zooz 4-in-1 Sensor
- Zooz Smart Plug
- Zooz Power Strip
- Zooz Power Switch
- Zooz Smart Chime
- Zooz Water Sensor
- Uses Motion Sensors, Contact Sensors and Virtual Presence Sensors to keep track of the room you're in and turn on and off lights as you move throughout the house.
- View Documentation in SmartThings Forum
- View Home Presence Manager - SmartApp Code
- 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 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
- DTH for the Aeon Labs Aeotec Doorbell that allows you to use the device as a Switch, Alarm, Tone Generator, Music Player, and Audio Notification. Implements custom commands to allow you to play tracks by track number and change the volume on the fly.
- View Documentation in SmartThings Forum
- View Aeon Labs Aeotec Doorbell - Device Handler Code
- DTH for the Aeon Labs Siren that provides features like beeping, auto off, delayed alarm, beep scheduling for things like beeping during entry and exit.
- View Documentation in SmartThings Forum
- View Aeon Labs Multifunction Siren - Device Handler Code
- 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
- This is the official device handler for the Dome Door Sensor (DMWD1)
- Supports all functionality that the device offers
- View Documentation in SmartThings Forum
- View Dome Door Sensor - Device Handler Code
- This is the official device handler for the Dome Door/Window Sensor Pro (DMDP1)
- Supports all functionality that the device offers
- View Documentation in SmartThings Forum
- View Dome Door/Window Sensor Pro - Device Handler Code
- This is the official device handler for the Dome Leak Sensor (DMWS1)
- Supports all functionality that the device offers
- View Documentation in SmartThings Forum
- View Dome Leak Sensor - Device Handler Code
- This is the official device handler for the Dome Motion Sensor (DMMS1)
- View Documentation in SmartThings Forum
- View Dome Motion Sensor - Device Handler Code
- This is the official device handler for the Dome Mouser (DMMZ1)
- View Documentation in SmartThings Forum
- View Dome Mouser - Device Handler Code
- This is the official device handler for the Dome On Off Plug (DMOF1)
- View Documentation in SmartThings Forum
- View Dome On Off Plug - Device Handler Code
- This is the official device handler for the Dome Siren (DMS01)
- Supports all functionality that the device offers
- View Documentation in SmartThings Forum
- View Dome Siren - Device Handler Code
- This is the official device handler for the Dome Water Shut-Off (DMWV1)
- You can open the valve with either Valve.open or Switch.on
- You can close the valve with either Valve.close or Switch.off
- View Documentation in SmartThings Forum
- View Dome Water Shut-Off - Device Handler Code
- This is a device handler for the Ecolink Motion Sensor (PIRZWAVE2.5-ECO)
- Reports Motion, Battery, Tamper, and allows you to change the wakeup interval.
- View Ecolink Motion Sensor - Device Handler Code
- 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
- 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
- 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
- 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
- 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
- DTH for the GoControl Linear Door/Window Sensor, Model: WADWAZ-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.
- View Documentation in SmartThings Forum
- View GoControl/Linear Door/Window Sensor - Device Handler Code
- 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
- 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
- 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
- DTH for the LeakSmart Water Valve and it polls regularly so you can use a SmartApp like the Simple Device Viewer to monitor it and receive notifications if it stops reporting.
- View Documentation in SmartThings Forum
- View LeakSmart Water Valve - Device Handler Code
- 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
- 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
- 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
- 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.
- 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
- 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
- This is a device handler for the Wireless Smoke Detector Sensor (ZWN-SD).
- View Wireless Smoke Detector Sensor - Device Handler Code
- This is a device handler for the Zipato Z-Wave Indoor Multi-Sound Siren (PH-PSE02.US). It's been tested on the US version, but it should work with the EU version.
- View Documentation in SmartThings Forum
- View Zipato Multisound Siren - Device Handler Code
- This is a device handler for the Zooz 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 Documentation in SmartThings Forum
- View Zooz 4-in-1 Sensor - Device Handler Code
- 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
- 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
- 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
- This is a device handler for the Zooz Water Sensor (ZSE30).
- Red LED and optional audbile alarm when water is detected.
- Specify the first alarm beep duration, reminder beep duration, interval between beeps, and the total length of time it should send reminders.
- View Documentation in SmartThings Forum
- View Zooz Water Sensor - Device Handler Code