Difference between revisions of "Motion Lighting Apps"

From Hubitat Documentation
Jump to: navigation, search
(Rebuilt Motion Lighting document to reflect updates and changes)
(Added page redirect)
(Tags: New redirect, Visual edit)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
Motion Lighting Apps offer a quick way to automate your lighting to be triggered by motion sensors or modes. The setup for Motion Lighting and Mode Lighting apps are slightly different.
+
#REDIRECT [[Motion and Mode Lighting Apps]]{{DISPLAYTITLE:Motion and Mode Lighting Apps}}
  
===Installing the Motion Lighting apps===
+
__NOTOC__
 
 
#From the Hubitat Web Interface select '''Apps'''[[File:Install Built-In App 2.0.png|none|thumb|600x600px]]
 
#Choose Motion Lighting Apps from the list of Hubitat Elevation<sup>®</sup> Built-In Apps[[File:Install Motion Lighting Apps.png|none|thumb|600x600px]]
 
 
 
===Creating a Motion Lighting App===
 
 
 
#Open the Motion Lighting Apps in your Hubitat Web Interface
 
#Select '''Create New Motion Lighting App...'''[[File:Create new motion lighting app.png|none|thumb|600x600px]]
 
#Name your Motion Lighting rule and press '''Continue'''[[File:Naming Motion lighting app.png|none|thumb|600x600px]]
 
#Select '''Motion Sensors''' to choose which motion sensors should trigger your lights. Check all that apply and press '''Update'''.[[File:Motion Lighting select motion sensors v2.png|none|thumb|600x600px]]
 
#Select the '''Lights to turn On''' when motion is detected. If you would like different settings per mode (i.e. Day, Night, Away, etc), enable the '''Use settings per mode option.'''[[File:Motion lighting - selecting lights v3.png|none|thumb|600x600px]]
 
#You will now have several choices of device types you can turn '''On''' with your motion sensors.[[File:Motion Lighting - Select devices for ON v2.png|none|thumb|600x600px]]
 
#:'''Set these dimmers'''
 
#:Select the dimmers you want to active. You will also be asked to set the dimmer level.
 
#:'''Set color temperature for these bulbs'''
 
#:If you have bulbs with variable color temperatures, select them here. Choose what color temperature you want them to emit.
 
#:'''Set color for these bulbs'''
 
#:If you have color-changing bulbs, select them here and what color you want them to be.
 
#:'''Push button'''
 
#:Select a button you would also like Motion Lighting to push when motion is activated. This will trigger whatever action you have set for the button in Button Controllers, Rule Machine<sup>®</sup> or other apps.
 
#:'''Turn on a switches'''
 
#:Select which switches you would like to turn '''On''' when motion is activated.
 
#:'''Activate Scenes'''
 
#:Select the scenes you would like to turn '''On''' when motion is activated.
 
#If you enable the option '''Use settings per mode?''', you will be able to specify which modes will be applicable for '''Lights to turn On''' .[[File:Motion Lighting - Select devices per mode for ON.png|none|thumb|600x600px]]
 
#*'''NOTE:''' ''Once you select the option for '''Use settings per mode''', the motion lighting rule must now have the modes specified for each device to turn on. If you later decide you do not want to turn lights on per mode, then a new Motion Lighting child app must be created.''
 
#*:
 
#*:'''Set these dimmers per mode'''
 
#*:Select the dimmers you want to active and for which modes. 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. Choose 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. Select the modes during which they will be active and what color you want them to be.
 
#*:'''Push button per mode'''
 
#*:Select a button you would also like Motion Lighting to push when motion is activated. This will trigger whatever action you have set for the button in Button Controller, Rule Machine<sup>®</sup> or other apps. Select the modes for which this will be active.
 
#*:'''Turn on a switches per mode'''
 
#*:Select which switches you would like to turn '''On''' when motion is activated and select the modes for which the switches will be active.
 
#*:'''Select Scenes per mode'''
 
#*:Select the scenes you would like to turn '''On''' when motion is activated. You can select a different scene for each mode.
 
#When finished setting up your Motion Lighting app, press the '''Done''' button.
 
 
 
====Setting Options for Activate, Disable, and Enable Lights-On====
 
You have now created a functional motion lighting child app, with a motion trigger and some lights. If you want to add some additional options, choose '''Options for Activate, Disable, and Enable Lights-On'''.
 
 
 
