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
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.
-
- Aeotec Doorbell GEN5
- Aeotec Doorbell 6
- Aeotec LED Bulb 6 Multi-White
- Aeotec NanoMote One
- Aeotec NanoMote Quad
- Aeotec Siren GEN5
- Aeotec Siren 6
- Aeotec TriSensor
- BeSense 360 Ceiling Sensor
- BeSense Door/Window Sensor
- BeSense PIR Wall Sensor
- 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
- Ecolink Motorized Double Rocker Switch
- Ecolink Motorized Double Toggle Switch
- Ecolink Motorized Rocker Switch
- Ecolink Motorized Toggle Switch
- Ecolink Siren
- Everspring Motion Detector
- Everspring Temperature/Humidity Detector
- Fibaro Door/Window Sensor 2
- Fibaro Motion Sensor ZW5
- Fibaro Swipe
- GoControl/Linear Door/Window Sensor
- GoControl/Linear Multifunction Contact Sensor
- GoControl/Linear Motion Sensor
- GoControl/Linear/Vision Multifunction Siren
- Hank Scene Controller
- Hank Four-Key Scene Controller
- Hank RGBW LED Bulb
- LeakSmart Water Valve
- Monoprice Shock Sensor
- Monoprice Z-Wave Plus Door/Window Sensor
- Neo Coolcam Door Sensor
- Neo Coolcam Light Switch 2CH
- Neo Coolcam Motion Sensor
- Neo Coolcam Power Plug
- Qubino Shutter Module
- Remotec ZXT-310 IR Extender
- Strips Comfort by Sensative
- Strips Drip by Sensative
- Vision Recessed Door Sensor
- Vision Shock Sensor
- Wireless Smoke Detector Sensor
- Zipato Multisound Siren
- Zooz 4-in-1 Sensor
- Zooz Double Plug
- Zooz Motion Sensor ZSE18
- Zooz Outdoor Motion Sensor
- Zooz Smart Plug
- Zooz Power Strip VER 2.0
- Zooz Power Strip
- Zooz Power Switch
- Zooz Smart Chime
- Zooz Smart Plug
- Zooz Smart Plug VER 2.0
- Zooz Water Sensor
SmartApps
Home Presence Manager
- 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
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 Multifunction Siren
- 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
Aeotec Doorbell
- 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 Aeotec Doorbell - Device Handler Code
Aeotec Doorbell 6
- This is a device handler for the Aeotec Doorbell 6 (ZW162-A)
- View Documentation in SmartThings Forum
- View Aeotec Doorbell 6 - Device Handler Code
- View Aeotec Doorbell 6 Button - Device Handler Code
Aeotec LED Bulb 6 Multi-White
- This is a device handler for the Aeotec LED Bulb 6 Multi-White (ZWA001-A)
- View Documentation in SmartThings Forum
- View Aeotec LED Bulb 6 Multi-White - Device Handler Code
Aeotec NanoMote
- This is a device handler for:
- Aeotec NanoMote One (ZWA003-A)
- Aeotec NanoMote Quad (ZWA004-A)
- Hank Scene Controller (HKZW-SCN01)
- Hank Four-Key Scene Controller (HKZW-SCN04)
- View Documentation in SmartThings Forum
- View Aeotec NanoMote - Device Handler Code
Aeotec Siren 6
- This is a device handler for the Aeotec Siren 6 (ZW164-A)
- View Documentation in SmartThings Forum
- View Aeotec Siren 6 - Device Handler Code
Aeotec TriSensor
- This is a device handler for the Aeotec TriSensor (ZWA005-A)
- View Documentation in SmartThings Forum
- View Aeotec TriSensor - Device Handler Code
BeSense Motion Sensor ZWave Plus
- This is a device handler for:
- BeSense 360 Ceiling Sensor (IX32)
- BeSense PIR Wall Sensor (IX30)
- Supports all functionality that the devices offer
- View BeSense Motion Sensor ZWave Plus - Device Handler Code
BeSense Door/Window Sensor ZWave Plus
- This is the official device handler for the BeSense Door/Window Sensor (IM20)
- Supports all functionality that the device offers
- View BeSense Door/Window Sensor ZWave Plus - Device Handler Code
Dome Door Sensor
- 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
Dome Door/Window Sensor Pro
- 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
Dome Leak Sensor
- 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
Dome Motion Sensor
- This is the official device handler for the Dome Motion Sensor (DMMS1)
- View Documentation in SmartThings Forum
- View Dome Motion Sensor - Device Handler Code
Dome Mouser
- This is the official device handler for the Dome Mouser (DMMZ1)
- View Documentation in SmartThings Forum
- View Dome Mouser - Device Handler Code
Dome On Off Plug
- 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
Dome Siren
- 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
Dome Water Shut-Off
- 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
Ecolink Motion Sensor
- 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
Ecolink Wireless Switch
- This is a device handler for:
- Ecolink Motorized Double Rocker Switch (DDLS2-ZWAVE5)
- Ecolink Motorized Double Toggle Switch (DTLS2-ZWAVE5)
- Ecolink Motorized Rocker Switch (DLS-ZWAVE5)
- Ecolink Motorized Toggle Switch (TLS-ZWAVE5)
- Reports Switch, Battery, and allows you to change the wakeup interval.
- View Ecolink Wireless Switch - Device Handler Code
Ecolink Siren
- This is a device handler for the Ecolink Siren (SC-ZWAVE5-ECO)
- The device is fully functional if selected as switch:
- Switch On: Siren On
- Switch Off: Turns Everything Off
- Set Level 10%: Chime/Beep
- Set Level 20%: Entry/Continuous Tone
- Set Level 30%: Exit/Repeating Beep
- View Ecolink Siren - Device Handler Code
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 Door/Window Sensor 2
- This is a device handler for the Fibaro Door/Window Sensor 2(FGDW-002)
- Reports Contact, Temperature, and Tamper
- View Fibaro Door/Window Sensor 2 - 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
GoControl/Linear Door/Window Sensor
- 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
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
Hank RGBW LED Bulb
- This is a DTH for the Hank RGBW LED Bulb (Model: HKZW-RGB01)
- View Documentation in SmartThings Forum
- View Hank RGBW LED Bulb - Device Handler Code
LeakSmart Water Valve
- 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
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
Neo Coolcam Door Sensor
- This is a device handler for the Neo Coolcam Door Sensor (NAS-DS02ZU / NAS-DS02ZE)
- View Documentation in SmartThings Forum
- View Neo Coolcam Door Sensor - Device Handler Code
Neo Coolcam Light Switch 2CH
- This is a device handler for the Neo Coolcam Light Switch 2CH (NAS-SC02ZU-2 / NAS-SC02ZE-2)
- View Documentation in SmartThings Forum
- View Neo Coolcam Light Switch 2CH - Device Handler Code
Neo Coolcam Motion Sensor
- This is a device handler for the Neo Coolcam Motion Sensor (NAS-PD01ZU-T / NAS-PD01ZE-T)
- View Documentation in SmartThings Forum
- View Neo Coolcam Motion Sensor - Device Handler Code
Neo Coolcam Power Plug
- This is a device handler for the Neo Coolcam Power Plug (NAS-WR02ZU, NAS-WR02ZE)
- View Documentation in SmartThings Forum
- View Neo Coolcam Power Plug - Device Handler Code
Qubino Roller Shade Controller
- This is a device handler for the Qubino DC Shutter Module (ZMNHOD3)
- View Documentation in SmartThings Forum
- View Qubino Roller Shade Controller - 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.
Strips Multi-Sensor
- This is a device handler for the Strips Comfort by Sensative and Strips Drip by Sensative
- Allows you to change the primary and secondary tiles
- Supports configuration parameters
- Reports Light, Temperature, and Water for both devices
- View Documentation in SmartThings Forum
- View Strips Multi-Sensor - Device Handler Code
Vision Recessed Door Sensor
- This is a device handler for the Vision Recessed Door Sensor (ZD2105US-5).
- View Vision Recessed Door Sensor - 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
- This is a device handler for the Wireless Smoke Detector Sensor (ZWN-SD).
- View Wireless Smoke Detector Sensor - Device Handler Code
Zipato Multisound Siren
- 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
Zooz 4-in-1 Sensor
- 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
Zooz Double Plug
- This is a device handler for the Zooz Double Plug (ZEN25)
- View Documentation in SmartThings Forum
- View Zooz Double Plug - Device Handler Code
- View Zooz Double Plug Outlet - Device Handler Code
Zooz Motion Sensor ZSE18
- This is a device handler for the Zooz Motion Sensor (ZSE18)
- Reports Motion, Acceleration, and Battery
- View Documentation in SmartThings Forum
- View Zooz Motion Sensor ZSE18 - Device Handler Code
Zooz Outdoor Motion Sensor
- This is a device handler for the Zooz Outdoor Motion Sensor (ZSE29)
- View Zooz Outdoor Motion Sensor - Device Handler Code
Zooz Power Strip VER 2.0
- This is a device handler for the Zooz Power Strip VER 2.0 (ZEN20).
- A device is created for the Power Strip and each Outlet
- Power Strip reports combined power/energy
- Outlets report power/energy
- A Component Switch is created for each USB Port and they report ON when devices plugged into them are using power. The USB Ports can not be controlled and will not appear in your device list, but they will appear in Smart Apps
- Keeps history of low and high power values
- The Power Switch device can turn on/off all outlets at the same time or you can choose a delay to use between them.
- Enable/Disable Manual Operation
- Power recovery options
- LED options
- Auto on/off intervals for each Outlet
- Power and Energy reporting intervals
- Power reporting threshold
- View Documentation in SmartThings Forum
- View Zooz Power Strip VER 2.0 - Power Strip Device Handler Code
- View Zooz Power Strip VER 2.0 - Outlet Device Handler Code
- View Zooz Power Strip VER 2.0 - USB Port Device Handler Code
Zooz Power Strip
- This is a device handler for the OLD Discontinued version of 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 Smart Plug VER 2.0
- This is a device handler for the Zooz Smart Plug VER 2.0 (ZEN06)
- View Zooz Smart Plug VER 2.0 - Device Handler Code
Zooz Water Sensor
- This is a device handler for the Zooz Water Sensor (ZSE30).
- Red LED and optional audible 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