Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: Powerhome Triggers don’t Fire Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
pingmustard
Newbie
Newbie


Joined: September 13 2010
Online Status: Offline
Posts: 18
Posted: December 28 2012 at 23:04 | IP Logged Quote pingmustard

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 View pingmustard's Profile Search for other posts by pingmustard
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4263
Posted: January 04 2013 at 22:19 | IP Logged Quote dhoward

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 View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
pingmustard
Newbie
Newbie


Joined: September 13 2010
Online Status: Offline
Posts: 18
Posted: January 06 2013 at 02:16 | IP Logged Quote pingmustard

I don't recall disabling events.   I'll try grab a screenshot the next time this happens.

Thanks for the response!
Back to Top View pingmustard's Profile Search for other posts by pingmustard
 

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