How To: Setup Effects with the Red Series Smart LED Strip | Homeseer

How To: Setup Effects with the Red Series Smart LED Strip | Homeseer

Intro

The process is very similar to setting up a notification on our switch, dimmer, and fan + light. It requires you to set a configuration parameter based on an event that happens in your Homeseer install. For example, you can have the strips flash red and blue like police lights when your alarm is triggered. The “would be” criminal thinks the police have already arrived and high tail it out of there. We will show you how to do this a little later in this article. 


First, let’s outline the different types of effects that exist on this strip. They are broken down into 3 categories:


  1. Quick Effects (The same as notifications on our switch line)
  2. Custom Effects (Allows you to combine multiple colors, transitions, timing, etc. to create a customized effect)
  3. Pixel Effects (There are currently 45 pixel effects pre-programmed into the controller with some really cool animations that take advantage of the individually addressable LEDs - More will be added via firmware update based on community feedback)


Let’s go through some examples of how to implement these effects in Homeseer.


Resources

These will be used later in the article

How-to

Quick Effects

Like mentioned above, quick effects are similar to notifications on our switch line. Let’s create a simple quick effect to turn the strip flashing red when a motion sensor is triggered. To do so we need to change the value of one configuration parameter.


  1. First, go into “View, then “Events”, and click the “+” icon on the top bar.
  2. Name the automation whatever you would like. Then go down to the “Events” section.
  3. Under “Events” name the event whatever you would like and set the "IF" drop down to "A Device's Value is" and set the device as the motion sensor. 
  4. Next to "changes and becomes" select the dropdown and change it to "Motion Detected".
  5. Scroll down to the "THEN" section and choose “Z-Wave Actions”, then “Set a Configuration Parameter Value” then fill in the device data like below: 

    Choose A Device: Select the LED lightstrip
    Parameter Number: 21
    Value: 67045889
    Size: 4

    Note: To obtain the “value” for the effect you can use the “Notifications” tab of the “Dimmer” or “Fan + Light” control in the notification calculator created by our wonderful community member “Nathan Fiscus”:

    Inovelli Toolbox (nathanfiscus.github.io)

  6. That is it for the Quick Effect. Save it and you should now have the LED strip flash Red when the Inovelli motion sensor is tripped!

Custom Effects

  1. First, let’s create a custom effect in another great tool provided by the community member “Nathan Fiscus”: Inovelli LED Strip Toolbox (nathanfiscus.github.io) 
  2. In this example we will have the LED strip flash Red and Blue when an alarm is triggered. Here are my values that are output by the LED Strip Toolbox: 

    Parameter 22: 8802
    Parameter 23: 25443
    Parameter 24: 257
    Parameter 30: 255

  3. Now, go into “Configuration”, then “Automations”, and click the “+” icon in the lower right corner.
  4. Name the automation whatever you would like. Then go down to the “Triggers” section.
  5. Under “Triggers” select “State” and choose the Entity ID for the motion sensor you are going to use. In this example it is: 

    sensor.inovelli_lzw60_4_in_1_sensor_burglar_2

  6. Set the “From” line to 0 and the “To” line to 8. This sets the automation to occur when the sensor changes from an “inactive” state to an “active” state.
  7. Scroll down to the Actions section and choose “Call service”, then “zwave.set_config_parameter” then fill in the Service data like below for each parameter (22, 23, 24, 30): 

    node_id: 36
    parameter: 22
    size: 4
    value: 8802

    node_id: 36
    parameter: 23
    size: 4
    value: 25443

    node_id: 36
    parameter: 24
    size: 4
    value: 257

    node_id: 36
    parameter: 30
    size: 4
    value: 255

  8. That’s it! Save the automation and now you will scare the life out of anyone that dares to break into your home. 

Pixel Effects

  1. First, go into “View, then “Events”, and click the “+” icon on the top bar.
  2. Name the automation whatever you would like. Then go down to the “Events” section.
  3. Under “Events” name the event whatever you would like and set the "IF" drop down to "The Time Is..." and set the drop down to "Sunset". 
  4. Scroll down to the "THEN" section and choose “Z-Wave Actions”, then “Set a Configuration Parameter Value” then fill in the device data like below: 

    Choose A Device: Select the LED lightstrip
    Parameter Number: 31
    Value: 12842
    Size:2

    Note: To obtain the “value” for the effect you can calculate it by adding the two values together below:

    pixel number = 1-46. The names of the pixel effects are in the manual. Try them all out and see which one fits your needs. Here we are going to use a Christmas pixel effect. 
    pixel level = 1-99 * 256

    So if we want to do pixel effect 44 at 50% brightness we would add the following two values together:

    42
    + (50 * 256)
    = 12842

  5.  That is it for the Pixel Effect. Save it and you should now have the LED strip flash Christmas colors during the selected time frame!