From: Thomas K. <tko...@ea...> - 2000-10-23 03:20:33
|
Bruce, Debug shows that it does the same for me. I forgot that I use a "firecracker" to control my lights. The change below does the trick. $test_lights = new X10_Item('K','CM17'); Thanks for helping my light bulb to turn on. Regards, Tom K. -----Original Message----- From: Bruce Winter [SMTP:br...@mi...] Sent: Sunday, October 22, 2000 3:45 PM To: mis...@li... Subject: RE: [misterhouse-users] All lights on/off? > I tried to get the X10 "all lights on/off" function to work (MH > 2.29). I copied the three lines of code out of the MH \doc\mh.txt > documentation shown at bottom below. > $v_test_lights = new Voice_Cmd("All lights [on,off]"); > $test_lights = new X10_Item("K"); > set $test_lights $state if $state = said $v_test_lights; I copied this code also ... "works fine for me". Attached is what I see with debug=X10 (I changed code from K to O): Bruce -------- CM11 send data=OO CM11 dim=0 header=00000110 hb=0100 cb=0001 bd=0x06,0x41 checksum=0x47 CM11 send: 0641 .. CM11 data=71 hex=47 CM11 ack ......... CM11 data=85 hex=55 CM11 done db l=70 X10: mh set House code O set to O Setting X10 House code O item X10_Item=HASH(0x30fcb7ec) to on Setting X10 House code O item X10_Item=HASH(0x30fc51ac) to on CM11 send data=OP CM11 dim=0 header=00000110 hb=0100 cb=0000 bd=0x06,0x40 checksum=0x46 CM11 send: 0640 .. CM11 data=70 hex=46 CM11 ack ......... CM11 data=85 hex=55 CM11 done db l=92 X10: mh set House code O set to P ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |