Skip to content

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


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.



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


Aeotec Doorbell


Aeotec Doorbell 6


Aeotec LED Bulb 6 Multi-White


Aeotec NanoMote


Aeotec Siren 6


Aeotec TriSensor


BeSense Motion Sensor ZWave Plus


BeSense Door/Window Sensor ZWave Plus


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

EVA LOGIK In-Wall Smart Dimmer


EVA LOGIK In-Wall Smart Switch


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


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


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



HomeSeer Fan Controller (HS-FC200+)


HomeSeer Floodlight Sensor GEN2 (HS-FLS100-G2)


HomeSeer Indicator Light Sensor (HS-FS100-L)


HomeSeer Motion Sensor (HS-MS100+)


HomeSeer Multi-Sensor (HSM200)


HomeSeer Perimeter Water Sensor (HS-FS100-W)


HomeSeer Wall Dimmer (HS-WD200+)


HomeSeer Wall Switch (HS-WS200+)

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

Neo Coolcam Door Sensor


Neo Coolcam Light Switch 2CH


Neo Coolcam Motion Sensor


Neo Coolcam Power Plug


Neo Coolcam Siren


Qubino Roller Shade Controller


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.

Sensative Strips Comfort


Sensative Strips Drip


Vision Recessed Door Sensor


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


Zooz Double Switch


Zooz Motion Sensor ZSE18


Zooz MultiRelay


Zooz Multisiren


Zooz Outdoor Motion Sensor


Zooz Outdoor Motion Sensor VER 2.0


Zooz Power Strip VER 2.0


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 Remote Switch ZEN34

  • This is a device handler for the Zooz Remote Switch (ZEN34).
  • Reports Battery
  • Supported Button Actions: down, down_hold, down_2x, down_3x, down_4x, down_5x, up, up_hold, up_2x, up_3x, up_4x, up_5x
  • Settings: LED Indicator Mode, Lower Paddled LED Indicator Color, Upper Paddled LED Indicator Color
  • Association Group 2 for direct On/Off control of other devices
  • Association Group 3 for direct Dimming control of other devices
  • View Documentation in SmartThings Forum
  • View Zooz Remote Switch ZEN34 - Device Handler Code

Zooz RGBW Dimmer


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

  • This is a device handler for the Zooz Scene Controller (ZEN32).
  • The main device is a switch for the large button, it has all the non-button related settings, and it creates child button devices for the 4 small buttons.
  • All 5 buttons support the button and LED features listed below which can all be used in Automations. The child devices have their own association settings.
  • Button Actions: Pressed, Held, Pressed 2 times, Pressed 3 times, Pressed 4 times, Pressed 5 times
  • LED Colors: White, Blue, Green, Red
  • LED Brightness:Bright (100%), Medium (60%), Low (30%)
  • LED Mode: LED On When Off, LED On When On, LED Always Off, LED Always On
  • Basic Set Association Group
  • Switch Multilevel Start/Stop Level Change Association Group
  • Both handlers are required
  • View Documentation in SmartThings Forum (COMING SOON)
  • View Zooz Scene Controller - Device Handler Code
  • View Zooz Scene Controller Button - Device Handler Code

Zooz Smart Plug VER 2.0


Zooz Universal Relay

  • This is a device handler for the Zooz Universal Relay (ZEN17).
  • Supports all of the device's configuration parameters
  • Main device is a switch that controls the relays together.
  • Creates a child switch for each relay
  • When the "Input Trigger" is disabled for a Relay the input and relay act as separate devices.
  • Creates a child device for the relay's input when its "Input Type" setting is set to Water Sensor, Motion Sensor, Contact Sensor, Smoke Detector, or On/Off Report. The device ignores the "Input Trigger" setting for Momentary, Toggle, and Garage Door so those input types will not create a child device.
  • View Documentation in SmartThings Forum (COMING SOON)
  • View Zooz Universal Relay - Device Handler Code

Zooz Water Sensor


Zooz ZEN21 On/Off Switch VER. 4.0

  • This is a device handler for the Zooz On/Off Switch VER 4.0 (ZEN21)
  • Minimum supported firmware is 3.04
  • Supports all configuration parameters
  • Supports creating device associations
  • Supports button events down, down_hold, down_released, down_2x, down_3x, down_4x, down_5x, up, up_hold, up_released, up_2x, up_3x, up_4x, up_5x
  • View Zooz ZEN21 On/Off Switch VER. 4.0 - Device Handler Code

Zooz ZEN22 Dimmer VER. 4.0

  • This is a device handler for the Zooz Dimmer VER. 4.0 (ZEN22)
  • Minimum supported firmware is 3.07
  • Supports all configuration parameters
  • Supports creating device associations
  • Supports button events down, down_hold, down_released, down_2x, down_3x, down_4x, down_5x, up, up_hold, up_released, up_2x, up_3x, up_4x, up_5x
  • View Zooz ZEN22 Dimmer VER. 4.0 - Device Handler Code

Zooz ZEN26 S2 On/Off Switch VER. 3.0

  • This is a device handler for the Zooz S2 On/Off Switch VER. 3.0 (ZEN26)
  • Minimum supported firmware is 2.03
  • Supports all configuration parameters
  • Supports creating device associations
  • Supports button events down, down_hold, down_released, down_2x, down_3x, down_4x, down_5x, up, up_hold, up_released, up_2x, up_3x, up_4x, up_5x
  • View Zooz ZEN26 S2 On/Off Switch VER. 3.0 - Device Handler Code

Zooz ZEN27 S2 Dimmer VER. 3.0

  • This is a device handler for the Zooz S2 Dimmer VER. 3.0 (ZEN27)
  • Minimum supported firmware is 2.08
  • Supports all configuration parameters
  • Supports creating device associations
  • Supports button events down, down_hold, down_released, down_2x, down_3x, down_4x, down_5x, up, up_hold, up_released, up_2x, up_3x, up_4x, up_5x
  • View Zooz ZEN27 S2 Dimmer VER. 3.0 - Device Handler Code

Zooz ZEN71 700 Switch

Zooz ZEN72 700 Dimmer


Zooz ZEN76 700 S2 Switch


Zooz ZEN77 700 S2 Dimmer

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages