Page 1 of 1

fade in insteon lights on a schedule?

PostPosted: Mon Feb 26, 2018 10:59 am
by pantalones
Hi, I'm looking to simulate the capability of Haiku fans, hue lights, etc and schedule a light to gradually ramp up from 0 to 100 brightness over 30 minutes each morning.

The device is an insteon dimmer, but I don't want the default setting to be a slow ramp, I only want it to ramp slowly for this "alarm"

I see there's a script to do this but I can't seem to get it working. Also seems like something v7 should be able to do natively. Any advice?

Re: fade in insteon lights on a schedule?

PostPosted: Mon Feb 26, 2018 11:50 am
by Different Computers
I do this device agnostically via a variable and a script that turns observed Luminance from a sensor into a value called Darkness.

Before I got luminance sensors, I had it running on a schedule triggered by sunrise/sunset, but you could schedule however you want.

The basics of it are:

Morning Schedule. Action: Raise Darkness variable by 1 every however often you like.

Trigger: change device brightness to value of Darkness when Darkness changes

However, it occurs to me I don't do this with the one Insteon light I have, so I'm not sure that Action (Increase by value) is available.

Re: fade in insteon lights on a schedule?

PostPosted: Mon Feb 26, 2018 11:58 am
by Colorado4Wheeler
A take on Different's solution, and what he was pondering, is you could have a schedule that runs every minute for 30 minutes and disables itself, another schedule could then enable the 30 minute schedule daily. Here is a purely Indigo native UI solution (this would also be quite easy doing it via Python):

Screen Shot 2018-02-26 at 10.54.26 AM.png
Schedule Timing
Screen Shot 2018-02-26 at 10.54.26 AM.png (115.94 KiB) Viewed 2921 times
Screen Shot 2018-02-26 at 10.54.50 AM.png
Schedule Action
Screen Shot 2018-02-26 at 10.54.50 AM.png (84.27 KiB) Viewed 2921 times
Screen Shot 2018-02-26 at 10.55.21 AM.png
Trigger Trigger
Screen Shot 2018-02-26 at 10.55.21 AM.png (62.58 KiB) Viewed 2921 times
Screen Shot 2018-02-26 at 10.55.51 AM.png
Trigger Action
Screen Shot 2018-02-26 at 10.55.51 AM.png (76.45 KiB) Viewed 2921 times

Re: fade in insteon lights on a schedule?

PostPosted: Mon Feb 26, 2018 11:01 pm
by pantalones
you folks are awesome. thanks so much for the native indigo solution. doing that now.

Re: fade in insteon lights on a schedule?

PostPosted: Mon Feb 26, 2018 11:18 pm
by pantalones
So, indigo makes it even easier than we thought. No trigger needed. For the 2nd schedule, you just need the auto-disable toggle:

Image

Re: fade in insteon lights on a schedule?

PostPosted: Tue Feb 27, 2018 10:38 am
by pantalones
Worked perfectly.