| Author | 
         | 
          
      
        
         
         jeffw_00 Super User 
          
 
  Joined: June 30 2007
 Online Status: Offline Posts: 935
          | 
        
         
          
           | Posted: March 09 2011 at 21:18 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Hi - so at the heart of my PH system is the function call ph_insteonwithret.  This tries 3 times to set a module and returns a success code. 
 
 Recently, I apparently have gotten some gremlins in my house wiring, and INSTEON performance has diminished.  I haven't tracked down the demon yet, but the effect is that some commands don't get through, or take more time to get through.  
 
 Anyway, I notice that in this environment, sometimes what happens is that this command does its three tries, returns a failure code, and THEN the module returns its ACK.  So a false error is reported.  The workaround is to wait a few seconds after this command is executed, and then poll the state of the device.  
 
 Still, I thought i would mention this so Dave knew, and see if anyone had any thoughts on it.
 
 Also - if anyone has any thoughts on how to find what's apparently an intermittent INSTEON aggressor (no, we haven't changed anything recently), let me know.  I know all about the unplug everything until you find it ritual, but the problem is that it's never around when I try to look (i.e., everything works perfectly).
 
 thanks!
 /j
 
 (I've looked at the communication report, but there's no locality to the issue). 
  Edited by jeffw_00 - March 09 2011 at 21:19
         | 
        
       
        | Back to Top | 
         
          
         | 
        
       
       
        |   | 
       
        
         
         BeachBum Super User 
          
  
  Joined: April 11 2007 Location: United States
 Online Status: Offline Posts: 1880
          | 
        
         
          
           | Posted: March 09 2011 at 22:08 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
 
jeffw_00 wrote: 
   
    
    
      
       
 Anyway, I notice that in this environment, sometimes what happens is that this command does its three tries, returns a failure code, and THEN the module returns its ACK.  So a false error is reported. | 
       
       | 
    
    | 
 
  
 
 I also see this all the time and as of yet have not figured it out.
  __________________ Pete - X10 Oldie
         | 
        
       
        | Back to Top | 
         
          
         | 
        
       
       
        |   |       
      | 
    
   
  |