This article will walk you through how to setup custom notifications using your
Inovelli Red Series Dimmer Switch and the
LZW31-SN Device Handler. Notifications are useful if you want to have a heads up visual of an action. For example, you could have your light switch LED bar blink purple if your front door is unlocked, or chase red if your
4-1 Sensor detects motion between the hours of 10pm and 6am in the living room. It's time to let your imagination go wild!
Prerequisites
- Inovelli Red Series Dimmer Switch: LZW31-SN Switch must be installed, powered on and paired to your SmartThings Hub
- Device Handler Installed & Applied: LZW31-SN Device Handler Instructions
- Child Handler Installed: This is a special device handler that needs to be installed specifically for Notifications to work
- SmartThings (New) App: In this article, we will use the new app since SmartThings has discontinued their Classic App
Prep-Work
There are a few housekeeping points to go through prior to setting up your first notification. Hang in there, we'll have you up and impressing yourself in no time!
Installing Your Switch
Installing the Device Handler
Installing the Child Device Handler
In addition to the normal device handler, you'll need another device handler installed in order to setup notification automations. To install the child handler, please follow the instructions below:
- Open up IDE and go to "My Device Handlers"
- Then click on, "Create New Device Handler"
- Next click on, "From Code"
- Now switch tabs and go to the Switch Child Device DTH link in GitHub
- Select all code and copy it
- Go back to the IDE tab (where you're at the, "For Code" tab) and paste the code into the white box
- Scroll to the bottom of the page and click, "Create"
- Then on the next page, click, "Save"
- Do not click, "Publish" (ie: leave it as unpublished)
You're now ready to create some notifications!
Creating Notifications
Alright, let's create our first notification. In this example, we'll create a notification that alerts us when the front door is unlocked between sunset and sunrise. This is helpful if you have a dimmer switch in the bedroom and can see the notification from bed.
Notification Components
There are four (4) different components to every single notification:
- LED Effect Color: This is the color you want your notification to be
- LED Effect Level: This is the dim level you want your notification to be
- LED Effect Duration: This is how long you want your notification to last
- LED Effect Type: This is the animation you want your notification to be
NOTE: You can clear your notification manually from the switch by tapping 2x on the configuration button.
Selecting Your Notification
Once you've determined what you'd like your notification to look like, it's time to select it from within the app.
- Open up your SmartThings App
- Select your Inovelli Dimmer Switch
- Click the three dots at the top right and select, "Settings"
- Scroll down to the, "LED Notifications" section
- Select your, "Effect Color"
- Select your, "Effect Level"
- Select your, "Effect Duration"
- Select your, "Effect Type"
- Go back to the home screen (where it lists out your rooms)
NOTE: There seems to be a bug in the app that only allows you to select one setting at a time. In other words, when you select the, "Effect Color", the app won't let you select the, "Effect Level" (or anything else) until you exit out (select, "< Settings") and then go back in.
Setting up the Notification
Again, in this example, we'll be setting up a notification that alerts you when the front door is unlocked between sunset and sunrise. The notification will be a purple chase notification at 100% intensity that lasts indefinitely (until you clear it). Once you've selected the effect color, level, duration and type and you're back to the home screen, please do the following:
- Click on the three lines at the top left of the screen (to access the menu)
- Click on, "SmartApps"
- Click on the, (+) sign at the top right to add a SmartApp
- Scroll down and select, "Smart Lighting" and select it
- Click on, "New Lighting Automation"
- Click on, "Which devices do you want to control", select, "whatever you named your Inovelli Dimmer Switch (Notification 1)" and click, "Done"
- NOTE: Look for whatever you named your Dimmer Switch and then it should say, "(Notification 1)" next to it
- Leave, "What do you want to do?" as, "Turn On"
- Click on, "Select Trigger", select, "Lock" and press, "Done"
- Click on, "Which door locks?", select your lock and press, "Done"
- Click on, "Turn on when", select, "Unlocked" and press, "Done"
- Then press, "More options"
- Click on, "Only during certain times"
- Click on, "Starting at", select, "Sunset" and press, "Done"
- Click on, "Ending at", select, "Sunrise" and press, "Done"
- Press, "Next", followed by, "Next" again, and then, "Done"
That should be it!