fade in insteon lights on a schedule?

Posted on
Mon Feb 26, 2018 10:59 am
pantalones offline
Posts: 86
Joined: Mar 29, 2012

fade in insteon lights on a schedule?

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?

Posted on
Mon Feb 26, 2018 11:50 am
Different Computers offline
User avatar
Posts: 1906
Joined: Jan 02, 2016
Location: East Coast

Re: fade in insteon lights on a schedule?

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.

SmartThings refugee, so happy to be on Indigo. 10.13.6 on an i5 MBP w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKit Bridge, MatplotLib, Plex, uniFAP, Wunderground, Nanoleaf, LED Simple Effects, Airfoil Pro, Grafana.

Posted on
Mon Feb 26, 2018 11:58 am
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: fade in insteon lights on a schedule?

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 568 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 568 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 568 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 568 times

My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here

Posted on
Mon Feb 26, 2018 11:01 pm
pantalones offline
Posts: 86
Joined: Mar 29, 2012

Re: fade in insteon lights on a schedule?

you folks are awesome. thanks so much for the native indigo solution. doing that now.

Posted on
Mon Feb 26, 2018 11:18 pm
pantalones offline
Posts: 86
Joined: Mar 29, 2012

Re: fade in insteon lights on a schedule?

So, indigo makes it even easier than we thought. No trigger needed. For the 2nd schedule, you just need the auto-disable toggle:

Image

Posted on
Tue Feb 27, 2018 10:38 am
pantalones offline
Posts: 86
Joined: Mar 29, 2012

Re: fade in insteon lights on a schedule?

Worked perfectly.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest