From: Brian P. <br...@th...> - 2011-07-23 03:09:50
|
What I would suggest is enabling the insteon debug flag and the x10 debug flag. What I see occasionally is that the message from the insteon device is incomplete and that is causing these issues in the x10 layer. Also, it would depend a bit on the X10 compatible device that you are using. When I send a status request to my LMP14 module, the status being sent back has a house code but no unit code (according to the Insteon PLM). My lightolier compose switches appear to be having similar issues, but they start the signal by passing back a unit code and a house code with no command followed by a house code with no unit code and then the status. I can combine the two messages to successfully infer the status. Here is the code that I added to bin/mh (at approximately line 4140) elsif ($event_data1 =~ /STATUS/) { &print_log("ed1:" . $event_data1 . " prev_units : " . join(",", keys %prev_x10_units)); # new code here if ( $event_data1 !~ /(\S\S)STATUS_(\S+)/ ) { my @keys = keys %prev_x10_units; my ( $data ) = $event_data1 =~ /(STATUS_\S+)/; $event_data1 = $keys[0] . $data; %prev_x10_units = (); } Brian On Jul 22, 2011, at 4:14 PM, Marc MERLIN wrote: > On Fri, Jul 22, 2011 at 08:14:29AM -0400, Brian Paulsen wrote: >> I looked further last night and I think I can now attribute this to the Insteon PLM module. If you aren't using Insteon, then that won't apply. > > I am as a matter of fact. > > Marc > >> I should have more details tonight. >> >> Sent from my iPad >> >> On Jul 20, 2011, at 11:11 AM, Marc MERLIN <ma...@me...> wrote: >> >>> On Wed, Jul 20, 2011 at 08:36:49AM -0400, Brian Paulsen wrote: >>>> I debugged this a while ago and determined that it was a bug in the X10 >>>> logic. It has been a few years since I looked at it, but my recollection >>>> is that the x10 info is handled in 2 MH loops and the command was lost >>>> from the first loop to the second loop. This causes the 'manual' state. >>> >>> Oh, I see, I hadn't seen that. Thanks for the additional details. >>> >>> Marc >>> -- >>> "A mouse is a device used to point at the xterm you want to type in" - A.S.R. >>> Microsoft is to operating systems .... >>> .... what McDonalds is to gourmet cooking >>> Home page: http://marc.merlins.org/ >>> >>> ------------------------------------------------------------------------------ >>> 10 Tips for Better Web Security >>> Learn 10 ways to better secure your business today. Topics covered include: >>> Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, >>> security Microsoft Exchange, secure Instant Messaging, and much more. >>> http://www.accelacomm.com/jaw/sfnl/114/51426210/ >>> ________________________________________________________ >>> To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 >> >> ------------------------------------------------------------------------------ >> 10 Tips for Better Web Security >> Learn 10 ways to better secure your business today. Topics covered include: >> Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, >> security Microsoft Exchange, secure Instant Messaging, and much more. >> http://www.accelacomm.com/jaw/sfnl/114/51426210/ >> ________________________________________________________ >> To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 >> > > -- > "A mouse is a device used to point at the xterm you want to type in" - A.S.R. > Microsoft is to operating systems .... > .... what McDonalds is to gourmet cooking > Home page: http://marc.merlins.org/ > > ------------------------------------------------------------------------------ > 10 Tips for Better Web Security > Learn 10 ways to better secure your business today. Topics covered include: > Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, > security Microsoft Exchange, secure Instant Messaging, and much more. > http://www.accelacomm.com/jaw/sfnl/114/51426210/ > ________________________________________________________ > To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |