Author |
|
groston Newbie
Joined: November 05 2007 Location: United States
Online Status: Offline Posts: 16
|
Posted: November 12 2007 at 19:25 | IP Logged
|
|
|
I just got my Insteon system working today - thanks for help provided previously.
I am trying to start with something simple: turn a light on at sunset and turn it off at midnight.
I have the timed event setup to execute a macro at sunset. Within this macro, I have figured out how to turn the light on. But, what do I do to turn it off at midnight? Since I am a newbie, I am trying to use the macro detail interface, however, I am willing to try something else.
Also, is there a good description, including examples, of some basic macros?
Thanks.
__________________ Gerald P. Roston
gerry (at) pairofdocs (dot) net
|
Back to Top |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: November 12 2007 at 19:36 | IP Logged
|
|
|
Easiest way I know of is to create a timed event and specify sunset for turning on and absolute time for turning off. You would point to a macro that performs the On and Off functions. Also in the Powerhome directory there is a Quickstart Guide that is helpful.
__________________ Pete - X10 Oldie
|
Back to Top |
|
|
groston Newbie
Joined: November 05 2007 Location: United States
Online Status: Offline Posts: 16
|
Posted: November 12 2007 at 19:42 | IP Logged
|
|
|
Beach Bum,
I kinda, sorta had figured things out to the level of description you kindly provided. I was looking for a little more detail with respect to actual implementation.
__________________ Gerald P. Roston
gerry (at) pairofdocs (dot) net
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: November 12 2007 at 19:54 | IP Logged
|
|
|
You could also create two Timed Events of type Device Control instead of a macro and do it directly...
2007-11-13 16:21:58 - Sunset - Daily - Absolute -15 - 2007-11-13 16:36:58 - Device Control - INSTEON+PORCH LIGHT+ON
2007-11-14 00:00:00 - Exact - Daily - None 0 - 2007-11-14 00:00:00 - Device Control - INSTEON+PORCH LIGHT+OFF
|
Back to Top |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: November 14 2007 at 10:39 | IP Logged
|
|
|
Here is an example of a one liner that you can play with. Create a Sunset timed event:
2007-11-13 16:21:58 - Sunset - Daily - Absolute - 0 - 2007-11-13 16:36:58 – Raw Formula - ph_devicebtn(5,"porch", ion, "255" ) + ph_createtimedevent(2, 'ph_devicebtn(5,"porch", ioff, "0" )', datetime(today(),time("23:59:00")))
Substitute your actual Insteon ID for “porch”. This should fire everyday at Sunset and turn the light on plus create a one shot Timed Event that will trigger at 11:59:00 PM and turn the light off.
__________________ Pete - X10 Oldie
|
Back to Top |
|
|