New Light profiles

Related to the development libraries, released by Curt Binder

Posts: 263
Joined: Wed Jan 01, 2014 7:26 am
PostPosted: Tue Aug 12, 2014 1:25 pm
In the development version of the code there's a new light profile called "PWMSmoothRamp" that I added that is basically the same as PWMSlope but with round corners. It increases and decreases like a Sine function with a flat part in the middle. Looks like this:

Image

I like it, but it has pretty short tails and round part at the top and increases more quickly than I had in mind. I'm considering proposing one like this:

Image

which would be more like PWMParabola with tails. What does anyone think of how that looks? When specifying "Duration" for that one it would mean the Half-Width-Half-Max, so with a 12 hour photo period, a "Duration" of 3 hours would give you a day that looks like the picture above. A duration of 1.5 hours would increase more quickly and have a large flat part on the top.
User avatar
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL
PostPosted: Wed Aug 13, 2014 12:59 pm
That looks interesting.
As always, the more options the better.

Posts: 263
Joined: Wed Jan 01, 2014 7:26 am
PostPosted: Sun Aug 24, 2014 5:21 pm
So I got it in to my fork of the dev branch on github in Globals, and I will probably see if Roberto is interested in a pull of the code to give this one as an option for lights since it's pretty different from the others.

https://github.com/amunter/Libraries/tr ... ghtprofile

Take a look at

status/chart.aspx?id=AlanM&filter=scpwme9

I have it on channel 9 of my sixteen channel dimmer just to show it on the portal charts. I did a quicker dim down yesterday night, but a full up/down today with a single peak instead of a plateau. The chart for today, Aug 24, shows a 12 hour photo cycle with lights increasing for 6 and decreasing for 6 with a sigmoid shape which allows for long tails and a rounded top. the sigmoid shape can be made faster if desired and would just result in a plateau on the top in the middle of the photo cycle. The duration argument is half of the width of the slope.

Return to Development Libraries

Who is online

Users browsing this forum: No registered users and 1 guest

cron