View unanswered posts | View active topics It is currently Sat May 25, 2013 5:58 am



Reply to topic  [ 4 posts ] 
 Quick Scheduling For Family Members 
Author Message
User avatar

Joined: Dec 24, 2008
Posts: 386
Location: Mission Viejo, CA
Post Quick Scheduling For Family Members
Is there a way to setup a control page, or custom web server page to quickly create a time/date action for a device, for example a non-technical family member wants the crock pot plugged into an OutletLinc to turn off in 8 hours from now.

Also would like a way for a non-technical family member to be able to easily edit the sprinkler durations from a control page or custom web server page.

_________________
Indigo 6.x w/ Dual-Band PLM 2413U
Mac OS X 10.6.x Snow Leopard
2006 Mac Mini Core Solo


Thu May 19, 2011 11:54 am
Profile
Site Admin
User avatar

Joined: Mar 19, 2008
Posts: 6665
Location: Austin, Texas
Post Re: Quick Scheduling For Family Members
For dynamically creating Time/Date actions, check out the Reminders script which I believe you're already seen - it programmatically creates a time/date action. Specifically look at the line that starts "make new time date action" and look at the "absolute trigger time" property - that's where it sets the time. That script also shows you how to add/change actions associated with a time date action.

For the other you need to describe more clearly what you want them to do: edit the next sprinkler schedule that will execute some time in the future? Change a currently executing schedule? Start an adhoc sprinkler run with custom durations?

_________________
Jay (Indigo Support)
Image


Fri May 20, 2011 10:08 am
Profile WWW
User avatar

Joined: Dec 24, 2008
Posts: 386
Location: Mission Viejo, CA
Post Re: Quick Scheduling For Family Members
Hi Jay,

Thanks for your response and assistance as usual.

I will analyze the reminders script and see how I can apply it to my first use case.

The second scenario for the sprinklers would be to disable the current schedule for an undetermined amount of time due to precipitation, to change the duration of each zone in the current schedule, and the days the current schedule runs on.

-Brandt

_________________
Indigo 6.x w/ Dual-Band PLM 2413U
Mac OS X 10.6.x Snow Leopard
2006 Mac Mini Core Solo


Fri May 20, 2011 10:20 am
Profile
Site Admin
User avatar

Joined: Mar 19, 2008
Posts: 6665
Location: Austin, Texas
Post Re: Quick Scheduling For Family Members
Each of those sprinkler requests has a different answer:

  1. To stop a current schedule, just put a button on the page that executes the stop schedule action.
  2. If a schedule is running it's going to be difficult to adjust the run times. The best approach is probably to have the schedule use the multiplier variable then just have them edit the variable.
  3. For the days the schedule runs there are a bunch of different approaches. For instance, you might create a schedule for every day, then have buttons for each day on a control page that enable/disable each one individually.

_________________
Jay (Indigo Support)
Image


Fri May 20, 2011 11:07 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.   Template designed by STSoftware.