Jump to content


Photo
- - - - -

Schedules


  • Please log in to reply
3 replies to this topic

#1 acalbear

acalbear

    Cocooner

  • Registered
  • PipPip
  • 36 posts

Posted 24 March 2008 - 01:01 AM

Im using schedules to program lighting scenes. Is there a simple way to add randomness to the on and off times other than by using the sunset/sunrise function.

Also, i originally tried to use scenes which were triggered by schedules but wasnt able to make it work. The scenes functioned fine when i played the scene directly. The schedule would trigger but for some reason it would not trigger the actual scene. Any ideas?

Thanks.

#2 123

123

    Cocoonut

  • Registered
  • PipPipPipPip
  • 2170 posts
  • Location:Montreal, QC
  • Experience:average
  • Software:Premise
  • Hardware:Elk M1

Posted 24 March 2008 - 11:15 AM

I don't believe you can add time randomness (i.e. light turns on a 8:30 PM today, 8:36 PM tomorrow, 8:22 PM the day after, etc) using a Schedule. All of this, and more, is possible using Scripts.

Schedule won't trigger a Scene? Make sure the Scene's Play property is enabled.
  • Click Schedule in the Shortcut Bar.
  • Click the desired Schedule.
  • Click the Scene Tab (Tabs: Day|Week|Scene)
  • Locate the desired Scene in the list and ensure its Play property is enabled.
A Schedule also has a Play property but it is used to manually trigger the Schedule.

Edited by 123, 24 March 2008 - 11:16 AM.


#3 acalbear

acalbear

    Cocooner

  • Registered
  • PipPip
  • 36 posts

Posted 24 March 2008 - 07:55 PM

I think I may go with the scripts via using objects. I am more of a visual learner and the stuff I was able to play with seemed easier than trying to code. I tried the play button via the scene property but it just activated the scene once i checked the box. I didnt realize that I actually had to have play enable. So you have to have ENABLED and PLAY checked within the scene to have it work?

So my next question is whats the best way to organize the scripts? With schedules at least you know where to find them. With scripts/timers/etc - they are all ove the place. Not sure what the instructions mean by placing them in the appropriate module. Any thoughts on this?



I don't believe you can add time randomness (i.e. light turns on a 8:30 PM today, 8:36 PM tomorrow, 8:22 PM the day after, etc) using a Schedule. All of this, and more, is possible using Scripts.

Schedule won't trigger a Scene? Make sure the Scene's Play property is enabled.

  • Click Schedule in the Shortcut Bar.
  • Click the desired Schedule.
  • Click the Scene Tab (Tabs: Day|Week|Scene)
  • Locate the desired Scene in the list and ensure its Play property is enabled.
A Schedule also has a Play property but it is used to manually trigger the Schedule.



#4 123

123

    Cocoonut

  • Registered
  • PipPipPipPip
  • 2170 posts
  • Location:Montreal, QC
  • Experience:average
  • Software:Premise
  • Hardware:Elk M1

Posted 25 March 2008 - 08:55 AM

Yes, the Enabled property in the Schedule's Task section should be set.
Don't confuse the Schedule's Play property with the Scene's Play property. You want to enable the Scene's Play property (see the attached image).

"Appropriate module" just means you should create a new one and give it a meaningful name.
  • Click Modules in the Shortcut Bar.
  • Right-click Modules in the Explorer window; select New > Module
  • Supply a suitable name.
Your script goes in the module's GlobalScripts folder.
BTW, if you don't want to write code (Scripts) you can use Logic Diagrams (in the module's Logic folder).

Maybe other Premise users can chime in and explain how they handle complex scheduling ... :D

Attached Files


Edited by 123, 25 March 2008 - 09:05 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users