Vacation lighting director feature request

Hi there,
I would like to submit a feature request for VLD for consideration.
The simple feature request is to add an option to turn off selected lights when VLD is set to finish. For my scenario this is when mode changes to home from away or vacation mode. I have come home several time to find lights on and can only assume they were left on by this process. I could add a rule when changing to home to turn off lights but this would cause WAP issue when house mode changes from night to home in the mornings and she is using bathroom lighting. I could also setup some Boolean logic but though much neater to keep in the app if possible.
Thanks :pray:

Vacation lighting director was originally written for SmartThings and was ported to Hubitat years ago.

So while anyone can make changes to the code (it’s open source after all), I’m not sure there’s anyone in particular to make feature requests to.

1 Like

Any devs willing to pick up this FR, it’s really a great core app all hubs should have imo…

Then don't write that rule. :slight_smile: Instead, write a rule that triggers in mode changing to "Home" with a required expression of "Mode is Vacation." That will capture only that specific state change, one of the use cases for this feature. This sounds like what you want, based on your description.

Not exactly sure what you were thinking, but no need for that given the above.

Can't help you with that, but if no one is maintaining the app (or someone is but is not amenable to this change) and you aren't able to do the changes yourself, it's probably the best option. Good luck!

3 Likes

Thanks for the encouragement ambassador Bert! I did look into a rule that triggers when changing to "Home" with a required expression of "Mode is Vacation" but i thought this may not work if the trigger is mode changing the requirement will be false as the mode will already be "Home" and the requirement is mode = Away or vacation

You don't want a "Mode *changed*" trigger but rather a trigger for mode becoming "Home" specifically, at least according to your original description -- just in case that's not what you meant.

The required expression as suggested, with this trigger, will capture this specific transition. The usefulness of this feature would be significantly reduced if the expression were evaluated after any trigger event changes were accounted for. See the documentation for more on this feature, which it sounds like does not work as you expect.

1 Like

I believe i have modified the VLD code and added in " Lights to turn off when cycle ends" under setup. I have also removed the 120 sec delay for starting and ending this feature as i already have a slight delay in changing of modes.


Code can be found here:

Code

1 Like