| Author |  | 
      
        | ibscas Groupie
 
  
 
 Joined: October 18 2008
 Location: United States
 Online Status: Offline
 Posts: 46
 | 
          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".
           | Posted: November 09 2008 at 22:20 | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  | 
        | grif091 Super User
 
  
 
 Joined: March 26 2008
 Location: United States
 Online Status: Offline
 Posts: 1357
 | 
          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.
           | Posted: November 10 2008 at 07:51 | IP Logged |   |  
           | 
 |  
 __________________
 Lee G
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | BeachBum Super User
 
  
  
 Joined: April 11 2007
 Location: United States
 Online Status: Offline
 Posts: 1880
 | 
          Is the PLC or PLM linked as a Controller?
           | Posted: November 10 2008 at 08:06 | IP Logged |   |  
           | 
 |  
 __________________
 Pete - X10 Oldie
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | ibscas Groupie
 
  
 
 Joined: October 18 2008
 Location: United States
 Online Status: Offline
 Posts: 46
 | 
          
           | Posted: November 10 2008 at 09:44 | IP Logged |   |  
           | 
 |  
| 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 |     | 
       
       
        |  | 
        | BeachBum Super User
 
  
  
 Joined: April 11 2007
 Location: United States
 Online Status: Offline
 Posts: 1880
 | 
          If you go to Insteon Explorer under tab Links and select Wall Sw is the PLC listed in the Controllers window?
           | Posted: November 10 2008 at 09:51 | IP Logged |   |  
           | 
 |  
 __________________
 Pete - X10 Oldie
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | ibscas Groupie
 
  
 
 Joined: October 18 2008
 Location: United States
 Online Status: Offline
 Posts: 46
 | 
          
           | Posted: November 10 2008 at 10:10 | IP Logged |   |  
           | 
 |  
| 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 |     | 
       
       
        |  | 
        | BeachBum Super User
 
  
  
 Joined: April 11 2007
 Location: United States
 Online Status: Offline
 Posts: 1880
 | 
          Your settings:
           | Posted: November 10 2008 at 10:31 | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  | 
        | ibscas Groupie
 
  
 
 Joined: October 18 2008
 Location: United States
 Online Status: Offline
 Posts: 46
 | 
          Those settings are the same as mine:
           | Posted: November 10 2008 at 11:21 | IP Logged |   |  
           | 
 |  
 
   
 
   
 
   
 
  
 Edited by ibscas - November 10 2008 at 11:21
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | BeachBum Super User
 
  
  
 Joined: April 11 2007
 Location: United States
 Online Status: Offline
 Posts: 1880
 | 
          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?.
           | Posted: November 10 2008 at 11:37 | IP Logged |   |  
           | 
 |  
 __________________
 Pete - X10 Oldie
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | grif091 Super User
 
  
 
 Joined: March 26 2008
 Location: United States
 Online Status: Offline
 Posts: 1357
 | 
          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.
           | Posted: November 10 2008 at 12:56 | IP Logged |   |  
           | 
 |  
 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 |     | 
       
       
        |  |