oatflake Posted December 14, 2011 Posted December 14, 2011 Hi everyone! Now that I have a nicely functioning setup, I started thinking of ways to get my ISY-99 to replace a very valuable device; my SunUp SunRizr. This device turns on my bedroom lights very slowly over a 40 minute period in the morning; I set it to do this from 6:00 am until 6:40 am, and by 6:40 am the lights are on full brightness. It does this over 1024 tiny little brightness steps, but I'm thinking perhaps I can get my ISY-99i to send increasing brightness signals to my lamp controller over 1% increments and it will be close enough. Has anyone done this efficiently? I started writing a program to do this, but unforunately it looks like the ISY-99i programming language will not let me set a variable as the brightness level; I may need to write 100 little programs that set the brightness at each level from 1 to 100, then write a wrapper program that calls each one and waits 21 seconds each between calls. Is there a better way?
LeeG Posted December 14, 2011 Posted December 14, 2011 How about something like this. I set the dimmer to a 30 second ramp rate for test purposes and set the Waits to the same increment. Each 30 seconds the light ramps up an additional 20% over the ramp time period. The maximum ramp time is now 8 minutes. Set the device ramp rate to 8 minutes, set the Wait time to 8 minutes and the light should ramp from Off presumably to full bright over a 40 minute period. If Time is 6:00:00AM Then Set 'ICON Dimmer 1' 20% Wait 30 seconds Set 'ICON Dimmer 1' 40% Wait 30 seconds Set 'ICON Dimmer 1' 60% Wait 30 seconds Set 'ICON Dimmer 1' 80% Wait 30 seconds Set 'ICON Dimmer 1' On Else - No Actions - (To add one, press 'Action')
oatflake Posted December 14, 2011 Author Posted December 14, 2011 That is a *much* better way, thanks LeeG! It works perfectly!
Recommended Posts