ECS Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
Re: [ecs] Help with Scripts
Mark Gilmore
Fri, 02 Jan 2004 14:58:54 -0800
Fri, 02 Jan 2004 14:58:54 -0800
i don't know off-hand how to reboot.

create a CHOICE Object (which I will name "X") whose choices are in 
TIME.CHC (Choices="FILE:time.chc").
script:
         if  update  is  Clock.Sunset
         then  X  set  Clock.Sunset
         then  X  subtract  30

then compare to X inst of Clock.Sunset

At 05:34 PM 1/2/2004 -0500, you wrote:

>I'm looking for help in creating the following 2 things I want done with a 
>script.
>1.  Reboot the computer at a certain time of the day.
>2. How to tell a light to turn on 30 minutes prior to sunset.
>
>Thanks for your help.
>
>
>---
>Incoming mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.556 / Virus Database: 348 - Release Date: 12/26/2003

Mark Gilmore
http://OmnipotenceSoftware.com 


i don't know off-hand how to reboot.

create a CHOICE Object (which I will name "X") whose choices are in TIME.CHC (Choices="FILE:time.chc").
script:
        if  update  is  Clock.Sunset
        then  X  set  Clock.Sunset
        then  X  subtract  30

then compare to X inst of Clock.Sunset

At 05:34 PM 1/2/2004 -0500, you wrote:

I'm looking for help in creating the following 2 things I want done with a script.
1.  Reboot the computer at a certain time of the day.
2. How to tell a light to turn on 30 minutes prior to sunset.
 
Thanks for your help.
 

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.556 / Virus Database: 348 - Release Date: 12/26/2003

Mark Gilmore
http://OmnipotenceSoftware.com



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.556 / Virus Database: 348 - Release Date: 12/26/2003


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.