#You will be presented with a list of options and may select as many as you want, leaving any options you don't want blank.[[File:Motion Lighting active and disable options v2.png|none|thumb|705x705px]]
 
#:'''Buttons to turn on lights'''
 
#:Select any buttons you'd like to use to manually turn '''On''' your specified lights. Enter the button number into the field (enter "1" if the controller only has one button). If you only define a button to turn '''On''' the light, turning the light '''Off''' will be handled solely by motion sensor activity.
 
#:'''Buttons to toggle on/off'''
 
#: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 turning on'''
 
#:Select any buttons you'd like to use to disable this motion lighting child app and prevent the lights from turning '''On''' with motion when pressed. This is helpful to prevent lights from turning ''on'' in a bedroom, for example. 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 child app, you can re-enable it with a different button. This is different from '''Buttons to toggle on/off''', which simple toggles the light '''On''' or '''Off''' without affecting the motion sensor input. Defining a button here will allow the motion lighting child app to once again respond to your defined motion sensor(s). Enter the button number into the field (enter "1" if the controller only has one button).
 
#:'''Switches to turn on lights'''
 
#:Select any switches you'd like to use to manually turn ''on'' your specified lights. If you only define switches to turn '''On''' the light, turning the light '''Off''' will be handled solely by motion sensor activity.
 
#:'''Contact sensors to turn on lights'''
 
#:Select any contact sensors you'd like to use to turn '''On''' your specified lights. If you only define contact sensors to turn '''On''' the light, turning the light '''Off''' will be handled solely by motion sensor activity.
 
#:'''Enable on/off at Time'''
 
#:If you use a button, switch or contact sensor to manually disable your motion lighting child app, you can use this option to automatically re-enable at sunrise, sunset or a specific time. This option does not turn your lights '''On''' immediately, it merely re-enables the motion lighting child app at a specified time, so it will once again respond to motion.
 
#:'''Enable override with dimmer level change''' '''(defaults is disabled)'''
 
#:Turn on this option if you want to be able to manually set lights low or bright, without the motion lighting settings overriding your manual dimmer setting when motion is detected. '''NOTE:''' When this option enabled alone, it will prevent a motion inactive from turning the lights '''Off''' and stop additional motion active events from changing the dimmer level if you manually adjusted it.
 
#:[[File:Motion Lighting - Options for Enable override with dimmer.png|none|thumb|600x600px]]
 
#:'''Override for level only? (Will still turn off)'''
 
#:If this option is enabled, motion active events will not change your manual dimmer level settings, but when no motion is detected, the lights will still turn '''Off''' when the specified time has elapsed.
 
#:'''Use physical level change for override?''' '''(Default is any level change)'''
 
#:Enable this option for restricting level change override to physical dimmer changes only. Some smart dimmers may also report as they ramp up, thus causing an override and preventing a motion sensor from turning lights off. Selecting '''Use physical level change for override''' can prevent this from occurring.
 
#:'''Switch to disable turning on'''
 
#:Select any switches you'd like to use to disable this child app so lights will not turn '''On''' when the specified switches are ''on'', even if motion is detected.
 
#:'''Contacts to disable turning on'''
 
#:Select any contact sensors you'd like to use to disable this child app so lights will not turn '''On''' when the specified contacts active, even if motion is detected.
 
#:'''Don't turn on if turned off manually'''
 
#:When enabled, the motion sensor will not turn the light '''On''' until there is no longer motion detected and the motion sensor has returned to an inactive state. This will prevent the motion sensor from turning lights immediately '''On''' again in situations where, after manually turning lights off via a button, switch or contact sensor, your movement may activate a motion sensor before you have the chance to leave a room.
 
#:'''Do turn on if already on'''
 
#:This option forces a motion sensor event to turn the light '''On''', even if the Motion Lighting app events indicate the light is already '''On''' due to influence from an another app or controls on a remote bridge that may have caused the reported state to be out of sync with the lights.
 
#:'''Turn on only between two times'''
 
#:Select a window of time when you would like your motion lighting child app to be active.
 
#:'''Turn on only if lux is less than this value'''
 
#:Select a lux sensor and select a value (1-10000). The lights will only turn '''On''' if the lux value is below this level.
 
#:'''Select a fade time for the lights'''
 
#:Enter a fade time for your dimmers if supported by the device.
 
#:'''Modes to disable turning on'''
 
