Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: macros and system variables Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
MikeC
Newbie
Newbie
Avatar

Joined: December 30 2002
Location: United States
Online Status: Offline
Posts: 2
Posted: January 02 2003 at 22:45 | IP Logged Quote MikeC

I would like to be able to turn on a light at sunset.  I was thinking of using a timed event and make use of the [SUNSET] system variable.  Any ideas on how to do this?  I'm still trying to learn this stuff! 
Back to Top View MikeC's Profile Search for other posts by MikeC
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: January 03 2003 at 00:37 | IP Logged Quote TonyNo

Hmmm... That sounds familliar!  Check here...

One way to have something occur at dusk would be to make a Create Timed Event macro set to the ID of the macro that controls your device (i.e. PORCH LIGHT ON), with a formula of, "string(datetime(today(),relativetime(00:00:00,[dusk])))". Next, create a Timed Event that calls the previous macro once a day to calculate dusk for that day.

Tony

Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: January 05 2003 at 18:57 | IP Logged Quote dhoward

Mike,

Tony is on top of things for me .

In the above example just substitute the [SUNSET] system var for the [DUSK] system var.

If you have any other questions, just let me know.

Dave.

 

Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
MikeC
Newbie
Newbie
Avatar

Joined: December 30 2002
Location: United States
Online Status: Offline
Posts: 2
Posted: January 05 2003 at 20:44 | IP Logged Quote MikeC

Tony and Dave,

Thanks for the help!  I 've got my outside lights coming on at dawn and going out at dusk.  I'm having a lot of fun with this X10 stuff and Power Home especially.  It was a great Christmas present.

Mike

Back to Top View MikeC's Profile Search for other posts by MikeC
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum