From: Heath P. <he...@he...> - 2005-03-03 15:35:36
|
Thanks! What would be the correct way to tell these lights to both return to full brightness if they are dimmed and to turn on if they are off? -----Original Message----- From: mis...@li... [mailto:mis...@li...] On Behalf Of Larry Roudebush Sent: Thursday, March 03, 2005 2:55 AM To: mis...@li... Subject: Re: [misterhouse-users] Beginner needs help! $remote =3D new X10_Item 'M9'; $lr_table_lamp =3D new X10_Item 'A1'; $lr_floor_lamp =3D new X10_Item 'A2'; if ($state =3D state_now $remote and $state eq 'Off') { set $lr_table_lamp '50%'; set $lr_floor_lamp '50%'; } I hope that syntax works! By the way, I am not sure what you are using as you RF reciever, but, you may run into problems because you are using different house codes ('A';'M') Larry Heath Pitts wrote: >I finally got MisterHouse installed and working. I have 3 modules set up. 2 >lights modules and 1 appliance module. Both of the lights are in my livingroom >and are setup in the mh.mht file. > >the lights are lr_table_lamp and lr_floor_lamp > >I want to be able to send a command from an X10 palm pad remote (M9 off) and >cause these two to dim. I set these up in a group of their own named lrlights. > >What code do i need to write to make this happen? I have looked in multiple >sources for the answer and I cannot figure it out. Can someone please help me >out with writing this first part of code? > > >Thanks > > >Heath Pitts > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick >________________________________________________________ >To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=3D1365 > > > =20 > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=3D1365 |