niklaswall / node-red-contrib-light-scheduler

Light Scheduler is a node-red node that provides a weekly schedule mainly focused on controlling light in home automation scenarios.
Apache License 2.0
41 stars 15 forks source link

Custom threshold for Dusk/Dawn #75

Open joedroberts opened 2 years ago

joedroberts commented 2 years ago

Please allow use of a custom value in the Dusk/Dawn Threshold field. In my use case, +10 degrees is not high enough in the sky. I would like to be able to enter a custom value in this field, outside the ranges I have to choose from. For example, set the Threshold to +15 degrees. Instead of a drop-down, just let users type in a value. Or expand the values in the drop down to a much wider range. Thanks!

bdruth commented 2 years ago

@joedroberts I took a shot at doing this ... seems to be working for now? Still need to test more - I've only updated the non-filter node at this point as that's the one I use. https://github.com/bdruth/node-red-contrib-light-scheduler

niklaswall commented 2 years ago

@joedroberts, that's no problem to solve. But being currious what's the use-case for that?

//Niklas

neandr commented 1 year ago

Use case? Sounds a bit what I posted with issue #90 asking for adding a random time to d/d. That would somehow simulate the ON/OFF of light to simulate absence from home. You said "enhancement" .. any idea to get it done?