#:Select the mode which, when active will not allow the lights to turn on.
 
#When you are satisfied with your chosen options, select '''Done'''''.''
 
 
 
====Options for Additional Sensors, Lights-Off and Off options====
 
Now that you have your options for '''On''' selected, let's turn our attention to the '''Off''' options. If you want to add some additional options, choose '''Options for Additional Sensors, Lights-Off and Off options'''.
 
 
 
#Again, we are presented with a series of options for controlling when the motion-activated lights will turn '''Off'''.[[File:Motion Lighting Options for OFF v2.png|none|thumb|733x733px]]
 
#:: '''Use delay per mode'''
 
#:: By default, your lights will turn '''Off''' whenever motion stops being detected. To avoid this, you can set a delay after the last motion is detected, and before the lights turn '''Off'''. Toggle the '''Use delay per mode''' switch at the top. '''Off''' delay fields will appear for each mode you have selected. Enter the number of minutes you want to delay the lights turning '''Off'''''.''
 
#:'''Minutes to delay before off''' (Default is 1 minute)
 
#:Set the number of minutes following the last motion sensed, for which you would like to delay the '''Off''' state.
 
#:'''Additional Motion Sensors to keep on'''
 
#:Selecting motion sensors in this section 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 remain '''On''' as long as someone is in the shower).
 
#:'''Additional Switches to turn off when turned off'''
 
#:Select any switches that are not already included in your setup, and you would like these switches to automatically turn '''Off''' when motion becomes inactive. For example, these might be switches that you always manually turn '''On''', such as a bathroom exhaust fan, but you want it to always turn '''Off''' when motion stops.
 
#:'''Button to Push when turned off'''
 
#:Select any buttons you would like to be automatically pushed when motion becomes inactive.
 
#:'''Buttons to turn off lights'''
 
#:Select the buttons you wish to use to manually turn '''Off''' lights, rather than waiting for motion inactive and delay before '''Off'''.
 
#:'''Switches to turn off lights'''
 
#:Select any switches you wish to use to manually turn '''Off''' lights, rather than waiting for motion inactive and delay before '''Off'''.
 
#:'''Contact sensors to turn off lights''' when closed
 
#:Select any contact sensors you wish to turn '''Off''' lights, rather than waiting for motion inactive and delay before '''Off'''.
 
#:'''Don't turn off if already on'''
 
#:Enabling this option will force any light that was already '''On''' before motion began, to 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.
 
#:'''Contacts to disable off'''
 
#:Select a contact sensor that will override any '''Off''' automations and keep your motion lights on'','' even if motion stops.
 
#:'''Don't turn off between two times'''
 
#:Select a window of time when you would like your motion lighting child app to be inactive.
 
#:'''Turn off if lux is exceeds this value'''
 
#:Select a lux sensor and select a value (1-10000). The lights will turn '''Off''' if the lux value is above this level.
 
#:'''Activate a scene to activate when turned off'''
 
#:Select the scenes you would like to activate when when lights are turned '''Off''' by an inactive motion event.
 
#When you are satisfied with your chosen options, select '''Done'''.
 
#::'''Control with Alexa or Google Home using this name'''
 
#::You can also specify a name you wish to use for control of these lights using Amazon Alexa or Google Home. Select a name that is clear and easy for your voice assistant to understand.
 
#:'''NOTE''':  If you are using Motion Lighting to turn lights '''On''' and a switch to turn them '''On''', you will need to have the switch itself selected in '''Options for lights off'''. If you don't, and you turn your lights off outside of your ''Motion Lighting child app,'' then it won't know you did that. It will continue to register them as '''On''', and won't turn them on again from new motion before the timer to turn them '''Off''' runs out. This includes turning lights '''Off''' via Amazon Alexa or Google Home. You need to specify the same switch Alexa or Google Assistant is using to turn the light '''Off''' in the '''Options for lights off'''.
 
#When you are satisfied with your Motion Lighting app, select '''Done'''.
 
 
 
===Creating a 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.
 
 
 
#Open the Motion Lighting Apps in your Hubitat Web Interface
 
#Select '''Create New Motion Lighting App...'''[[File:Create new Mode Lighting app.png|none|thumb|600x600px]]
 
#Name your Mode Lighting app[[File:Mode Lighting - enter name.png|none|thumb|600x600px]]
 
