Lights on Motion Plus

From Hubitat Apps
Jump to: navigation, search

Summary[edit | edit source]

Designed for use with bulbs/dimmers/switches in a room that you want to turn (or keep) on with motion, (optionally) dim before turning off, and whose on/off and brightness levels you want to remember the next time motion resumes so those settings can be restored (rather than necessarily turning on all lights you've selected).

Features[edit | edit source]

  • Allows you to choose one or more bulbs (generally a whole room)
  • Allows you to choose motion sensors to turn on lights and (optionally) other sensors to keep lights on (but not turn them on)
  • Turns off selected lights when specified motion sensor(s) inactive for specified time after (optionally) dimming them as a "warning"
  • Remembers the on/off states and level of each bulb and only turns on those that were previously on when motion resumes (if not prevented by restrictions configured in the app: mode, lux, time of day, etc.)

dimming the lights for 30 seconds (or whatever you choose) before turning them off, restoring them to their previous state if motion resumes during this time

  • Ability to restrict app based on time, lux, mode, or switch state and option to choose to always turn lights off even if outside these conditions
  • Ability to prevent lights from turning on if "soft" kill switch enabled
  • Ability to prevent lights from turning on or off if "hard" kill switch enabled

Where is the Code[edit | edit source]

App source code can be found on GitHub at: https://github.com/RMoRobert/Hubitat/tree/master/apps/LightsOnMotionPlus

(Parent-child app; add both parent and then child code, then install parent app and use to create child apps.)

Release Announcement on Hubitat Forum[edit | edit source]

All updates, feedback and discussions can be found here: https://community.hubitat.com/t/release-lights-on-motion-plus-dim-before-off-remember-individual-bulb-states-etc/7178

Screenshots[edit | edit source]

Coming soon?