Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: Formula to Trigger Insteon On? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
ibscas
Groupie
Groupie


Joined: October 18 2008
Location: United States
Online Status: Offline
Posts: 46
Posted: November 09 2008 at 22:20 | IP Logged Quote ibscas

I'm having some trouble figuring out the proper commands and syntax of things to get this to happen: I have two lights in my office, only one of which is controlled by the wall switch, so I want to have a trigger that says "if the switch is turned on after 4pm, turn on the second light".

In trying to do all of this, I have tried several things but just can't seem to get it working. Here is the Trigger I set up:

Action Type: Raw Formula
Action: if (hour(now())>16,ph_macro('ofc on all'),0)
Type: Insteon Direct in (ACK) - also tried without ACK
Trigger ID: Wall Sw
ID Number: From Any (tried several others as well)
Trigger Value: Fast On (tried also just ON)

The formula seems to work fine when I test it, but I can't get it to trigger from the light switch.

Any recommendations?
Back to Top View ibscas's Profile Search for other posts by ibscas
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: November 10 2008 at 07:51 | IP Logged Quote grif091

I would try a Trigger Type of Insteon Group In with Trigger ID Number as 1 with a   Trigger Value   On. I'm assuming Wall Sw is linked to one of the office lights. In that case Wall Sw is issuing a Group command. A Trigger Value of Fast On would come from a double tap of the Wall Sw. Certainly possible but not what I would think would be the normal way of turning on the light. You can set up another trigger to recognize a Fast On and do a Fast On to the second light if desired.       

__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: November 10 2008 at 08:06 | IP Logged Quote BeachBum

Is the PLC or PLM linked as a Controller?

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
ibscas
Groupie
Groupie


Joined: October 18 2008
Location: United States
Online Status: Offline
Posts: 46
Posted: November 10 2008 at 09:44 | IP Logged Quote ibscas

grif091 wrote:
I would try a Trigger Type of Insteon Group In with Trigger ID Number as 1 with a   Trigger Value   On.


That didn't do the trick, thank you for the advice though. What exactly does 'trigger ID' do anyway? I've always wondered what should be set there.

BeachBum wrote:
Is the PLC or PLM linked as a Controller?


It is a PLC.
Back to Top View ibscas's Profile Search for other posts by ibscas
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: November 10 2008 at 09:51 | IP Logged Quote BeachBum

If you go to Insteon Explorer under tab Links and select Wall Sw is the PLC listed in the Controllers window?

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
ibscas
Groupie
Groupie


Joined: October 18 2008
Location: United States
Online Status: Offline
Posts: 46
Posted: November 10 2008 at 10:10 | IP Logged Quote ibscas

BeachBum wrote:
If you go to Insteon Explorer under tab Links and select Wall Sw is the PLC listed in the Controllers window?


It wasn't, but I added it as the controller. Still didn't fire the trigger.
Back to Top View ibscas's Profile Search for other posts by ibscas
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: November 10 2008 at 10:31 | IP Logged Quote BeachBum

Your settings:

Action Type: Raw Formula
Action: if (hour(now())>16,ph_macro('ofc on all'),0)
Type: Insteon Direct in (ACK) - also tried without ACK
Trigger ID: Wall Sw
ID Number: From Any (tried several others as well)
Trigger Value: Fast On (tried also just ON)

Mine that worked:

Action Type: Raw Formula
Action: if (hour(now())>08,ph_macro(“test”),0)
Type: Insteon Group In
Trigger ID: Hallway
ID Number: Any
Trigger Value: On (ox11)
Boolean: 1


__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
ibscas
Groupie
Groupie


Joined: October 18 2008
Location: United States
Online Status: Offline
Posts: 46
Posted: November 10 2008 at 11:21 | IP Logged Quote ibscas

Those settings are the same as mine:









Edited by ibscas - November 10 2008 at 11:21
Back to Top View ibscas's Profile Search for other posts by ibscas
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: November 10 2008 at 11:37 | IP Logged Quote BeachBum

I’m not familiar with the SwitchLinc Relay. I would imagine it wouldn’t make any difference in the protocol. But can you turn on Raw Log and post it?.

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: November 10 2008 at 12:56 | IP Logged Quote grif091

You can also invoke Control/PowerHome Status. This displays the Event Log which should show an inbound Insteon Group message, a Trigger activation if it occurs and a Macro invocation if that occurs, plus whatever outbound Insteon commands that are issued. Will show you the sequence of events that occur when you turn on the wall switch. The event log is dynamically updated under PowerHome Status so you can invoke that first and then turn the wall switch on. Post back the raw Insteon trace and the PowerHome Status Event Log. Between the two should be able to tell how far the sequence got.

Pete, I'm heading back outside to attack the brown snowflakes. The SwitchLinc relay should not make any difference inbound. Actually outbound you can even request a bright level which is ignored.      

__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 

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