#Select '''Lights to turn On''' to choose lights you want controlled by mode changes.[[File:Mode Lighting - Lights to turn On.png|none|thumb|600x600px]][[File:Mode Lighting - options for Lights to turn On.png|none|thumb|600x600px]][[File:Mode Lighting - Lights to turn ON - defined.png|none|thumb|900x900px]]
 
#:'''Set these dimmers per mode'''
 
#:Select the dimmers you want activated, and by which modes. You will also be asked to set the dimmer level.
 
#:'''Set color temperature per mode for these bulbs'''
 
#:Select the color temperature adjustable bulbs you want triggered, and then choose the modes you want to trigger them. Finally, set the color temperature you want these lights to display for each mode you selected.
 
#:'''Set color per mode for these bulbs'''
 
#:Select the RGB or RBGW color bulbs you want triggered, and then the modes you want to trigger them. Finally, set the bulb color and level you want these lights to display for each mode you selected.
 
#:'''Push button per mode'''
 
#:Here you can specify a button per mode you want pushed, when a mode change occurs. '''NOTE''': ''You can specify different buttons per mode, but only within a single button controller.''
 
#:'''Turn on a switches per mode'''
 
#:Select the switches you want to turn ''on'' and the modes you would like it triggered. This will turn ''on'' whatever light or appliance is activated by the switch.
 
#:
 
#:'''NOTE''':  If you are using Mode Lighting to turn lights ''on'' in modes where you don't want motion to turn ''on'' the lights, you will need to have the switch itself selected in '''Options for lights off''', explained below. If you don't, and you turn your lights off outside of your ''Mode Lighting child app,'' then it won't know you did that. It will continue to register them as ''on'', and will execute any adjustments per mode you specified, instead of turning them ''on'' to the adjustments per mode you are expecting to happen from an ''off'' state. This includes turning lights off via Amazon Alexa or Google Home. You need to specify the same switch Alexa or Google Assistant is using to turn the light ''off'' in the '''Options for lights off'''.
 
#When you are satisfied with your chosen options, select '''Done'''
 
 
 
====Options for lights on====
 
 
 
#If you want the option to turn these lights on outside of mode changes, select '''Options for lights on'''. Choose buttons and/or switches you want to use to turn on the lights manually.
 
#If your lights are already on at the time of a mode change, but you want their levels to adjust based on your ''Mode Lighting app'', enable the  '''Adjust levels when mode changes''' option''.''[[File:Mode Lighting Options for ON.png|none|thumb|600x600px]]
 
#When you are satisfied with your chosen options, select '''Done'''.
 
 
 
====Options for lights off====
 
 
 
#Choose from the following options for turning lights and switches ''off'', or activating buttons when your mode lighting app turns off the lights. You can also specify buttons and/or switches that can override you mode lighting child app, and immediately turn off lights.
 
#:'''Additional Switches to Turn Off'''
 
#:Here you can select switches that you’d like turned off when your mode lighting child app is triggered.
 
#:'''Buttons to Push when turned off'''
 
#:Select any buttons you would like activated when the mode lighting child app turns the lights off.
 
#:'''Buttons to turn off lights'''
 
#:Select the buttons you would like to use to immediately turn off your lights, overriding your mode lighting settings.
 
#:'''Switches to turn off lights'''
 
#:Select the switches you would like to use to immediately turn off your lights, overriding your mode lighting settings.
 
#When you are satisfied with your chosen options, select '''Done'''
 
#:
 
#:'''Control with Alexa or Google Home using this name'''
 
#:You can also specify a name you wish to use for control of these lights using Amazon Alexa or Google Home. Select a name that is clear and easy for your voice assistant to understand.
 
#:
 
#:'''NOTE''':  If you are using Mode Lighting to turn lights ''on'' in modes where you don't want motion to turn ''on'' the lights, you will need to have the switch itself selected in '''Options for lights off'''. If you don't, and you turn your lights off outside of your ''Mode Lighting child app,'' then it won't know you did that. It will continue to register them as ''on'', and will execute any adjustments per mode you specified, instead of turning them ''on'' to the adjustments per mode you are expecting to happen from an ''off'' state. This includes turning lights off via Amazon Alexa or Google Home. You need to specify the same switch Alexa or Google Assistant is using to turn the light ''off'' in the '''Options for lights off'''.
 
#When you are satisfied with your Mode Lighting app, select '''Done'''.
 

Latest revision as of 21:49, 24 December 2020