From: Timothy S. <spa...@ic...> - 2008-06-24 17:10:59
|
The semicolon was truly missing from my user code. I added it at the end of the line and removed the #noloop=xxx stuff; I still get no light action. I am now also confused as to when I would use the #noloop=xxx stuff in user code files. -----Original Message----- From: mis...@li... [mailto:mis...@li...] On Behalf Of Gregg Liming Sent: Tuesday, June 24, 2008 12:58 PM To: The main list for the MisterHouse home automation program Subject: Re: [mh] Light_Item/Motion_Item was dimmable CFLs with Insteon or UPB switches Timothy Spaulding wrote: > I have some time on my hands and thus I wanted to started with trying to understand/use the Light_Item/Motion_Item in a small way. > > So, trouble is a brewing... > I have the following defined in my .mht file: > X10MS, B1, X10_Ground_Bath_Motion, hidden, MS13 > X10SL, B9, X10_Ground_Bath_Lights, All_Lights, ,preset > > LIGHT, X10_Ground_Bath_Lights, Ground_Bath_Lights > MOTION, X10_Ground_Bath_Motion, Ground_Bath_Motion > > And the following in a code file: > #noloop=start > $Ground_Bath_Lights->add($Ground_Bath_Motion) > #noloop=stop You don't need the #noloop=xxx when using the add method. But, can you confirm that this is a copy and paste vice just retype? You're missing a semicolon at the end of the add method and this usercode should be ignored as shown above. Gregg ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |