| 
    
     | 
       
        | Author |  |  
        | theowl Groupie
 
  
  
 Joined: February 24 2006
 Location: United States
 Online Status: Offline
 Posts: 59
 | 
          Well, I have finally joined the Insteon generation! Something happened with my system that caused my bedroom lights to stop responding to PH, a typical issue in my house that I'm using Insteon to fix.
           | Posted: February 19 2007 at 22:49 | IP Logged |   |  
           | 
 |  
 Anyway, I have a nice group of remotes around the house that use MultiX to control everything from the lights to which music is played. With the addition of a SwitchLink in the bedroom, the multiX now needs to speak Insteon.
 
 My issue is the current code sees O1 ON, 04 ON and it translates 01 = HouseCode:C, 04=04...and sends C04 ON.
 
 Is there a way to have PH lookup what device I have C04 listed as (Bedrmlt), then execute the on/off against that device instead of sending a C04 ON ?
 
 If not, has anyone else done stuff with Multi-X and Insteon working together that I can get an idea from?
 
 Thanks
 
 Owl
 |  
        | Back to Top |     |  
        |  |  
        | theowl Groupie
 
  
  
 Joined: February 24 2006
 Location: United States
 Online Status: Offline
 Posts: 59
 | 
          Ok, found one part of the code
           | Posted: February 19 2007 at 23:09 | IP Logged |   |  
           | 
 |  
 ph_x10lookup ("C", 04)
 
 That gives me "Bedrmlt"
 
 Now if I use ph_devicebtn("INSTEON","Bedrmlt",ion) it should switch the lights on.
 
 However, the code still has to cover X10. So, is there a command to look up which type of device "Bedrmlt" is before running codes? If not, would the best course of action be to just send one INSTEON command and one X10 command to ensure the device will get the signal?
 
 Thanks
 |  
        | Back to Top |     |  
        |  |  |  |