Motion Lighting Apps

From Hubitat Documentation
Revision as of 14:57, 21 September 2018 by Hubipete (talk | contribs)
Jump to: navigation, search

Motion Lighting Apps offer a quick way to automate your lighting to be triggered by motion sensors or modes.


How to Create a New Motion Lighting App

  1. Open the Motion Lighting Apps in your Hubitat Web Interface
  2. Select Create New Motion Lighting App.
    300px
  3. Name your Motion Lighting rule and click continue.
    Motion1.png
  4. Click Motion Sensorsto select which motion sensors you want to trigger your lights.
    Motion2.png
  5. Click Lights to turn On to select the lights you want to activate:
    Motion3.png
  6. You will now have several choices of device types you can turn with your motion sensors, plus the option to use delay per mode:
    Use Delay Per Mode
    By default, your lights will turn off whenever motion stops being detected. This can be obnoxious if you are, say, sitting on a toilet, so you can set a delay after the last motion is detected before the lights go off. To do this, toggle the Use delay per mode switch at the top of the screen. Off delay fields will appear for each mode you have selected. Enter the number of minutes you want to delay the lights turning off.
    Set these dimmers per mode
    Select the dimmers you want to active and during which modes they will activate. You will also be asked to set the dimmer level.
    Set color temperature per mode for these bulbs
    If you have bulbs with variable color temperatures, select them here. You will also select the modes during which they will be active and what color temperature you want them to display.
    Set color per mode for these bulbs
    If you have color-changing bulbs, select them here. You will also select the modes during which they will be active and what color you want them to display.
    Push button per mode
    Select a button you would like to push when motion is activated. This will trigger whatever action you have set for the button in Buttons Controller, Rule Machine or other rule-building apps. You will also select the modes during which this will be active.
    Turn on a switches per mode
    Select which switches you would like to turn on when motion is activated. You will also select the modes during which this will be active.
    When your settings are to your liking, click Done.
  7. At this point, you have created a functional motion lighting rule with a motion trigger and some light. If that is all you want this rule to do, you can click done now to save your rule. However, if you want to add some additional options, click Options for Activate, Disable, and Enable Lights-On.
  8. Here you will be presented with a long list of options. You select as many as you want. Leave any options you don't want blank:
    Buttons to turn on lights
    Select any buttons you'd like to use to manually turn on these lights. Enter the button number into the field (enter "1" if the controller only has one button)
    Buttons to toggle on/ff
    Select any buttons you'd like to use to manually toggle the lights on and off. Enter the button number into the field (enter "1" if the controller only has one button).
    Buttons to disable on
    Select any buttons you'd like to use to disable this rule (in other words, lights will not turn on with motion after this button is pressed). Enter the button number into the field (enter "1" if the controller only has one button).
    Button to enable turning on/off
    If you selected a button to disable the rule in the above section, you'll probably want to select a button to the turn the rule back on here. Enter the button number into the field (enter "1" if the controller only has one button).
    Enable on/off at Time
    If you use a button or switch to manually disable your rule, you can use this option to automatically enable your rule at a specific time or at sunrise or sunset. This option does not turn you lights on immediately, merely enables to the rule again.
    Override for level only (default is automation suspend)
    If you only want these button options to apply to dimmer levels, click the Override for level only toggle.
    Switch to disable turning on
    Select any switches you'd like to use to disable this rule (in other words, lights will not turn on when this switch is off, even if motion is detected).
    Turn on only between two times
    Select a window of time when you would like this rule active.
    Turn on only if lux is less than this value
    Here you will select a lux sensor and select a value (1-100). The lights will only turn on if the lux value is below this level.
  9. Now that you have your on options selected, let's turn our attention to the off options by clicking on Options for Additional Sensors, Lights-Off and Off options.
  10. Again, we are presented with a series of options for controlling when the motion-activated lights will turn off. Click and edit all that apply:
    Additional Motion Sensors
    These motion sensor will not trigger the lights to turn on, but if the lights have been triggered by the primary selected sensor, they will stay on as long as this sensor is active. (Example: you can put a sensor in the shower that will not trigger the bathroom lights to turn on, but will ensure they will stay on as long as someone is in the shower).
    Additional Switches to turn off lights
    Select any switches you would like to automatically turn off when motion becomes inactive that are not already included in your rule.
    Button to Push when turned off
    Similar to switches above, select any buttons you would like to automatically turn off when motion becomes inactive that are not already included in your rule.
    Minutes to Delay before off
    Set the number of minutes you would like to delay turning off the lights following the last motion sensed. It's a good idea to set a delay of at least a minute to prevent the lights from turning off while people are still in the room.
    Buttons to turn off lights
    Select the buttons you wish to use override the motion rules and turn the lights on the lights manually.
    Switches to turn off lights
    Select the switches you wish to use override the motion rules and turn the lights on the lights manually.
    Don't turn off if already on
    If you toggle this on, any light that was already on before the motion start will not turn off when the motion stops.
    Buttons to disable off
    Select a button that will override any off automations and keep your motion lights on even if motion stops.
    Modes to disable Turning off
    Select the modes during which your lights will not turn off even when motion stops. Your motion lights will still turn on during these modes (unless you disable them in the previous section).
    Switch to disable off
    Select a switch that will override any off automations and keep your motion lights on even if motion stops.
  11. When you have selected all of your options, click Done.
  12. Enter a name you wish to control these lights using Alexa. Select a name that is clear and easy for Alexa to understand.
  13. When you are satisfied with your Motion Lighting Rule, click Done

Note: The Remove button will remove this entire rule from your app list.


How To Create A New Mode Lighting App

Mode Lighting apps work similar to Motion Lighting apps, but allow you to set lighting that is triggered by mode changes, rather than motion sensors.

  1. Open the Motion Lighting Apps and select Create New Mode Lighting App
  2. Name your Mode Lighting rule
  3. Click Lights to turn On to select lights you want controlled by this rule. The lighting options you can activate include:
    Dimmers
    When you select your dimmers you will also be asked to set the level at which you want them set.
    Pushing a Button
    This will trigger whatever action you have set for the button in Buttons Controller, Rule Machine or other rule-building apps.
    Turning on a Switch
    This will turn on whatever light or appliance is activated by the switch.
  4. Once you have selected your lights, you must select which modes you want to activate these lights. You may select as many modes as you desire. If you want different lights to activate by different modes you will need to create multiple new motion lighting rules.
  5. If you want the option to turn these lights on outside of mode changes, select Options for lights on. Select the switches you want to use to turn on the lights and click done.
  6. Options for Off gives you two choices:
    Additional Switches to Turn Off
    Here you can select switches that you’d like turned off when the mode is triggered.
    Switches (or buttons) to activate off
    Select the switches or buttons you would like to use to immediately turn off your lights, overriding your mode lighting rule.
  7. Enter a name you wish to control these lights using Alexa. Select a name that is clear and easy for Alexa to understand.
  8. When you are satisfied with your Motion Lighting Rule, click Done.

Note: The Remove button will remove this entire rule from your app list.