From: Jim S. <js...@sy...> - 2006-12-30 03:21:47
|
David, Thanks - I'll look forward to it. I won't get a chance to be able to = test it for about 10 days - but it sounds like the probable cause. Jim -----Original Message----- From: mis...@li... [mailto:mis...@li...] On Behalf Of = David Norwood Sent: December 29, 2006 7:46 PM To: The main list for the MisterHouse home automation program Subject: Re: [mh] Problems with Dimming Lamps in 2.103 Jim, it appears that the assumption misterhouse makes about an "on" is = wrong for plain vanilla modules like your radio shacks. Currently, it assumes = an=20 "on" causes the light to come on full even if it's dimmed (which is what = switchlincs do). I think changing the default behavior to not adjust = the=20 dim level when an on is sent will fix your problem. I will make this = change and send to you for testing. These are the options that X10 Item supports: default is a plain vanilla module (no direct dim support) 'lm14' - for X10 LM14, uses extended data dim commands 'preset' - same as lm14 'preset2' - same as lm14 and preset, except send on after direct=20 dims, required by some Leviton switches 'preset3' - same as lm14 and preset, except uses older preset dim = commands, for Switchlinc and PCS 'resume=3D##' - module resumes from off at ## percent, 0 means = resume at=20 previous level 'transmitter' - special case, see X10_Transmitter David ----- Original Message -----=20 From: "Jim Serack" <js...@sy...> To: "'The main list for the MisterHouse home automation program'"=20 <mis...@li...> Sent: Friday, December 29, 2006 7:17 AM Subject: Re: [mh] Problems with Dimming Lamps in 2.103 > Hi David (Norwood), > > I can easily repeat the dimming problem - it would be good if you=20 > could > try > it on some handy lamp module - I see it on different modules = (radioshack, > ibm) and in different locations (e.g. not a problem with modules or = X10 > signals getting through) they are defined as X10I in the .mht file. = The > problem seems to be going back to full on from a dimmed state - going = to=20 > off > seems to get everything aligned again. > > Here is the sequence > > Command Observed Light State MrHouse Log State > set $office_lamp "off"; off off > set $office_lamp "50%"; half brightness dim (log says timestamp -50) > set $office_lamp "on"; half brightness on (log says > timestamp on) <---- error here > set $office_lamp "50%"; off dim (log > says timestamp -50) > > When I did a X10 debug (the module is B4) I did see the messages CM11=20 > send data=3DB4 followed by CM11 send data=3DBJ with normal returns = (which=20 > is the message for on)- so I haven't gone further but I think there is = > some part of the protocol for turning a dimmed lamp module to full on=20 > from a dimmed state > that is wrong in 2.103 - I haven't gone back to 2.100 where I know it=20 > worked > and run with debug to see what X10 messages are sent. > > If you get a chance please let me know if you can duplicate the=20 > problem. > Or > even better have an idea of what isn't working now. From a logic=20 > perspective > one would thing the message "BJ" would mean on even if the module is=20 > dimmed > ... > > Jim > -----Original Message----- > From: mis...@li... > [mailto:mis...@li...] On Behalf Of > David > Norwood > Sent: December 19, 2006 3:03 PM > To: The main list for the MisterHouse home automation program > Subject: Re: [mh] Problems with Dimming Lamps in 2.103 > > > This is probably my fault. I made a bunch of changes to dimming, and=20 > it's tough to cover all the bases. First, which x10 interface and=20 > lamp module are you using and how is it defined in your mht or code=20 > file? Also, is this > > easily reproduceable? > > David > > ----- Original Message ----- > From: "Jim Serack" <js...@sy...> > To: "'The main list for the MisterHouse home automation program'" > <mis...@li...> > Sent: Tuesday, December 19, 2006 8:39 AM > Subject: [mh] Problems with Dimming Lamps in 2.103 > > >> Hello, >> >> I'm having some problems with light dimming in 2.103 - it seems=20 >> MrHouse looses track of how dim a module is and modules that have=20 >> been dimmed to first 50% and then to 20% - actually get turned off.=20 >> Then when it's time to get brightened to 50% don't get turned on (the = >> old full on and dim to 50% treatment doesn't happen)because I think=20 >> MrHouse thinks they are still on at 20%. Now my code hasn't changed - = >> it could be that I have a latent bug that >> is getting exposed by some "new functionality" or maybe the new >> functionality has a bug that is getting exercised by my code. >> >> Is anybody else experiencing unexpected behavior with lamp module=20 >> dimming in >> 2.103? >> >> Jim >> >> >> --------------------------------------------------------------------- >> - >> --- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to >> share >> your >> opinions on IT & business topics through brief surveys - and earn = cash >> = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV >> ________________________________________________________ >> To unsubscribe from this list, go to: >> http://sourceforge.net/mail/?group_id=3D1365 >> > > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to = share=20 > your > opinions on IT & business topics through brief surveys - and earn cash > = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > ________________________________________________________ > To unsubscribe from this list, go to: > http://sourceforge.net/mail/?group_id=3D1365 > > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to = share=20 > your > opinions on IT & business topics through brief surveys - and earn cash > = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > ________________________________________________________ > To unsubscribe from this list, go to:=20 > http://sourceforge.net/mail/?group_id=3D1365 >=20 -------------------------------------------------------------------------= Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share = your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=3D1365 |