Author |
|
pingmustard Newbie
Joined: September 13 2010
Online Status: Offline Posts: 18
|
Posted: December 28 2012 at 23:04 | IP Logged
|
|
|
So I've managed to create a simple trigger that will detect motion from an X10 to control a front porch light (motion detected => turn on lights, after 5 minutes, turn off light). It seemed to work fine for a couple weeks until I had to change out the insteon switch linc last weekend (changed 2477D -> 2474DWH) . I noticed today that the triggers did not fire; a lot of odd looking "temp" triggers were shown in the PH explorer.
I recall this issue of temp triggers not firing happening when I did the first setup/configuration months ago, but the issue seemed to have gone away.
Here's the sample code I setup on the X10 motion sensor:
ph_insteon("PORCH_LIGHTS", ifaston, 0) +
ph_createtimedevent (2, 'ph_insteon("PORCH_LIGHTS", ifastoff, 0)', ph_relativedatetime(today(), 5.5) )
Any thoughts?
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: January 04 2013 at 22:19 | IP Logged
|
|
|
Ping,
You say triggers but Im thinking based upon your code you
mean Timed Events.
It sounds as if you've got a trigger on incoming X10 for
the motion sensor and the action is your formula above.
If the timed event is actually created, then I would
verify the date/time the timed event was created (and
that you've got Timed events turned on). Even if there
is an error in the formula, the timed event should fire
and then go away. If all that seems to be happening but
the light is not turning off, right click the action
formula for the created timed event and open the Formula
editor and then verify it. See if you get an error
message.
Let me know,
Dave.
|
Back to Top |
|
|
pingmustard Newbie
Joined: September 13 2010
Online Status: Offline Posts: 18
|
Posted: January 06 2013 at 02:16 | IP Logged
|
|
|
I don't recall disabling events. I'll try grab a screenshot the next time this happens.
Thanks for the response!
|
Back to Top |
|
|
|
|